1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
239 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
240 #define SWIGTYPE_p_wxDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _misc_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_misc_
305 #define SWIG_name "_misc_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
426 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
427 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
428 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
430 SWIGSTATICINLINE(int)
431 SWIG_CheckLong(PyObject
* obj
)
434 if (PyErr_Occurred()) {
443 SWIGSTATICINLINE(bool)
444 SWIG_AsBool(PyObject
*obj
)
446 return PyObject_IsTrue(obj
) ? true : false;
450 SWIGSTATICINLINE(int)
451 SWIG_CheckBool(PyObject
* obj
)
454 if (PyErr_Occurred()) {
463 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
469 } else if (target
== Py_None
) {
473 if (!PyTuple_Check(target
)) {
475 target
= PyTuple_New(1);
476 PyTuple_SetItem(target
, 0, o2
);
479 PyTuple_SetItem(o3
, 0, o
);
482 target
= PySequence_Concat(o2
, o3
);
490 SWIGSTATICINLINE(unsigned long)
491 SWIG_AsUnsignedLong(PyObject
* obj
)
493 if (PyLong_Check(obj
)) {
494 return PyLong_AsUnsignedLong(obj
);
496 long i
= SWIG_AsLong(obj
);
497 if ( !PyErr_Occurred() && (i
< 0)) {
498 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
505 SWIGSTATICINLINE(int)
506 SWIG_CheckUnsignedLong(PyObject
* obj
)
508 SWIG_AsUnsignedLong(obj
);
509 if (PyErr_Occurred()) {
518 SWIGSTATICINLINE(PyObject
* )
519 SWIG_FromUnsignedLong(unsigned long value
)
521 return (value
> LONG_MAX
) ?
522 PyLong_FromUnsignedLong(value
)
523 : PyInt_FromLong(swig_numeric_cast(long,value
));
527 bool wxThread_IsMain() {
528 #ifdef WXP_WITH_THREAD
529 return wxThread::IsMain();
536 int wxCaret_GetBlinkTime() {
537 return wxCaret::GetBlinkTime();
540 void wxCaret_SetBlinkTime(int milliseconds
) {
541 wxCaret::SetBlinkTime(milliseconds
);
545 #include <wx/snglinst.h>
549 #include <wx/msw/private.h>
550 #include <wx/dynload.h>
555 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
562 // This one only partially works. Appears to be an undocumented
563 // "standard" convention that not all widgets adhear to. For
564 // example, for some widgets backgrounds or non-client areas may
566 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
570 // This one works much better, except for on XP. On Win2k nearly
571 // all widgets and their children are captured correctly[**]. On
572 // XP with Themes activated most native widgets draw only
573 // partially, if at all. Without themes it works just like on
576 // ** For example the radio buttons in a wxRadioBox are not its
577 // children by default, but you can capture it via the panel
578 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
579 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
580 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
581 PRF_ERASEBKGND
| PRF_OWNED
);
585 // This one is only defined in the latest SDK and is only
586 // available on XP. MSDN says it is similar to sending WM_PRINT
587 // so I expect that it will work similar to the above. Since it
588 // is avaialble only on XP, it can't be compiled like this and
589 // will have to be loaded dynamically.
590 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
595 // Use PrintWindow if available, or fallback to WM_PRINT
596 // otherwise. Unfortunately using PrintWindow is even worse than
597 // WM_PRINT. For most native widgets nothing is drawn to the dc
598 // at all, with or without Themes.
599 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
600 static bool s_triedToLoad
= False
;
601 static PrintWindow_t pfnPrintWindow
= NULL
;
602 if ( !s_triedToLoad
)
605 s_triedToLoad
= True
;
606 wxDynamicLibrary
dllUser32(_T("user32.dll"));
607 if ( dllUser32
.IsLoaded() )
609 wxLogNull nolog
; // Don't report errors here
610 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
615 printf("Using PrintWindow\n");
616 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
620 printf("Using WM_PRINT\n");
621 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
622 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
630 #include <wx/tipdlg.h>
633 class wxPyTipProvider
: public wxTipProvider
{
635 wxPyTipProvider(size_t currentTip
)
636 : wxTipProvider(currentTip
) {}
638 DEC_PYCALLBACK_STRING__pure(GetTip
);
639 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
643 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
644 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
647 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
649 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
651 void wxPyTimer::Notify() {
653 bool blocked
= wxPyBeginBlockThreads();
654 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
655 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
656 wxPyEndBlockThreads(blocked
);
660 void wxPyTimer::base_Notify() {
666 SWIGSTATICINLINE(PyObject
*)
667 SWIG_FromCharPtr(const char* cptr
)
669 size_t size
= cptr
? strlen(cptr
) : 0;
671 if (size
> INT_MAX
) {
672 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
673 SWIG_TypeQuery("char *"), 0);
675 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
684 SWIGSTATICINLINE(unsigned long)
685 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
686 unsigned long max_value
)
688 if (!PyErr_Occurred()) {
689 if (value
> max_value
) {
691 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
692 value
, type
, max_value
);
693 PyErr_SetObject(PyExc_OverflowError
, err
);
701 #if UINT_MAX != ULONG_MAX
702 SWIGSTATICINLINE(unsigned int)
703 SWIG_AsUnsignedInt(PyObject
*obj
)
705 return swig_numeric_cast(unsigned int,
706 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
707 "unsigned int", UINT_MAX
));
710 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
714 SWIGSTATICINLINE(int)
715 SWIG_CheckUnsignedInt(PyObject
* obj
)
717 SWIG_AsUnsignedInt(obj
);
718 if (PyErr_Occurred()) {
726 wxString
Log_TimeStamp(){
728 wxLog::TimeStamp(&msg
);
731 void wxLog_Destroy(wxLog
*self
){ delete self
; }
733 // A wxLog class that can be derived from in wxPython
734 class wxPyLog
: public wxLog
{
736 wxPyLog() : wxLog() {}
738 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
740 bool blocked
= wxPyBeginBlockThreads();
741 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
742 PyObject
* s
= wx2PyString(szString
);
743 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
746 wxPyEndBlockThreads(blocked
);
748 wxLog::DoLog(level
, szString
, t
);
751 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
753 bool blocked
= wxPyBeginBlockThreads();
754 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
755 PyObject
* s
= wx2PyString(szString
);
756 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
759 wxPyEndBlockThreads(blocked
);
761 wxLog::DoLogString(szString
, t
);
770 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
773 #include <wx/joystick.h>
776 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
777 // A C++ stub class for wxJoystick for platforms that don't have it.
778 class wxJoystick
: public wxObject
{
780 wxJoystick(int joystick
= wxJOYSTICK1
) {
781 bool blocked
= wxPyBeginBlockThreads();
782 PyErr_SetString(PyExc_NotImplementedError
,
783 "wxJoystick is not available on this platform.");
784 wxPyEndBlockThreads(blocked
);
786 wxPoint
GetPosition() { return wxPoint(-1,-1); }
787 int GetZPosition() { return -1; }
788 int GetButtonState() { return -1; }
789 int GetPOVPosition() { return -1; }
790 int GetPOVCTSPosition() { return -1; }
791 int GetRudderPosition() { return -1; }
792 int GetUPosition() { return -1; }
793 int GetVPosition() { return -1; }
794 int GetMovementThreshold() { return -1; }
795 void SetMovementThreshold(int threshold
) {}
797 bool IsOk(void) { return False
; }
798 int GetNumberJoysticks() { return -1; }
799 int GetManufacturerId() { return -1; }
800 int GetProductId() { return -1; }
801 wxString
GetProductName() { return wxEmptyString
; }
802 int GetXMin() { return -1; }
803 int GetYMin() { return -1; }
804 int GetZMin() { return -1; }
805 int GetXMax() { return -1; }
806 int GetYMax() { return -1; }
807 int GetZMax() { return -1; }
808 int GetNumberButtons() { return -1; }
809 int GetNumberAxes() { return -1; }
810 int GetMaxButtons() { return -1; }
811 int GetMaxAxes() { return -1; }
812 int GetPollingMin() { return -1; }
813 int GetPollingMax() { return -1; }
814 int GetRudderMin() { return -1; }
815 int GetRudderMax() { return -1; }
816 int GetUMin() { return -1; }
817 int GetUMax() { return -1; }
818 int GetVMin() { return -1; }
819 int GetVMax() { return -1; }
821 bool HasRudder() { return False
; }
822 bool HasZ() { return False
; }
823 bool HasU() { return False
; }
824 bool HasV() { return False
; }
825 bool HasPOV() { return False
; }
826 bool HasPOV4Dir() { return False
; }
827 bool HasPOVCTS() { return False
; }
829 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
830 bool ReleaseCapture() { return False
; }
835 #include <wx/sound.h>
839 // A C++ stub class for wxWave for platforms that don't have it.
840 class wxSound
: public wxObject
844 bool blocked
= wxPyBeginBlockThreads();
845 PyErr_SetString(PyExc_NotImplementedError
,
846 "wxSound is not available on this platform.");
847 wxPyEndBlockThreads(blocked
);
849 wxSound(const wxString
&/*, bool*/) {
850 bool blocked
= wxPyBeginBlockThreads();
851 PyErr_SetString(PyExc_NotImplementedError
,
852 "wxSound is not available on this platform.");
853 wxPyEndBlockThreads(blocked
);
855 wxSound(int, const wxByte
*) {
856 bool blocked
= wxPyBeginBlockThreads();
857 PyErr_SetString(PyExc_NotImplementedError
,
858 "wxSound is not available on this platform.");
859 wxPyEndBlockThreads(blocked
);
864 bool Create(const wxString
&/*, bool*/) { return false; }
865 bool Create(int, const wxByte
*) { return false; };
866 bool IsOk() { return false; };
867 bool Play(unsigned) const { return false; }
868 static bool Play(const wxString
&, unsigned) { return false; }
869 static void Stop() {}
874 wxSound
*new_wxSound(wxString
const &fileName
){
875 if (fileName
.Length() == 0)
878 return new wxSound(fileName
);
880 wxSound
*new_wxSound(PyObject
*data
){
881 unsigned char* buffer
; int size
;
882 wxSound
*sound
= NULL
;
884 bool blocked
= wxPyBeginBlockThreads();
885 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
887 sound
= new wxSound(size
, buffer
);
889 wxPyEndBlockThreads(blocked
);
892 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
894 unsigned char* buffer
;
898 bool blocked
= wxPyBeginBlockThreads();
899 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
901 rv
= self
->Create(size
, buffer
);
903 wxPyEndBlockThreads(blocked
);
906 bool blocked
= wxPyBeginBlockThreads();
907 PyErr_SetString(PyExc_NotImplementedError
,
908 "Create from data is not available on this platform.");
909 wxPyEndBlockThreads(blocked
);
913 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
915 #include <wx/mimetype.h>
917 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
919 if (self
->GetMimeType(&str
))
920 return wx2PyString(str
);
924 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
926 if (self
->GetMimeTypes(arr
))
927 return wxArrayString2PyList_helper(arr
);
931 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
933 if (self
->GetExtensions(arr
))
934 return wxArrayString2PyList_helper(arr
);
938 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
940 if (self
->GetIcon(&loc
))
941 return new wxIcon(loc
);
945 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
947 if (self
->GetIcon(&loc
)) {
948 wxString iconFile
= loc
.GetFileName();
953 // Make a tuple and put the values in it
954 bool blocked
= wxPyBeginBlockThreads();
955 PyObject
* tuple
= PyTuple_New(3);
956 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
957 wxT("wxIcon"), True
));
958 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
959 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
960 wxPyEndBlockThreads(blocked
);
966 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
968 if (self
->GetDescription(&str
))
969 return wx2PyString(str
);
973 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
975 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
976 return wx2PyString(str
);
980 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
982 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
983 return wx2PyString(str
);
987 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
989 wxArrayString commands
;
990 if (self
->GetAllCommands(&verbs
, &commands
,
991 wxFileType::MessageParameters(filename
, mimetype
))) {
992 bool blocked
= wxPyBeginBlockThreads();
993 PyObject
* tuple
= PyTuple_New(2);
994 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
995 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
996 wxPyEndBlockThreads(blocked
);
1002 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1003 return wxFileType::ExpandCommand(command
,
1004 wxFileType::MessageParameters(filename
, mimetype
));
1006 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1008 self
->EnumAllFileTypes(arr
);
1009 return wxArrayString2PyList_helper(arr
);
1012 #include <wx/artprov.h>
1014 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1015 static const wxString
wxPyART_MENU(wxART_MENU
);
1016 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1017 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1018 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1019 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1020 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1021 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1022 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1023 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1024 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1025 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1026 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1027 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1028 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1029 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1030 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1031 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1032 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1033 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1034 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1035 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1036 static const wxString
wxPyART_HELP(wxART_HELP
);
1037 static const wxString
wxPyART_TIP(wxART_TIP
);
1038 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1039 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1040 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1041 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1042 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1043 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1044 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1045 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1046 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1047 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1048 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1049 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1050 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1051 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1052 // Python aware wxArtProvider
1053 class wxPyArtProvider
: public wxArtProvider
{
1056 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1057 const wxArtClient
& client
,
1058 const wxSize
& size
) {
1059 wxBitmap rval
= wxNullBitmap
;
1060 bool blocked
= wxPyBeginBlockThreads();
1061 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1062 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1066 s1
= wx2PyString(id
);
1067 s2
= wx2PyString(client
);
1068 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1073 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1078 wxPyEndBlockThreads(blocked
);
1085 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1089 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1090 PyObject
* ret
= PyTuple_New(3);
1092 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1093 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1094 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1099 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1104 cont
= self
->GetFirstGroup(value
, index
);
1105 return __EnumerationHelper(cont
, value
, index
);
1107 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1111 cont
= self
->GetNextGroup(value
, index
);
1112 return __EnumerationHelper(cont
, value
, index
);
1114 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1119 cont
= self
->GetFirstEntry(value
, index
);
1120 return __EnumerationHelper(cont
, value
, index
);
1122 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1126 cont
= self
->GetNextEntry(value
, index
);
1127 return __EnumerationHelper(cont
, value
, index
);
1129 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1131 self
->Read(key
, &rv
, defaultVal
);
1135 SWIGSTATICINLINE(double)
1136 SWIG_AsDouble(PyObject
*obj
)
1138 if (PyNumber_Check(obj
))
1139 return PyFloat_AsDouble(obj
);
1141 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1142 obj
->ob_type
->tp_name
);
1143 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1150 SWIGSTATICINLINE(int)
1151 SWIG_CheckDouble(PyObject
* obj
)
1154 if (PyErr_Occurred()) {
1162 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1164 self
->Read(key
, &rv
, defaultVal
);
1167 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1169 self
->Read(key
, &rv
, defaultVal
);
1173 #include <wx/datetime.h>
1176 static const wxString
wxPyDateFormatStr(wxT("%c"));
1177 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1179 #define LOCAL_TZ wxDateTime::Local
1182 #if UINT_MAX < LONG_MAX
1183 #define SWIG_FromUnsignedInt SWIG_FromLong
1185 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1188 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1189 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1190 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1192 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1193 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1194 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1195 return (*self
< *other
);
1197 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1198 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1199 return (*self
<= *other
);
1201 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1202 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1203 return (*self
> *other
);
1205 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1206 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1207 return (*self
>= *other
);
1209 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1210 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1211 return (*self
== *other
);
1213 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1214 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1215 return (*self
!= *other
);
1217 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1219 const wxChar
* _date
= date
;
1220 rv
= self
->ParseRfc822Date(_date
);
1221 if (rv
== NULL
) return -1;
1224 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1226 const wxChar
* _date
= date
;
1227 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1228 if (rv
== NULL
) return -1;
1231 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1233 const wxChar
* _datetime
= datetime
;
1234 rv
= self
->ParseDateTime(_datetime
);
1235 if (rv
== NULL
) return -1;
1236 return rv
- _datetime
;
1238 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1240 const wxChar
* _date
= date
;
1241 rv
= self
->ParseDate(_date
);
1242 if (rv
== NULL
) return -1;
1245 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1247 const wxChar
* _time
= time
;
1248 rv
= self
->ParseTime(_time
);
1249 if (rv
== NULL
) return -1;
1252 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1253 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1254 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1255 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1256 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1257 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1258 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1259 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1260 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1261 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1262 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1263 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1264 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1265 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1266 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1267 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1269 #include <wx/dataobj.h>
1271 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1272 size_t count
= self
->GetFormatCount(dir
);
1273 wxDataFormat
* formats
= new wxDataFormat
[count
];
1274 self
->GetAllFormats(formats
, dir
);
1276 bool blocked
= wxPyBeginBlockThreads();
1277 PyObject
* list
= PyList_New(count
);
1278 for (size_t i
=0; i
<count
; i
++) {
1279 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1280 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1281 PyList_Append(list
, obj
);
1284 wxPyEndBlockThreads(blocked
);
1288 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1289 PyObject
* rval
= NULL
;
1290 size_t size
= self
->GetDataSize(format
);
1291 bool blocked
= wxPyBeginBlockThreads();
1293 char* buf
= new char[size
];
1294 if (self
->GetDataHere(format
, buf
))
1295 rval
= PyString_FromStringAndSize(buf
, size
);
1302 wxPyEndBlockThreads(blocked
);
1305 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1307 bool blocked
= wxPyBeginBlockThreads();
1308 if (PyString_Check(data
)) {
1309 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1312 // raise a TypeError if not a string
1313 PyErr_SetString(PyExc_TypeError
, "String expected.");
1316 wxPyEndBlockThreads(blocked
);
1319 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1320 PyObject
* rval
= NULL
;
1321 size_t size
= self
->GetDataSize();
1322 bool blocked
= wxPyBeginBlockThreads();
1324 char* buf
= new char[size
];
1325 if (self
->GetDataHere(buf
))
1326 rval
= PyString_FromStringAndSize(buf
, size
);
1333 wxPyEndBlockThreads(blocked
);
1336 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1338 bool blocked
= wxPyBeginBlockThreads();
1339 if (PyString_Check(data
)) {
1340 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1343 // raise a TypeError if not a string
1344 PyErr_SetString(PyExc_TypeError
, "String expected.");
1347 wxPyEndBlockThreads(blocked
);
1350 // Create a new class for wxPython to use
1351 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1353 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1354 : wxDataObjectSimple(format
) {}
1356 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1357 bool GetDataHere(void *buf
) const;
1358 bool SetData(size_t len
, const void *buf
) const;
1362 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1364 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1365 // We need to get the data for this object and write it to buf. I think
1366 // the best way to do this for wxPython is to have the Python method
1367 // return either a string or None and then act appropriately with the
1371 bool blocked
= wxPyBeginBlockThreads();
1372 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1374 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1376 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1378 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1382 wxPyEndBlockThreads(blocked
);
1386 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1387 // For this one we simply need to make a string from buf and len
1388 // and send it to the Python method.
1390 bool blocked
= wxPyBeginBlockThreads();
1391 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1392 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1393 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1396 wxPyEndBlockThreads(blocked
);
1400 // Create a new class for wxPython to use
1401 class wxPyTextDataObject
: public wxTextDataObject
{
1403 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1404 : wxTextDataObject(text
) {}
1406 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1407 DEC_PYCALLBACK_STRING__const(GetText
);
1408 DEC_PYCALLBACK__STRING(SetText
);
1412 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1413 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1414 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1417 // Create a new class for wxPython to use
1418 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1420 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1421 : wxBitmapDataObject(bitmap
) {}
1423 wxBitmap
GetBitmap() const;
1424 void SetBitmap(const wxBitmap
& bitmap
);
1428 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1429 wxBitmap
* rval
= &wxNullBitmap
;
1430 bool blocked
= wxPyBeginBlockThreads();
1431 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1434 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1436 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1441 wxPyEndBlockThreads(blocked
);
1445 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1446 bool blocked
= wxPyBeginBlockThreads();
1447 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1448 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1449 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1452 wxPyEndBlockThreads(blocked
);
1455 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1457 bool blocked
= wxPyBeginBlockThreads();
1458 if (PyString_Check(data
)) {
1459 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1462 // raise a TypeError if not a string
1463 PyErr_SetString(PyExc_TypeError
, "String expected.");
1466 wxPyEndBlockThreads(blocked
);
1469 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1471 bool blocked
= wxPyBeginBlockThreads();
1472 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1473 wxPyEndBlockThreads(blocked
);
1476 #include <wx/metafile.h>
1479 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1482 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1485 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1486 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1489 class wxPyTextDropTarget
: public wxTextDropTarget
{
1491 wxPyTextDropTarget() {}
1493 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1495 DEC_PYCALLBACK__(OnLeave
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1499 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1504 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1505 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1509 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1513 class wxPyFileDropTarget
: public wxFileDropTarget
{
1515 wxPyFileDropTarget() {}
1517 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1519 DEC_PYCALLBACK__(OnLeave
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1523 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1528 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1529 const wxArrayString
& filenames
) {
1531 bool blocked
= wxPyBeginBlockThreads();
1532 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1533 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1534 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1537 wxPyEndBlockThreads(blocked
);
1543 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1547 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1552 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1554 #include "wx/display.h"
1556 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1557 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1558 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1559 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1560 PyObject
* pyList
= NULL
;
1561 wxArrayVideoModes arr
= self
->GetModes(mode
);
1562 bool blocked
= wxPyBeginBlockThreads();
1563 pyList
= PyList_New(0);
1564 for (int i
=0; i
< arr
.GetCount(); i
++) {
1565 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1566 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1567 PyList_Append(pyList
, pyObj
);
1570 wxPyEndBlockThreads(blocked
);
1576 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1580 PyObject
* obj0
= 0 ;
1582 (char *) "index", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1586 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1596 wxColour
* resultptr
;
1597 resultptr
= new wxColour((wxColour
&) result
);
1598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1606 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
*resultobj
;
1610 PyObject
* obj0
= 0 ;
1612 (char *) "index", NULL
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1616 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1627 resultptr
= new wxFont((wxFont
&) result
);
1628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1636 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "index", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1646 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 resultobj
= SWIG_FromInt((int)result
);
1662 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1666 PyObject
* obj0
= 0 ;
1668 (char *) "index", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1672 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1690 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 result
= (int)wxSystemSettings::GetScreenType();
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 resultobj
= SWIG_FromInt((int)result
);
1712 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1715 PyObject
* obj0
= 0 ;
1717 (char *) "screen", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1721 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1737 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1740 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1742 return Py_BuildValue((char *)"");
1744 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxSystemOptions
*result
;
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 result
= (wxSystemOptions
*)new wxSystemOptions();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1766 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxString
*arg1
= 0 ;
1769 wxString
*arg2
= 0 ;
1770 bool temp1
= False
;
1771 bool temp2
= False
;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1775 (char *) "name",(char *) "value", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1780 arg1
= wxString_in_helper(obj0
);
1781 if (arg1
== NULL
) SWIG_fail
;
1785 arg2
= wxString_in_helper(obj1
);
1786 if (arg2
== NULL
) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 Py_INCREF(Py_None
); resultobj
= Py_None
;
1819 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
*resultobj
;
1821 wxString
*arg1
= 0 ;
1823 bool temp1
= False
;
1824 PyObject
* obj0
= 0 ;
1825 PyObject
* obj1
= 0 ;
1827 (char *) "name",(char *) "value", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1832 arg1
= wxString_in_helper(obj0
);
1833 if (arg1
== NULL
) SWIG_fail
;
1836 arg2
= (int) SWIG_AsInt(obj1
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxString
*arg1
= 0 ;
1864 bool temp1
= False
;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "name", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1872 arg1
= wxString_in_helper(obj0
);
1873 if (arg1
== NULL
) SWIG_fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1904 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxString
*arg1
= 0 ;
1908 bool temp1
= False
;
1909 PyObject
* obj0
= 0 ;
1911 (char *) "name", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1916 arg1
= wxString_in_helper(obj0
);
1917 if (arg1
== NULL
) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromInt((int)result
);
1942 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1944 wxString
*arg1
= 0 ;
1946 bool temp1
= False
;
1947 PyObject
* obj0
= 0 ;
1949 (char *) "name", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1954 arg1
= wxString_in_helper(obj0
);
1955 if (arg1
== NULL
) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1982 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1985 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1987 return Py_BuildValue((char *)"");
1989 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1990 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1995 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2000 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2002 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2009 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2010 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2015 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2020 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2022 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2029 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2030 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2035 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2040 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2042 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2049 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 result
= (long)wxNewId();
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 resultobj
= SWIG_FromLong((long)result
);
2071 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2074 PyObject
* obj0
= 0 ;
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2080 arg1
= (long) SWIG_AsLong(obj0
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= (long)wxGetCurrentId();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= SWIG_FromLong((long)result
);
2118 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 bool arg1
= (bool) True
;
2164 PyObject
* obj0
= 0 ;
2166 (char *) "resetTimer", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2171 arg1
= (bool) SWIG_AsBool(obj0
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 result
= (long)wxGetElapsedTime(arg1
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 resultobj
= SWIG_FromLong((long)result
);
2188 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 int *arg1
= (int *) 0 ;
2191 int *arg2
= (int *) 0 ;
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 wxGetMousePosition(arg1
,arg2
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2211 resultobj
= t_output_helper(resultobj
,o
);
2214 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2215 resultobj
= t_output_helper(resultobj
,o
);
2223 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (bool)wxIsBusy();
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2247 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2275 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2278 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2280 bool temp1
= False
;
2281 PyObject
* obj0
= 0 ;
2283 (char *) "command", NULL
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2289 arg1
= wxString_in_helper(obj0
);
2290 if (arg1
== NULL
) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (bool)wxShell((wxString
const &)*arg1
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2318 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 int *arg1
= (int *) 0 ;
2342 int *arg2
= (int *) 0 ;
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= (int)wxGetOsVersion(arg1
,arg2
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 resultobj
= SWIG_FromInt((int)result
);
2362 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2363 resultobj
= t_output_helper(resultobj
,o
);
2366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2367 resultobj
= t_output_helper(resultobj
,o
);
2375 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 result
= wxGetOsDescription();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2403 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 result
= (long)wxGetFreeMemory();
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 resultobj
= SWIG_FromLong((long)result
);
2425 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "wFlags", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2435 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2453 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2456 PyObject
* obj0
= 0 ;
2458 (char *) "secs", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2462 arg1
= (int) SWIG_AsInt(obj0
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 unsigned long arg1
;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "milliseconds", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2487 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2496 Py_INCREF(Py_None
); resultobj
= Py_None
;
2503 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2506 PyObject
* obj0
= 0 ;
2508 (char *) "enable", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2512 arg1
= (bool) SWIG_AsBool(obj0
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 wxEnableTopLevelWindows(arg1
);
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2521 Py_INCREF(Py_None
); resultobj
= Py_None
;
2528 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxString
*arg1
= 0 ;
2532 bool temp1
= False
;
2533 PyObject
* obj0
= 0 ;
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2540 arg1
= wxString_in_helper(obj0
);
2541 if (arg1
== NULL
) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2572 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= wxGetEmailAddress();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2600 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
*resultobj
;
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2610 result
= wxGetHostName();
2612 wxPyEndAllowThreads(__tstate
);
2613 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2628 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 result
= wxGetFullHostName();
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2656 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
*resultobj
;
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 result
= wxGetUserId();
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2684 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
*resultobj
;
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= wxGetUserName();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2712 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= wxGetHomeDir();
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2740 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2743 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2745 bool temp1
= False
;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "user", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2754 arg1
= wxString_in_helper(obj0
);
2755 if (arg1
== NULL
) SWIG_fail
;
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 result
= wxGetUserHome((wxString
const &)*arg1
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2787 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 unsigned long result
;
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (unsigned long)wxGetProcessId();
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2809 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2823 Py_INCREF(Py_None
); resultobj
= Py_None
;
2830 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2833 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2834 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2835 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2836 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2837 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2838 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2839 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2840 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2841 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2842 int arg6
= (int) 0 ;
2843 wxWindow
*arg7
= (wxWindow
*) NULL
;
2844 int arg8
= (int) -1 ;
2845 int arg9
= (int) -1 ;
2847 bool temp1
= False
;
2848 bool temp2
= False
;
2849 bool temp3
= False
;
2850 bool temp4
= False
;
2851 bool temp5
= False
;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2854 PyObject
* obj2
= 0 ;
2855 PyObject
* obj3
= 0 ;
2856 PyObject
* obj4
= 0 ;
2857 PyObject
* obj5
= 0 ;
2858 PyObject
* obj6
= 0 ;
2859 PyObject
* obj7
= 0 ;
2860 PyObject
* obj8
= 0 ;
2862 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2868 arg1
= wxString_in_helper(obj0
);
2869 if (arg1
== NULL
) SWIG_fail
;
2875 arg2
= wxString_in_helper(obj1
);
2876 if (arg2
== NULL
) SWIG_fail
;
2882 arg3
= wxString_in_helper(obj2
);
2883 if (arg3
== NULL
) SWIG_fail
;
2889 arg4
= wxString_in_helper(obj3
);
2890 if (arg4
== NULL
) SWIG_fail
;
2896 arg5
= wxString_in_helper(obj4
);
2897 if (arg5
== NULL
) SWIG_fail
;
2902 arg6
= (int) SWIG_AsInt(obj5
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 arg8
= (int) SWIG_AsInt(obj7
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 arg9
= (int) SWIG_AsInt(obj8
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2977 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxString
*arg1
= 0 ;
2980 wxString
*arg2
= 0 ;
2981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2983 wxWindow
*arg4
= (wxWindow
*) NULL
;
2985 bool temp1
= False
;
2986 bool temp2
= False
;
2987 bool temp3
= False
;
2988 PyObject
* obj0
= 0 ;
2989 PyObject
* obj1
= 0 ;
2990 PyObject
* obj2
= 0 ;
2991 PyObject
* obj3
= 0 ;
2993 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2998 arg1
= wxString_in_helper(obj0
);
2999 if (arg1
== NULL
) SWIG_fail
;
3003 arg2
= wxString_in_helper(obj1
);
3004 if (arg2
== NULL
) SWIG_fail
;
3009 arg3
= wxString_in_helper(obj2
);
3010 if (arg3
== NULL
) SWIG_fail
;
3015 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3062 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxString
*arg1
= 0 ;
3065 wxString
*arg2
= 0 ;
3066 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3068 wxWindow
*arg4
= (wxWindow
*) NULL
;
3070 bool temp1
= False
;
3071 bool temp2
= False
;
3072 bool temp3
= False
;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3075 PyObject
* obj2
= 0 ;
3076 PyObject
* obj3
= 0 ;
3078 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3083 arg1
= wxString_in_helper(obj0
);
3084 if (arg1
== NULL
) SWIG_fail
;
3088 arg2
= wxString_in_helper(obj1
);
3089 if (arg2
== NULL
) SWIG_fail
;
3094 arg3
= wxString_in_helper(obj2
);
3095 if (arg3
== NULL
) SWIG_fail
;
3100 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3147 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3150 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3151 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3152 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3153 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3156 wxWindow
*arg5
= (wxWindow
*) NULL
;
3158 bool temp1
= False
;
3159 bool temp2
= False
;
3161 PyObject
* obj0
= 0 ;
3162 PyObject
* obj1
= 0 ;
3163 PyObject
* obj2
= 0 ;
3164 PyObject
* obj3
= 0 ;
3165 PyObject
* obj4
= 0 ;
3167 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3173 arg1
= wxString_in_helper(obj0
);
3174 if (arg1
== NULL
) SWIG_fail
;
3180 arg2
= wxString_in_helper(obj1
);
3181 if (arg2
== NULL
) SWIG_fail
;
3186 arg3
= (long) SWIG_AsLong(obj2
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3196 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3235 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxString
*arg1
= 0 ;
3238 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3239 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3240 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3241 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3242 wxWindow
*arg4
= (wxWindow
*) NULL
;
3243 int arg5
= (int) -1 ;
3244 int arg6
= (int) -1 ;
3245 bool arg7
= (bool) True
;
3247 bool temp1
= False
;
3248 bool temp2
= False
;
3249 bool temp3
= False
;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3252 PyObject
* obj2
= 0 ;
3253 PyObject
* obj3
= 0 ;
3254 PyObject
* obj4
= 0 ;
3255 PyObject
* obj5
= 0 ;
3256 PyObject
* obj6
= 0 ;
3258 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3263 arg1
= wxString_in_helper(obj0
);
3264 if (arg1
== NULL
) SWIG_fail
;
3269 arg2
= wxString_in_helper(obj1
);
3270 if (arg2
== NULL
) SWIG_fail
;
3276 arg3
= wxString_in_helper(obj2
);
3277 if (arg3
== NULL
) SWIG_fail
;
3282 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3286 arg5
= (int) SWIG_AsInt(obj4
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 arg6
= (int) SWIG_AsInt(obj5
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3294 arg7
= (bool) SWIG_AsBool(obj6
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3341 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxString
*arg1
= 0 ;
3344 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3345 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3346 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3348 wxWindow
*arg4
= (wxWindow
*) NULL
;
3350 bool temp1
= False
;
3351 bool temp2
= False
;
3352 bool temp3
= False
;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3355 PyObject
* obj2
= 0 ;
3356 PyObject
* obj3
= 0 ;
3358 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3363 arg1
= wxString_in_helper(obj0
);
3364 if (arg1
== NULL
) SWIG_fail
;
3369 arg2
= wxString_in_helper(obj1
);
3370 if (arg2
== NULL
) SWIG_fail
;
3376 arg3
= wxString_in_helper(obj2
);
3377 if (arg3
== NULL
) SWIG_fail
;
3382 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3429 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxString
*arg1
= 0 ;
3432 wxString
*arg2
= 0 ;
3434 wxString
*arg4
= (wxString
*) 0 ;
3435 wxWindow
*arg5
= (wxWindow
*) NULL
;
3436 int arg6
= (int) -1 ;
3437 int arg7
= (int) -1 ;
3438 bool arg8
= (bool) True
;
3439 int arg9
= (int) 150 ;
3440 int arg10
= (int) 200 ;
3442 bool temp1
= False
;
3443 bool temp2
= False
;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 PyObject
* obj2
= 0 ;
3447 PyObject
* obj3
= 0 ;
3448 PyObject
* obj4
= 0 ;
3449 PyObject
* obj5
= 0 ;
3450 PyObject
* obj6
= 0 ;
3451 PyObject
* obj7
= 0 ;
3452 PyObject
* obj8
= 0 ;
3454 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3459 arg1
= wxString_in_helper(obj0
);
3460 if (arg1
== NULL
) SWIG_fail
;
3464 arg2
= wxString_in_helper(obj1
);
3465 if (arg2
== NULL
) SWIG_fail
;
3469 arg3
= PyList_Size(obj2
);
3470 arg4
= wxString_LIST_helper(obj2
);
3471 if (arg4
== NULL
) SWIG_fail
;
3474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3478 arg6
= (int) SWIG_AsInt(obj4
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 arg7
= (int) SWIG_AsInt(obj5
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 arg8
= (bool) SWIG_AsBool(obj6
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 arg9
= (int) SWIG_AsInt(obj7
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3494 arg10
= (int) SWIG_AsInt(obj8
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3520 if (arg4
) delete [] arg4
;
3533 if (arg4
) delete [] arg4
;
3539 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxString
*arg1
= 0 ;
3542 wxString
*arg2
= 0 ;
3544 wxString
*arg4
= (wxString
*) 0 ;
3545 wxWindow
*arg5
= (wxWindow
*) NULL
;
3546 int arg6
= (int) -1 ;
3547 int arg7
= (int) -1 ;
3548 bool arg8
= (bool) True
;
3549 int arg9
= (int) 150 ;
3550 int arg10
= (int) 200 ;
3552 bool temp1
= False
;
3553 bool temp2
= False
;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3556 PyObject
* obj2
= 0 ;
3557 PyObject
* obj3
= 0 ;
3558 PyObject
* obj4
= 0 ;
3559 PyObject
* obj5
= 0 ;
3560 PyObject
* obj6
= 0 ;
3561 PyObject
* obj7
= 0 ;
3562 PyObject
* obj8
= 0 ;
3564 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3569 arg1
= wxString_in_helper(obj0
);
3570 if (arg1
== NULL
) SWIG_fail
;
3574 arg2
= wxString_in_helper(obj1
);
3575 if (arg2
== NULL
) SWIG_fail
;
3579 arg3
= PyList_Size(obj2
);
3580 arg4
= wxString_LIST_helper(obj2
);
3581 if (arg4
== NULL
) SWIG_fail
;
3584 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 arg6
= (int) SWIG_AsInt(obj4
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3592 arg7
= (int) SWIG_AsInt(obj5
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3596 arg8
= (bool) SWIG_AsBool(obj6
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 arg9
= (int) SWIG_AsInt(obj7
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 arg10
= (int) SWIG_AsInt(obj8
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 resultobj
= SWIG_FromInt((int)result
);
3624 if (arg4
) delete [] arg4
;
3637 if (arg4
) delete [] arg4
;
3643 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxString
*arg1
= 0 ;
3646 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3647 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3648 int arg3
= (int) wxOK
|wxCENTRE
;
3649 wxWindow
*arg4
= (wxWindow
*) NULL
;
3650 int arg5
= (int) -1 ;
3651 int arg6
= (int) -1 ;
3653 bool temp1
= False
;
3654 bool temp2
= False
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3657 PyObject
* obj2
= 0 ;
3658 PyObject
* obj3
= 0 ;
3659 PyObject
* obj4
= 0 ;
3660 PyObject
* obj5
= 0 ;
3662 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3667 arg1
= wxString_in_helper(obj0
);
3668 if (arg1
== NULL
) SWIG_fail
;
3673 arg2
= wxString_in_helper(obj1
);
3674 if (arg2
== NULL
) SWIG_fail
;
3679 arg3
= (int) SWIG_AsInt(obj2
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3683 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3687 arg5
= (int) SWIG_AsInt(obj4
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 arg6
= (int) SWIG_AsInt(obj5
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= SWIG_FromInt((int)result
);
3724 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxString
*arg1
= 0 ;
3727 wxString
*arg2
= 0 ;
3728 wxString
*arg3
= 0 ;
3730 long arg5
= (long) 0 ;
3731 long arg6
= (long) 100 ;
3732 wxWindow
*arg7
= (wxWindow
*) NULL
;
3733 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3734 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3736 bool temp1
= False
;
3737 bool temp2
= False
;
3738 bool temp3
= False
;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3742 PyObject
* obj2
= 0 ;
3743 PyObject
* obj3
= 0 ;
3744 PyObject
* obj4
= 0 ;
3745 PyObject
* obj5
= 0 ;
3746 PyObject
* obj6
= 0 ;
3747 PyObject
* obj7
= 0 ;
3749 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3754 arg1
= wxString_in_helper(obj0
);
3755 if (arg1
== NULL
) SWIG_fail
;
3759 arg2
= wxString_in_helper(obj1
);
3760 if (arg2
== NULL
) SWIG_fail
;
3764 arg3
= wxString_in_helper(obj2
);
3765 if (arg3
== NULL
) SWIG_fail
;
3768 arg4
= (long) SWIG_AsLong(obj3
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 arg5
= (long) SWIG_AsLong(obj4
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 arg6
= (long) SWIG_AsLong(obj5
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3785 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_FromLong((long)result
);
3826 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 result
= (bool)wxColourDisplay();
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3850 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)wxDisplayDepth();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_FromInt((int)result
);
3872 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 result
= (int)wxGetDisplayDepth();
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_FromInt((int)result
);
3894 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 int *arg1
= (int *) 0 ;
3897 int *arg2
= (int *) 0 ;
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 wxDisplaySize(arg1
,arg2
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3917 resultobj
= t_output_helper(resultobj
,o
);
3920 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3921 resultobj
= t_output_helper(resultobj
,o
);
3929 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= wxGetDisplaySize();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3946 resultptr
= new wxSize((wxSize
&) result
);
3947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3955 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 int *arg1
= (int *) 0 ;
3958 int *arg2
= (int *) 0 ;
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 wxDisplaySizeMM(arg1
,arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 Py_INCREF(Py_None
); resultobj
= Py_None
;
3977 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3978 resultobj
= t_output_helper(resultobj
,o
);
3981 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3982 resultobj
= t_output_helper(resultobj
,o
);
3990 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 result
= wxGetDisplaySizeMM();
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4007 resultptr
= new wxSize((wxSize
&) result
);
4008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4016 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 int *arg1
= (int *) 0 ;
4019 int *arg2
= (int *) 0 ;
4020 int *arg3
= (int *) 0 ;
4021 int *arg4
= (int *) 0 ;
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 Py_INCREF(Py_None
); resultobj
= Py_None
;
4044 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4045 resultobj
= t_output_helper(resultobj
,o
);
4048 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4049 resultobj
= t_output_helper(resultobj
,o
);
4052 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4053 resultobj
= t_output_helper(resultobj
,o
);
4056 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4057 resultobj
= t_output_helper(resultobj
,o
);
4065 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= wxGetClientDisplayRect();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4082 resultptr
= new wxRect((wxRect
&) result
);
4083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4091 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxCursor
*arg1
= 0 ;
4094 PyObject
* obj0
= 0 ;
4096 (char *) "cursor", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4104 PyErr_SetString(PyExc_TypeError
,"null reference");
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 Py_INCREF(Py_None
); resultobj
= Py_None
;
4121 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
;
4123 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4124 PyObject
* obj0
= 0 ;
4126 (char *) "cursor", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxBeginBusyCursor(arg1
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 Py_INCREF(Py_None
); resultobj
= Py_None
;
4148 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (wxWindow
*)wxGetActiveWindow();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= wxPyMake_wxObject(result
);
4172 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4177 PyObject
* obj0
= 0 ;
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4185 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= wxPyMake_wxObject(result
);
4203 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4208 PyObject
* obj0
= 0 ;
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4216 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= wxPyMake_wxObject(result
);
4234 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxWindow
*arg1
= (wxWindow
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "win", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= wxPyMake_wxObject(result
);
4262 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4266 PyObject
* obj0
= 0 ;
4268 (char *) "key", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4272 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4290 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxWakeUpMainThread();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4311 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4332 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxMutexGuiLocker
*result
;
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4375 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4378 PyObject
* obj0
= 0 ;
4380 (char *) "self", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 Py_INCREF(Py_None
); resultobj
= Py_None
;
4400 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4403 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4405 return Py_BuildValue((char *)"");
4407 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)wxThread_IsMain();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxString
*arg1
= 0 ;
4435 bool temp1
= False
;
4436 PyObject
* obj0
= 0 ;
4438 (char *) "tip", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4443 arg1
= wxString_in_helper(obj0
);
4444 if (arg1
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= wxPyMake_wxObject(result
);
4471 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4474 wxString
*arg2
= 0 ;
4475 bool temp2
= False
;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4479 (char *) "self",(char *) "tip", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 arg2
= wxString_in_helper(obj1
);
4487 if (arg2
== NULL
) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 (arg1
)->SetTip((wxString
const &)*arg2
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4518 (char *) "self", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (arg1
)->GetTip();
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4544 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4550 (char *) "self", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (wxWindow
*)(arg1
)->GetWindow();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= wxPyMake_wxObject(result
);
4572 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "flag", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4581 arg1
= (bool) SWIG_AsBool(obj0
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxToolTip::Enable(arg1
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4597 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "milliseconds", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4606 arg1
= (long) SWIG_AsLong(obj0
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxToolTip::SetDelay(arg1
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 Py_INCREF(Py_None
); resultobj
= Py_None
;
4622 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4625 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4627 return Py_BuildValue((char *)"");
4629 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxWindow
*arg1
= (wxWindow
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4638 (char *) "window",(char *) "size", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4662 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxCaret
*arg1
= (wxCaret
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4667 (char *) "self", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 Py_INCREF(Py_None
); resultobj
= Py_None
;
4687 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxCaret
*arg1
= (wxCaret
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (bool)(arg1
)->IsOk();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4715 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxCaret
*arg1
= (wxCaret
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->IsVisible();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4743 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxCaret
*arg1
= (wxCaret
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (arg1
)->GetPosition();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 wxPoint
* resultptr
;
4764 resultptr
= new wxPoint((wxPoint
&) result
);
4765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4773 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4775 wxCaret
*arg1
= (wxCaret
*) 0 ;
4776 int *arg2
= (int *) 0 ;
4777 int *arg3
= (int *) 0 ;
4780 PyObject
* obj0
= 0 ;
4782 (char *) "self", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 (arg1
)->GetPosition(arg2
,arg3
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4799 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4800 resultobj
= t_output_helper(resultobj
,o
);
4803 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4804 resultobj
= t_output_helper(resultobj
,o
);
4812 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxCaret
*arg1
= (wxCaret
*) 0 ;
4816 PyObject
* obj0
= 0 ;
4818 (char *) "self", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (arg1
)->GetSize();
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4833 resultptr
= new wxSize((wxSize
&) result
);
4834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4842 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxCaret
*arg1
= (wxCaret
*) 0 ;
4845 int *arg2
= (int *) 0 ;
4846 int *arg3
= (int *) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->GetSize(arg2
,arg3
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 Py_INCREF(Py_None
); resultobj
= Py_None
;
4868 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4869 resultobj
= t_output_helper(resultobj
,o
);
4872 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4873 resultobj
= t_output_helper(resultobj
,o
);
4881 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxCaret
*arg1
= (wxCaret
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4887 (char *) "self", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 result
= (wxWindow
*)(arg1
)->GetWindow();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= wxPyMake_wxObject(result
);
4909 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxCaret
*arg1
= (wxCaret
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 PyObject
* obj2
= 0 ;
4918 (char *) "self",(char *) "x",(char *) "y", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 arg2
= (int) SWIG_AsInt(obj1
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4926 arg3
= (int) SWIG_AsInt(obj2
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 (arg1
)->Move(arg2
,arg3
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 Py_INCREF(Py_None
); resultobj
= Py_None
;
4942 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxCaret
*arg1
= (wxCaret
*) 0 ;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4950 (char *) "self",(char *) "pt", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 (arg1
)->Move((wxPoint
const &)*arg2
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 Py_INCREF(Py_None
); resultobj
= Py_None
;
4974 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxCaret
*arg1
= (wxCaret
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 PyObject
* obj2
= 0 ;
4983 (char *) "self",(char *) "width",(char *) "height", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 arg2
= (int) SWIG_AsInt(obj1
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4991 arg3
= (int) SWIG_AsInt(obj2
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 (arg1
)->SetSize(arg2
,arg3
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxCaret
*arg1
= (wxCaret
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5015 (char *) "self",(char *) "size", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->SetSize((wxSize
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxCaret
*arg1
= (wxCaret
*) 0 ;
5042 int arg2
= (int) True
;
5043 PyObject
* obj0
= 0 ;
5044 PyObject
* obj1
= 0 ;
5046 (char *) "self",(char *) "show", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5053 arg2
= (int) SWIG_AsInt(obj1
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxCaret
*arg1
= (wxCaret
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5075 (char *) "self", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 Py_INCREF(Py_None
); resultobj
= Py_None
;
5095 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5098 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5100 return Py_BuildValue((char *)"");
5102 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (int)wxCaret_GetBlinkTime();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_FromInt((int)result
);
5124 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "milliseconds", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5133 arg1
= (int) SWIG_AsInt(obj0
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 wxCaret_SetBlinkTime(arg1
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5152 wxBusyCursor
*result
;
5153 PyObject
* obj0
= 0 ;
5155 (char *) "cursor", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5177 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5180 PyObject
* obj0
= 0 ;
5182 (char *) "self", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5205 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5207 return Py_BuildValue((char *)"");
5209 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxWindow
*arg1
= (wxWindow
*) NULL
;
5212 wxWindowDisabler
*result
;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "winToSkip", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5237 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5265 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5267 return Py_BuildValue((char *)"");
5269 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
;
5271 wxString
*arg1
= 0 ;
5273 bool temp1
= False
;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "message", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5281 arg1
= wxString_in_helper(obj0
);
5282 if (arg1
== NULL
) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5307 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5335 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5337 return Py_BuildValue((char *)"");
5339 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxStopWatch
*result
;
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (wxStopWatch
*)new wxStopWatch();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5361 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5364 long arg2
= (long) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "t0", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5375 arg2
= (long) SWIG_AsLong(obj1
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 (arg1
)->Start(arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 Py_INCREF(Py_None
); resultobj
= Py_None
;
5392 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5395 PyObject
* obj0
= 0 ;
5397 (char *) "self", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5420 PyObject
* obj0
= 0 ;
5422 (char *) "self", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_FromLong((long)result
);
5468 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5471 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5473 return Py_BuildValue((char *)"");
5475 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 int arg1
= (int) 9 ;
5478 wxFileHistory
*result
;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "maxFiles", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5486 arg1
= (int) SWIG_AsInt(obj0
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5503 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5508 (char *) "self", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5531 wxString
*arg2
= 0 ;
5532 bool temp2
= False
;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5536 (char *) "self",(char *) "file", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 arg2
= wxString_in_helper(obj1
);
5544 if (arg2
== NULL
) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5576 (char *) "self",(char *) "i", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5582 arg2
= (int) SWIG_AsInt(obj1
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 (arg1
)->RemoveFileFromHistory(arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5604 (char *) "self", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_FromInt((int)result
);
5624 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5627 wxMenu
*arg2
= (wxMenu
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5631 (char *) "self",(char *) "menu", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->UseMenu(arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5653 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5656 wxMenu
*arg2
= (wxMenu
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "menu", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->RemoveMenu(arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5685 wxConfigBase
*arg2
= 0 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "config", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5699 PyErr_SetString(PyExc_TypeError
,"null reference");
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 (arg1
)->Load(*arg2
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 Py_INCREF(Py_None
); resultobj
= Py_None
;
5716 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5719 wxConfigBase
*arg2
= 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5723 (char *) "self",(char *) "config", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5733 PyErr_SetString(PyExc_TypeError
,"null reference");
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->Save(*arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5753 PyObject
* obj0
= 0 ;
5755 (char *) "self", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->AddFilesToMenu();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5778 wxMenu
*arg2
= (wxMenu
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "menu", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->AddFilesToMenu(arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "i", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg2
= (int) SWIG_AsInt(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5840 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "self", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_FromInt((int)result
);
5866 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5869 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5871 return Py_BuildValue((char *)"");
5873 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxString
*arg1
= 0 ;
5876 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5877 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5878 wxSingleInstanceChecker
*result
;
5879 bool temp1
= False
;
5880 bool temp2
= False
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5884 (char *) "name",(char *) "path", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5889 arg1
= wxString_in_helper(obj0
);
5890 if (arg1
== NULL
) SWIG_fail
;
5895 arg2
= wxString_in_helper(obj1
);
5896 if (arg2
== NULL
) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5930 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxSingleInstanceChecker
*result
;
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5952 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 Py_INCREF(Py_None
); resultobj
= Py_None
;
5977 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5980 wxString
*arg2
= 0 ;
5981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5984 bool temp2
= False
;
5985 bool temp3
= False
;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5988 PyObject
* obj2
= 0 ;
5990 (char *) "self",(char *) "name",(char *) "path", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 arg2
= wxString_in_helper(obj1
);
5998 if (arg2
== NULL
) SWIG_fail
;
6003 arg3
= wxString_in_helper(obj2
);
6004 if (arg3
== NULL
) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6040 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6046 (char *) "self", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6068 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6071 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6073 return Py_BuildValue((char *)"");
6075 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxWindow
*arg1
= (wxWindow
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 PyObject
* obj2
= 0 ;
6084 (char *) "window",(char *) "dc",(char *) "method", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6094 PyErr_SetString(PyExc_TypeError
,"null reference");
6097 arg3
= (int) SWIG_AsInt(obj2
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 Py_INCREF(Py_None
); resultobj
= Py_None
;
6113 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6118 (char *) "self", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6138 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6144 (char *) "self", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (arg1
)->GetTip();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6170 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "self", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (size_t)(arg1
)->GetCurrentTip();
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6196 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6199 wxString
*arg2
= 0 ;
6201 bool temp2
= False
;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6205 (char *) "self",(char *) "tip", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 arg2
= wxString_in_helper(obj1
);
6213 if (arg2
== NULL
) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6244 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6247 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6249 return Py_BuildValue((char *)"");
6251 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6254 wxPyTipProvider
*result
;
6255 PyObject
* obj0
= 0 ;
6257 (char *) "currentTip", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6261 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6277 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6280 PyObject
*arg2
= (PyObject
*) 0 ;
6281 PyObject
*arg3
= (PyObject
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 PyObject
* obj2
= 0 ;
6286 (char *) "self",(char *) "self",(char *) "_class", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 Py_INCREF(Py_None
); resultobj
= Py_None
;
6308 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6311 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6313 return Py_BuildValue((char *)"");
6315 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxWindow
*arg1
= (wxWindow
*) 0 ;
6318 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6319 bool arg3
= (bool) True
;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6325 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg3
= (bool) SWIG_AsBool(obj2
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6353 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxString
*arg1
= 0 ;
6357 wxTipProvider
*result
;
6358 bool temp1
= False
;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6362 (char *) "filename",(char *) "currentTip", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6367 arg1
= wxString_in_helper(obj0
);
6368 if (arg1
== NULL
) SWIG_fail
;
6371 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6395 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6398 int arg2
= (int) -1 ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6403 (char *) "owner",(char *) "id", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 arg2
= (int) SWIG_AsInt(obj1
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6429 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 Py_INCREF(Py_None
); resultobj
= Py_None
;
6454 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6457 PyObject
*arg2
= (PyObject
*) 0 ;
6458 PyObject
*arg3
= (PyObject
*) 0 ;
6459 int arg4
= (int) 1 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6463 PyObject
* obj3
= 0 ;
6465 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6474 arg4
= (int) SWIG_AsInt(obj3
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 Py_INCREF(Py_None
); resultobj
= Py_None
;
6491 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6494 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6495 int arg3
= (int) -1 ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6498 PyObject
* obj2
= 0 ;
6500 (char *) "self",(char *) "owner",(char *) "id", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 arg3
= (int) SWIG_AsInt(obj2
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->SetOwner(arg2
,arg3
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 Py_INCREF(Py_None
); resultobj
= Py_None
;
6526 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6529 wxEvtHandler
*result
;
6530 PyObject
* obj0
= 0 ;
6532 (char *) "self", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= wxPyMake_wxObject(result
);
6554 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6557 int arg2
= (int) -1 ;
6558 bool arg3
= (bool) False
;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 PyObject
* obj2
= 0 ;
6564 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6571 arg2
= (int) SWIG_AsInt(obj1
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 arg3
= (bool) SWIG_AsBool(obj2
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6594 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6619 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6647 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_FromInt((int)result
);
6673 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "self", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_FromInt((int)result
);
6727 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6730 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6732 return Py_BuildValue((char *)"");
6734 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 int arg1
= (int) 0 ;
6737 int arg2
= (int) 0 ;
6738 wxTimerEvent
*result
;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6742 (char *) "timerid",(char *) "interval", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6747 arg1
= (int) SWIG_AsInt(obj0
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 arg2
= (int) SWIG_AsInt(obj1
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6768 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6774 (char *) "self", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= SWIG_FromInt((int)result
);
6794 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6797 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6799 return Py_BuildValue((char *)"");
6801 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6802 PyObject
*resultobj
;
6804 wxTimerRunner
*result
;
6805 PyObject
* obj0
= 0 ;
6807 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6812 PyErr_SetString(PyExc_TypeError
,"null reference");
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6829 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6830 PyObject
*resultobj
;
6833 bool arg3
= (bool) False
;
6834 wxTimerRunner
*result
;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6839 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6844 PyErr_SetString(PyExc_TypeError
,"null reference");
6847 arg2
= (int) SWIG_AsInt(obj1
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 arg3
= (bool) SWIG_AsBool(obj2
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6867 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6872 argc
= PyObject_Length(args
);
6873 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6874 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6880 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6888 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6891 if ((argc
>= 2) && (argc
<= 3)) {
6895 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6903 _v
= SWIG_CheckInt(argv
[1]);
6906 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6908 _v
= SWIG_CheckBool(argv
[2]);
6910 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6916 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6921 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "self", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 Py_INCREF(Py_None
); resultobj
= Py_None
;
6946 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6950 bool arg3
= (bool) False
;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6955 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6961 arg2
= (int) SWIG_AsInt(obj1
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 arg3
= (bool) SWIG_AsBool(obj2
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->Start(arg2
,arg3
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6984 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6986 return Py_BuildValue((char *)"");
6988 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (wxLog
*)new wxLog();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7010 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (bool)wxLog::IsEnabled();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7034 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 bool arg1
= (bool) True
;
7038 PyObject
* obj0
= 0 ;
7040 (char *) "doIt", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7045 arg1
= (bool) SWIG_AsBool(obj0
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (bool)wxLog::EnableLogging(arg1
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7067 wxChar
*arg2
= (wxChar
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7071 PyObject
* obj2
= 0 ;
7073 (char *) "level",(char *) "szString",(char *) "t", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7077 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7081 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxLog
*arg1
= (wxLog
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 wxLog::FlushActive();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 Py_INCREF(Py_None
); resultobj
= Py_None
;
7143 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (wxLog
*)wxLog::GetActiveTarget();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7165 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxLog
*arg1
= (wxLog
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "pLogger", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7191 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 Py_INCREF(Py_None
); resultobj
= Py_None
;
7233 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 bool arg1
= (bool) True
;
7236 PyObject
* obj0
= 0 ;
7238 (char *) "bVerbose", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7243 arg1
= (bool) SWIG_AsBool(obj0
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 wxLog::SetVerbose(arg1
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 Py_INCREF(Py_None
); resultobj
= Py_None
;
7260 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "logLevel", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7269 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 wxLog::SetLogLevel(arg1
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 Py_INCREF(Py_None
); resultobj
= Py_None
;
7285 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
*resultobj
;
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 wxLog::DontCreateOnDemand();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7309 PyObject
* obj0
= 0 ;
7311 (char *) "ulMask", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7315 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxLog::SetTraceMask(arg1
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxString
*arg1
= 0 ;
7334 bool temp1
= False
;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "str", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7342 arg1
= wxString_in_helper(obj0
);
7343 if (arg1
== NULL
) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 wxLog::AddTraceMask((wxString
const &)*arg1
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxString
*arg1
= 0 ;
7371 bool temp1
= False
;
7372 PyObject
* obj0
= 0 ;
7374 (char *) "str", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7379 arg1
= wxString_in_helper(obj0
);
7380 if (arg1
== NULL
) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7405 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxLog::ClearTraceMasks();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxArrayString
*result
;
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7438 result
= (wxArrayString
*) &_result_ref
;
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= wxArrayString2PyList_helper(*result
);
7453 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxChar
*arg1
= (wxChar
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxLog::SetTimestamp((wxChar
const *)arg1
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)wxLog::GetVerbose();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (wxTraceMask
)wxLog::GetTraceMask();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7524 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxChar
*arg1
= (wxChar
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "mask", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (wxLogLevel
)wxLog::GetLogLevel();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7574 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (wxChar
*)wxLog::GetTimestamp();
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7596 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= Log_TimeStamp();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7624 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxLog
*arg1
= (wxLog
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "self", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxLog_Destroy(arg1
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7649 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7652 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7654 return Py_BuildValue((char *)"");
7656 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxLogStderr
*result
;
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (wxLogStderr
*)new wxLogStderr();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7678 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7681 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7683 return Py_BuildValue((char *)"");
7685 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7688 wxLogTextCtrl
*result
;
7689 PyObject
* obj0
= 0 ;
7691 (char *) "pTextCtrl", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7711 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7714 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7716 return Py_BuildValue((char *)"");
7718 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (wxLogGui
*)new wxLogGui();
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7740 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7745 return Py_BuildValue((char *)"");
7747 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxFrame
*arg1
= (wxFrame
*) 0 ;
7750 wxString
*arg2
= 0 ;
7751 bool arg3
= (bool) True
;
7752 bool arg4
= (bool) True
;
7753 wxLogWindow
*result
;
7754 bool temp2
= False
;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7758 PyObject
* obj3
= 0 ;
7760 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7767 arg2
= wxString_in_helper(obj1
);
7768 if (arg2
== NULL
) SWIG_fail
;
7772 arg3
= (bool) SWIG_AsBool(obj2
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7776 arg4
= (bool) SWIG_AsBool(obj3
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7801 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7804 bool arg2
= (bool) True
;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "bShow", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 arg2
= (bool) SWIG_AsBool(obj1
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "self", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= wxPyMake_wxObject(result
);
7860 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "self", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7886 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "self", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7921 (char *) "self",(char *) "bDoPass", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7927 arg2
= (bool) SWIG_AsBool(obj1
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 (arg1
)->PassMessages(arg2
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 Py_INCREF(Py_None
); resultobj
= Py_None
;
7943 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7946 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7948 return Py_BuildValue((char *)"");
7950 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxLog
*arg1
= (wxLog
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "logger", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (wxLogChain
*)new wxLogChain(arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7976 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7979 wxLog
*arg2
= (wxLog
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7983 (char *) "self",(char *) "logger", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetLog(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8012 (char *) "self",(char *) "bDoPass", NULL
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 arg2
= (bool) SWIG_AsBool(obj1
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 (arg1
)->PassMessages(arg2
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (bool)(arg1
)->IsPassingMessages();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8062 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (wxLog
*)(arg1
)->GetOldLog();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8088 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8091 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8093 return Py_BuildValue((char *)"");
8095 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 unsigned long result
;
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (unsigned long)wxSysErrorCode();
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8117 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 unsigned long arg1
= (unsigned long) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "nErrCode", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8128 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= wxSysErrorMsg(arg1
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8151 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxString
*arg1
= 0 ;
8154 bool temp1
= False
;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "msg", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8162 arg1
= wxString_in_helper(obj0
);
8163 if (arg1
== NULL
) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 wxLogFatalError((wxString
const &)*arg1
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 Py_INCREF(Py_None
); resultobj
= Py_None
;
8188 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxString
*arg1
= 0 ;
8191 bool temp1
= False
;
8192 PyObject
* obj0
= 0 ;
8194 (char *) "msg", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8199 arg1
= wxString_in_helper(obj0
);
8200 if (arg1
== NULL
) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 wxLogError((wxString
const &)*arg1
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxString
*arg1
= 0 ;
8228 bool temp1
= False
;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "msg", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8236 arg1
= wxString_in_helper(obj0
);
8237 if (arg1
== NULL
) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 wxLogWarning((wxString
const &)*arg1
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxString
*arg1
= 0 ;
8265 bool temp1
= False
;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "msg", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8273 arg1
= wxString_in_helper(obj0
);
8274 if (arg1
== NULL
) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 wxLogMessage((wxString
const &)*arg1
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxString
*arg1
= 0 ;
8302 bool temp1
= False
;
8303 PyObject
* obj0
= 0 ;
8305 (char *) "msg", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8310 arg1
= wxString_in_helper(obj0
);
8311 if (arg1
== NULL
) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 wxLogInfo((wxString
const &)*arg1
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 Py_INCREF(Py_None
); resultobj
= Py_None
;
8336 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxString
*arg1
= 0 ;
8339 bool temp1
= False
;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "msg", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8347 arg1
= wxString_in_helper(obj0
);
8348 if (arg1
== NULL
) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 wxLogDebug((wxString
const &)*arg1
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 Py_INCREF(Py_None
); resultobj
= Py_None
;
8373 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxString
*arg1
= 0 ;
8376 bool temp1
= False
;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "msg", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8384 arg1
= wxString_in_helper(obj0
);
8385 if (arg1
== NULL
) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 wxLogVerbose((wxString
const &)*arg1
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8410 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxString
*arg1
= 0 ;
8413 bool temp1
= False
;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "msg", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8421 arg1
= wxString_in_helper(obj0
);
8422 if (arg1
== NULL
) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 wxLogStatus((wxString
const &)*arg1
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 Py_INCREF(Py_None
); resultobj
= Py_None
;
8447 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxFrame
*arg1
= (wxFrame
*) 0 ;
8450 wxString
*arg2
= 0 ;
8451 bool temp2
= False
;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8455 (char *) "pFrame",(char *) "msg", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 arg2
= wxString_in_helper(obj1
);
8463 if (arg2
== NULL
) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8488 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxString
*arg1
= 0 ;
8491 bool temp1
= False
;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "msg", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8499 arg1
= wxString_in_helper(obj0
);
8500 if (arg1
== NULL
) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 wxLogSysError((wxString
const &)*arg1
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8525 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8526 PyObject
*resultobj
;
8527 unsigned long arg1
;
8528 wxString
*arg2
= 0 ;
8529 bool temp2
= False
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8534 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 arg2
= wxString_in_helper(obj1
);
8538 if (arg2
== NULL
) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 Py_INCREF(Py_None
); resultobj
= Py_None
;
8563 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8564 PyObject
*resultobj
;
8565 wxString
*arg1
= 0 ;
8566 wxString
*arg2
= 0 ;
8567 bool temp1
= False
;
8568 bool temp2
= False
;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj1
= 0 ;
8572 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8574 arg1
= wxString_in_helper(obj0
);
8575 if (arg1
== NULL
) SWIG_fail
;
8579 arg2
= wxString_in_helper(obj1
);
8580 if (arg2
== NULL
) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 Py_INCREF(Py_None
); resultobj
= Py_None
;
8613 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8618 argc
= PyObject_Length(args
);
8619 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8620 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8625 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8629 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8632 return _wrap_LogTrace__SWIG_1(self
,args
);
8638 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8641 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8644 return _wrap_LogTrace__SWIG_0(self
,args
);
8649 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8654 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 unsigned long arg1
;
8657 wxString
*arg2
= 0 ;
8658 bool temp2
= False
;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8662 (char *) "level",(char *) "msg", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8666 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 arg2
= wxString_in_helper(obj1
);
8670 if (arg2
== NULL
) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 Py_INCREF(Py_None
); resultobj
= Py_None
;
8695 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxString
*arg1
= 0 ;
8698 wxString
*arg2
= 0 ;
8699 bool temp1
= False
;
8700 bool temp2
= False
;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "title",(char *) "text", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8709 arg1
= wxString_in_helper(obj0
);
8710 if (arg1
== NULL
) SWIG_fail
;
8714 arg2
= wxString_in_helper(obj1
);
8715 if (arg2
== NULL
) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8748 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (wxLogNull
*)new wxLogNull();
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8770 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8775 (char *) "self", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8798 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8800 return Py_BuildValue((char *)"");
8802 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (wxPyLog
*)new wxPyLog();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8824 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8827 PyObject
*arg2
= (PyObject
*) 0 ;
8828 PyObject
*arg3
= (PyObject
*) 0 ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8831 PyObject
* obj2
= 0 ;
8833 (char *) "self",(char *) "self",(char *) "_class", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8858 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8860 return Py_BuildValue((char *)"");
8862 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8865 int arg2
= (int) wxSIGTERM
;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8870 (char *) "pid",(char *) "sig", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8874 arg1
= (int) SWIG_AsInt(obj0
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= SWIG_FromInt((int)result
);
8894 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "pid", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8904 arg1
= (int) SWIG_AsInt(obj0
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (bool)wxPyProcess::Exists(arg1
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxString
*arg1
= 0 ;
8925 int arg2
= (int) wxEXEC_ASYNC
;
8926 wxPyProcess
*result
;
8927 bool temp1
= False
;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "cmd",(char *) "flags", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8936 arg1
= wxString_in_helper(obj0
);
8937 if (arg1
== NULL
) SWIG_fail
;
8941 arg2
= (int) SWIG_AsInt(obj1
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8966 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8969 int arg2
= (int) -1 ;
8970 wxPyProcess
*result
;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8974 (char *) "parent",(char *) "id", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 arg2
= (int) SWIG_AsInt(obj1
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9000 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9003 PyObject
*arg2
= (PyObject
*) 0 ;
9004 PyObject
*arg3
= (PyObject
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 PyObject
* obj2
= 0 ;
9009 (char *) "self",(char *) "self",(char *) "_class", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9038 PyObject
* obj2
= 0 ;
9040 (char *) "self",(char *) "pid",(char *) "status", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 arg2
= (int) SWIG_AsInt(obj1
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9048 arg3
= (int) SWIG_AsInt(obj2
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 (arg1
)->base_OnTerminate(arg2
,arg3
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "self", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (bool)(arg1
)->IsRedirected();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9117 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9145 wxInputStream
*result
;
9146 PyObject
* obj0
= 0 ;
9148 (char *) "self", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 wxPyInputStream
* _ptr
= NULL
;
9165 _ptr
= new wxPyInputStream(result
);
9167 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9175 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9178 wxInputStream
*result
;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9195 wxPyInputStream
* _ptr
= NULL
;
9198 _ptr
= new wxPyInputStream(result
);
9200 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9208 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9211 wxOutputStream
*result
;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9234 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->CloseOutput();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 Py_INCREF(Py_None
); resultobj
= Py_None
;
9259 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9343 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9346 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9348 return Py_BuildValue((char *)"");
9350 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 int arg1
= (int) 0 ;
9353 int arg2
= (int) 0 ;
9354 int arg3
= (int) 0 ;
9355 wxProcessEvent
*result
;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 PyObject
* obj2
= 0 ;
9360 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9365 arg1
= (int) SWIG_AsInt(obj0
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 arg2
= (int) SWIG_AsInt(obj1
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 arg3
= (int) SWIG_AsInt(obj2
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9390 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (int)(arg1
)->GetPid();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_FromInt((int)result
);
9416 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (int)(arg1
)->GetExitCode();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_FromInt((int)result
);
9442 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9449 (char *) "self",(char *) "m_pid", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 arg2
= (int) SWIG_AsInt(obj1
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9457 if (arg1
) (arg1
)->m_pid
= arg2
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9478 result
= (int) ((arg1
)->m_pid
);
9480 resultobj
= SWIG_FromInt((int)result
);
9487 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9494 (char *) "self",(char *) "m_exitcode", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 arg2
= (int) SWIG_AsInt(obj1
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9502 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9504 Py_INCREF(Py_None
); resultobj
= Py_None
;
9511 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 result
= (int) ((arg1
)->m_exitcode
);
9525 resultobj
= SWIG_FromInt((int)result
);
9532 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9535 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9537 return Py_BuildValue((char *)"");
9539 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxString
*arg1
= 0 ;
9542 int arg2
= (int) wxEXEC_ASYNC
;
9543 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9545 bool temp1
= False
;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 PyObject
* obj2
= 0 ;
9550 (char *) "command",(char *) "flags",(char *) "process", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9555 arg1
= wxString_in_helper(obj0
);
9556 if (arg1
== NULL
) SWIG_fail
;
9560 arg2
= (int) SWIG_AsInt(obj1
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9564 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_FromLong((long)result
);
9589 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 int arg1
= (int) wxJOYSTICK1
;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "joystick", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9600 arg1
= (int) SWIG_AsInt(obj0
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (wxJoystick
*)new wxJoystick(arg1
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9617 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "self", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (arg1
)->GetPosition();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 wxPoint
* resultptr
;
9663 resultptr
= new wxPoint((wxPoint
&) result
);
9664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9672 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (int)(arg1
)->GetZPosition();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_FromInt((int)result
);
9698 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (int)(arg1
)->GetButtonState();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_FromInt((int)result
);
9724 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9730 (char *) "self", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (int)(arg1
)->GetPOVPosition();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= SWIG_FromInt((int)result
);
9750 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (int)(arg1
)->GetPOVCTSPosition();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_FromInt((int)result
);
9776 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (int)(arg1
)->GetRudderPosition();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_FromInt((int)result
);
9802 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetUPosition();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (int)(arg1
)->GetVPosition();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_FromInt((int)result
);
9854 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (int)(arg1
)->GetMovementThreshold();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_FromInt((int)result
);
9880 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9887 (char *) "self",(char *) "threshold", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 arg2
= (int) SWIG_AsInt(obj1
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->SetMovementThreshold(arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 Py_INCREF(Py_None
); resultobj
= Py_None
;
9909 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->IsOk();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9937 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (int)(arg1
)->GetNumberJoysticks();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_FromInt((int)result
);
9963 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (int)(arg1
)->GetManufacturerId();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_FromInt((int)result
);
9989 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (int)(arg1
)->GetProductId();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= SWIG_FromInt((int)result
);
10015 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (arg1
)->GetProductName();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10047 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (int)(arg1
)->GetXMin();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_FromInt((int)result
);
10073 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (int)(arg1
)->GetYMin();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_FromInt((int)result
);
10099 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (int)(arg1
)->GetZMin();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_FromInt((int)result
);
10125 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)(arg1
)->GetXMax();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_FromInt((int)result
);
10151 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (int)(arg1
)->GetYMax();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_FromInt((int)result
);
10177 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (int)(arg1
)->GetZMax();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_FromInt((int)result
);
10203 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetNumberButtons();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_FromInt((int)result
);
10229 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetNumberAxes();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_FromInt((int)result
);
10255 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)(arg1
)->GetMaxButtons();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_FromInt((int)result
);
10281 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)(arg1
)->GetMaxAxes();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_FromInt((int)result
);
10307 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetPollingMin();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_FromInt((int)result
);
10333 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetPollingMax();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_FromInt((int)result
);
10359 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->GetRudderMin();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_FromInt((int)result
);
10385 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (int)(arg1
)->GetRudderMax();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_FromInt((int)result
);
10411 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (int)(arg1
)->GetUMin();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_FromInt((int)result
);
10437 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (int)(arg1
)->GetUMax();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_FromInt((int)result
);
10463 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
;
10465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (int)(arg1
)->GetVMin();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_FromInt((int)result
);
10489 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)(arg1
)->GetVMax();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_FromInt((int)result
);
10515 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",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
)->HasRudder();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10543 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (bool)(arg1
)->HasZ();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10571 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->HasU();
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10599 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (bool)(arg1
)->HasV();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (bool)(arg1
)->HasPOV();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10655 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->HasPOV4Dir();
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10683 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (bool)(arg1
)->HasPOVCTS();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10711 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10714 wxWindow
*arg2
= (wxWindow
*) 0 ;
10715 int arg3
= (int) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 arg3
= (int) SWIG_AsInt(obj2
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10749 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (bool)(arg1
)->ReleaseCapture();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10777 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10780 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10782 return Py_BuildValue((char *)"");
10784 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10787 wxPoint
*arg2
= (wxPoint
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "m_pos", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 if (arg1
) (arg1
)->m_pos
= *arg2
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10808 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10829 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self",(char *) "m_zPosition", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 arg2
= (int) SWIG_AsInt(obj1
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10844 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 result
= (int) ((arg1
)->m_zPosition
);
10867 resultobj
= SWIG_FromInt((int)result
);
10874 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self",(char *) "m_buttonChange", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 arg2
= (int) SWIG_AsInt(obj1
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10889 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10891 Py_INCREF(Py_None
); resultobj
= Py_None
;
10898 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10910 result
= (int) ((arg1
)->m_buttonChange
);
10912 resultobj
= SWIG_FromInt((int)result
);
10919 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self",(char *) "m_buttonState", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10932 arg2
= (int) SWIG_AsInt(obj1
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10934 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10955 result
= (int) ((arg1
)->m_buttonState
);
10957 resultobj
= SWIG_FromInt((int)result
);
10964 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self",(char *) "m_joyStick", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 arg2
= (int) SWIG_AsInt(obj1
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10979 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10981 Py_INCREF(Py_None
); resultobj
= Py_None
;
10988 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10992 PyObject
* obj0
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 result
= (int) ((arg1
)->m_joyStick
);
11002 resultobj
= SWIG_FromInt((int)result
);
11009 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11012 int arg2
= (int) 0 ;
11013 int arg3
= (int) wxJOYSTICK1
;
11014 int arg4
= (int) 0 ;
11015 wxJoystickEvent
*result
;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 PyObject
* obj2
= 0 ;
11019 PyObject
* obj3
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11026 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 arg2
= (int) SWIG_AsInt(obj1
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 arg3
= (int) SWIG_AsInt(obj2
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 arg4
= (int) SWIG_AsInt(obj3
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11055 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11059 PyObject
* obj0
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 wxPoint
* resultptr
;
11076 resultptr
= new wxPoint((wxPoint
&) result
);
11077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11085 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_FromInt((int)result
);
11111 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= SWIG_FromInt((int)result
);
11137 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= SWIG_FromInt((int)result
);
11163 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_FromInt((int)result
);
11189 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "stick", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 arg2
= (int) SWIG_AsInt(obj1
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 (arg1
)->SetJoystick(arg2
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 Py_INCREF(Py_None
); resultobj
= Py_None
;
11218 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "state", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 arg2
= (int) SWIG_AsInt(obj1
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->SetButtonState(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 PyObject
* obj1
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "change", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11260 arg2
= (int) SWIG_AsInt(obj1
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 (arg1
)->SetButtonChange(arg2
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 Py_INCREF(Py_None
); resultobj
= Py_None
;
11276 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11279 wxPoint
*arg2
= 0 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "pos", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "zPos", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (int) SWIG_AsInt(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetZPosition(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11365 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11393 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11421 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11424 int arg2
= (int) wxJOY_BUTTON_ANY
;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self",(char *) "but", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= (int) SWIG_AsInt(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11455 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11458 int arg2
= (int) wxJOY_BUTTON_ANY
;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "but", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11470 arg2
= (int) SWIG_AsInt(obj1
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11492 int arg2
= (int) wxJOY_BUTTON_ANY
;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "but", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 arg2
= (int) SWIG_AsInt(obj1
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11523 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11528 return Py_BuildValue((char *)"");
11530 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11533 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11535 bool temp1
= False
;
11536 PyObject
* obj0
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "fileName", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11544 arg1
= wxString_in_helper(obj0
);
11545 if (arg1
== NULL
) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11571 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 PyObject
*arg1
= (PyObject
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "data", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (wxSound
*)new_wxSound(arg1
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11596 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxSound
*arg1
= (wxSound
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11621 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxSound
*arg1
= (wxSound
*) 0 ;
11624 wxString
*arg2
= 0 ;
11626 bool temp2
= False
;
11627 PyObject
* obj0
= 0 ;
11628 PyObject
* obj1
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "fileName", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= wxString_in_helper(obj1
);
11638 if (arg2
== NULL
) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11665 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxSound
*arg1
= (wxSound
*) 0 ;
11668 PyObject
*arg2
= (PyObject
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self",(char *) "data", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11696 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxSound
*arg1
= (wxSound
*) 0 ;
11700 PyObject
* obj0
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (bool)(arg1
)->IsOk();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11724 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxSound
*arg1
= (wxSound
*) 0 ;
11727 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self",(char *) "flags", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11739 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11758 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxString
*arg1
= 0 ;
11761 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11763 bool temp1
= False
;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "filename",(char *) "flags", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11772 arg1
= wxString_in_helper(obj0
);
11773 if (arg1
== NULL
) SWIG_fail
;
11777 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11804 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 char *kwnames
[] = {
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 Py_INCREF(Py_None
); resultobj
= Py_None
;
11825 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11828 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11830 return Py_BuildValue((char *)"");
11832 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxString
*arg1
= 0 ;
11835 wxString
*arg2
= 0 ;
11836 wxString
*arg3
= 0 ;
11837 wxString
*arg4
= 0 ;
11838 wxFileTypeInfo
*result
;
11839 bool temp1
= False
;
11840 bool temp2
= False
;
11841 bool temp3
= False
;
11842 bool temp4
= False
;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 PyObject
* obj3
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11853 arg1
= wxString_in_helper(obj0
);
11854 if (arg1
== NULL
) SWIG_fail
;
11858 arg2
= wxString_in_helper(obj1
);
11859 if (arg2
== NULL
) SWIG_fail
;
11863 arg3
= wxString_in_helper(obj2
);
11864 if (arg3
== NULL
) SWIG_fail
;
11868 arg4
= wxString_in_helper(obj3
);
11869 if (arg4
== NULL
) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11918 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxArrayString
*arg1
= 0 ;
11921 wxFileTypeInfo
*result
;
11922 bool temp1
= False
;
11923 PyObject
* obj0
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "sArray", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11930 if (! PySequence_Check(obj0
)) {
11931 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11934 arg1
= new wxArrayString
;
11936 int i
, len
=PySequence_Length(obj0
);
11937 for (i
=0; i
<len
; i
++) {
11938 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11940 PyObject
* str
= PyObject_Unicode(item
);
11942 PyObject
* str
= PyObject_Str(item
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11945 arg1
->Add(Py2wxString(str
));
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11959 if (temp1
) delete arg1
;
11964 if (temp1
) delete arg1
;
11970 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxFileTypeInfo
*result
;
11973 char *kwnames
[] = {
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11992 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12020 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12023 wxString
*arg2
= 0 ;
12024 int arg3
= (int) 0 ;
12025 bool temp2
= False
;
12026 PyObject
* obj0
= 0 ;
12027 PyObject
* obj1
= 0 ;
12028 PyObject
* obj2
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12037 arg2
= wxString_in_helper(obj1
);
12038 if (arg2
== NULL
) SWIG_fail
;
12042 arg3
= (int) SWIG_AsInt(obj2
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 Py_INCREF(Py_None
); resultobj
= Py_None
;
12067 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12070 wxString
*arg2
= 0 ;
12071 bool temp2
= False
;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "shortDesc", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 arg2
= wxString_in_helper(obj1
);
12083 if (arg2
== NULL
) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12124 result
= (wxString
*) &_result_ref
;
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12143 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12159 result
= (wxString
*) &_result_ref
;
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12178 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12194 result
= (wxString
*) &_result_ref
;
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12213 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12217 PyObject
* obj0
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12229 result
= (wxString
*) &_result_ref
;
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12239 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12248 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12264 result
= (wxString
*) &_result_ref
;
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12274 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12283 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12286 wxArrayString
*result
;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12299 result
= (wxArrayString
*) &_result_ref
;
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= wxArrayString2PyList_helper(*result
);
12314 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= SWIG_FromInt((int)result
);
12340 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12356 result
= (wxString
*) &_result_ref
;
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12366 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12375 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_FromInt((int)result
);
12401 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12404 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12406 return Py_BuildValue((char *)"");
12408 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxFileTypeInfo
*arg1
= 0 ;
12411 wxFileType
*result
;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "ftInfo", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12421 if (arg1
== NULL
) {
12422 PyErr_SetString(PyExc_TypeError
,"null reference");
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12439 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxFileType
*arg1
= (wxFileType
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxFileType
*arg1
= (wxFileType
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= result
;
12490 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxFileType
*arg1
= (wxFileType
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= result
;
12516 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxFileType
*arg1
= (wxFileType
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= result
;
12542 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxFileType
*arg1
= (wxFileType
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12568 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxFileType
*arg1
= (wxFileType
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= result
;
12594 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxFileType
*arg1
= (wxFileType
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
;
12620 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxFileType
*arg1
= (wxFileType
*) 0 ;
12623 wxString
*arg2
= 0 ;
12624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12627 bool temp2
= False
;
12628 bool temp3
= False
;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 PyObject
* obj2
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 arg2
= wxString_in_helper(obj1
);
12641 if (arg2
== NULL
) SWIG_fail
;
12646 arg3
= wxString_in_helper(obj2
);
12647 if (arg3
== NULL
) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
;
12681 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxFileType
*arg1
= (wxFileType
*) 0 ;
12684 wxString
*arg2
= 0 ;
12685 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12688 bool temp2
= False
;
12689 bool temp3
= False
;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 PyObject
* obj2
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 arg2
= wxString_in_helper(obj1
);
12702 if (arg2
== NULL
) SWIG_fail
;
12707 arg3
= wxString_in_helper(obj2
);
12708 if (arg3
== NULL
) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= result
;
12742 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxFileType
*arg1
= (wxFileType
*) 0 ;
12745 wxString
*arg2
= 0 ;
12746 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12747 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12749 bool temp2
= False
;
12750 bool temp3
= False
;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 PyObject
* obj2
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 arg2
= wxString_in_helper(obj1
);
12763 if (arg2
== NULL
) SWIG_fail
;
12768 arg3
= wxString_in_helper(obj2
);
12769 if (arg3
== NULL
) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= result
;
12803 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxFileType
*arg1
= (wxFileType
*) 0 ;
12806 wxString
*arg2
= 0 ;
12807 wxString
*arg3
= 0 ;
12808 bool arg4
= (bool) True
;
12810 bool temp2
= False
;
12811 bool temp3
= False
;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 PyObject
* obj2
= 0 ;
12815 PyObject
* obj3
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 arg2
= wxString_in_helper(obj1
);
12825 if (arg2
== NULL
) SWIG_fail
;
12829 arg3
= wxString_in_helper(obj2
);
12830 if (arg3
== NULL
) SWIG_fail
;
12834 arg4
= (bool) SWIG_AsBool(obj3
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12869 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxFileType
*arg1
= (wxFileType
*) 0 ;
12872 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12873 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12874 int arg3
= (int) 0 ;
12876 bool temp2
= False
;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self",(char *) "cmd",(char *) "index", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12889 arg2
= wxString_in_helper(obj1
);
12890 if (arg2
== NULL
) SWIG_fail
;
12895 arg3
= (int) SWIG_AsInt(obj2
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12922 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxFileType
*arg1
= (wxFileType
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (bool)(arg1
)->Unassociate();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12950 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxString
*arg1
= 0 ;
12953 wxString
*arg2
= 0 ;
12954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12957 bool temp1
= False
;
12958 bool temp2
= False
;
12959 bool temp3
= False
;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 PyObject
* obj2
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12969 arg1
= wxString_in_helper(obj0
);
12970 if (arg1
== NULL
) SWIG_fail
;
12974 arg2
= wxString_in_helper(obj1
);
12975 if (arg2
== NULL
) SWIG_fail
;
12980 arg3
= wxString_in_helper(obj2
);
12981 if (arg3
== NULL
) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13029 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13032 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13034 return Py_BuildValue((char *)"");
13036 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13037 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13042 static PyObject
*_wrap_TheMimeTypesManager_get() {
13045 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13050 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxString
*arg1
= 0 ;
13053 wxString
*arg2
= 0 ;
13055 bool temp1
= False
;
13056 bool temp2
= False
;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "mimeType",(char *) "wildcard", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13065 arg1
= wxString_in_helper(obj0
);
13066 if (arg1
== NULL
) SWIG_fail
;
13070 arg2
= wxString_in_helper(obj1
);
13071 if (arg2
== NULL
) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13106 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxMimeTypesManager
*result
;
13109 char *kwnames
[] = {
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13128 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13131 int arg2
= (int) wxMAILCAP_ALL
;
13132 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13133 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13134 bool temp3
= False
;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 PyObject
* obj2
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13146 arg2
= (int) SWIG_AsInt(obj1
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13151 arg3
= wxString_in_helper(obj2
);
13152 if (arg3
== NULL
) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->ClearData();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13206 wxString
*arg2
= 0 ;
13207 wxFileType
*result
;
13208 bool temp2
= False
;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "ext", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13219 arg2
= wxString_in_helper(obj1
);
13220 if (arg2
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13245 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13248 wxString
*arg2
= 0 ;
13249 wxFileType
*result
;
13250 bool temp2
= False
;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self",(char *) "mimeType", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg2
= wxString_in_helper(obj1
);
13262 if (arg2
== NULL
) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13287 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13290 wxString
*arg2
= 0 ;
13291 bool arg3
= (bool) False
;
13293 bool temp2
= False
;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 PyObject
* obj2
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 arg2
= wxString_in_helper(obj1
);
13306 if (arg2
== NULL
) SWIG_fail
;
13310 arg3
= (bool) SWIG_AsBool(obj2
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13337 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13340 wxString
*arg2
= 0 ;
13342 bool temp2
= False
;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "filename", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13353 arg2
= wxString_in_helper(obj1
);
13354 if (arg2
== NULL
) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13381 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= result
;
13407 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13410 wxFileTypeInfo
*arg2
= 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "ft", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13423 if (arg2
== NULL
) {
13424 PyErr_SetString(PyExc_TypeError
,"null reference");
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 Py_INCREF(Py_None
); resultobj
= Py_None
;
13441 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13444 wxFileTypeInfo
*arg2
= 0 ;
13445 wxFileType
*result
;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "ftInfo", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13458 if (arg2
== NULL
) {
13459 PyErr_SetString(PyExc_TypeError
,"null reference");
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13476 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13479 wxFileType
*arg2
= (wxFileType
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "ft", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (bool)(arg1
)->Unassociate(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13508 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 char *kwnames
[] = {
13513 (char *) "self", NULL
13516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 Py_INCREF(Py_None
); resultobj
= Py_None
;
13533 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13536 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13538 return Py_BuildValue((char *)"");
13540 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13541 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13546 static PyObject
*_wrap_ART_TOOLBAR_get() {
13551 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13553 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13560 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13561 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13566 static PyObject
*_wrap_ART_MENU_get() {
13571 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13573 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13580 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13581 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13586 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13591 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13593 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13600 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13601 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13606 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13611 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13613 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13620 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13621 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13626 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13631 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13633 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13640 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13641 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13646 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13651 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13653 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13660 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13661 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13666 static PyObject
*_wrap_ART_OTHER_get() {
13671 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13673 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13680 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13681 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13686 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13691 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13693 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13700 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13701 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13706 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13711 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13713 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13720 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13721 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13726 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13731 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13733 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13740 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13741 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13746 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13751 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13753 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13760 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13761 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13766 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13771 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13773 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13780 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13781 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13786 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13791 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13793 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13800 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13801 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13806 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13811 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13813 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13820 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13821 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13826 static PyObject
*_wrap_ART_GO_BACK_get() {
13831 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13833 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13840 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13841 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13846 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13851 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13853 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13860 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13861 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13866 static PyObject
*_wrap_ART_GO_UP_get() {
13871 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13873 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13880 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13881 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13886 static PyObject
*_wrap_ART_GO_DOWN_get() {
13891 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13893 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13900 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13901 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13906 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13911 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13913 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13920 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13921 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13926 static PyObject
*_wrap_ART_GO_HOME_get() {
13931 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13933 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13940 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13941 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13946 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13951 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13953 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13960 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13961 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13966 static PyObject
*_wrap_ART_PRINT_get() {
13971 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13973 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13980 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13981 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13986 static PyObject
*_wrap_ART_HELP_get() {
13991 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13993 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14000 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14001 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14006 static PyObject
*_wrap_ART_TIP_get() {
14011 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14013 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14020 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14021 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14026 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14031 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14033 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14040 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14041 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14046 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14051 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14053 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14060 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14061 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14066 static PyObject
*_wrap_ART_NEW_DIR_get() {
14071 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14073 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14080 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14081 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14086 static PyObject
*_wrap_ART_FOLDER_get() {
14091 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14093 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14100 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14101 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14106 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14111 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14113 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14120 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14121 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14126 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14131 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14133 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14140 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14141 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14146 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14151 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14153 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14160 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14161 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14166 static PyObject
*_wrap_ART_TICK_MARK_get() {
14171 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14173 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14180 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14181 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14186 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14191 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14193 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14200 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14201 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14206 static PyObject
*_wrap_ART_ERROR_get() {
14211 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14213 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14220 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14221 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14226 static PyObject
*_wrap_ART_QUESTION_get() {
14231 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14233 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14240 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14241 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14246 static PyObject
*_wrap_ART_WARNING_get() {
14251 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14253 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14260 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14261 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14266 static PyObject
*_wrap_ART_INFORMATION_get() {
14271 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14273 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14280 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14281 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14286 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14291 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14293 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14300 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxPyArtProvider
*result
;
14303 char *kwnames
[] = {
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14322 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14325 PyObject
*arg2
= (PyObject
*) 0 ;
14326 PyObject
*arg3
= (PyObject
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 PyObject
* obj2
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self",(char *) "self",(char *) "_class", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "provider", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 wxPyArtProvider::PushProvider(arg1
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 Py_INCREF(Py_None
); resultobj
= Py_None
;
14378 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14381 char *kwnames
[] = {
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)wxPyArtProvider::PopProvider();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14402 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "provider", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14430 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxString
*arg1
= 0 ;
14433 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14434 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14435 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14436 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14438 bool temp1
= False
;
14439 bool temp2
= False
;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 PyObject
* obj2
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "id",(char *) "client",(char *) "size", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14450 arg1
= wxString_in_helper(obj0
);
14451 if (arg1
== NULL
) SWIG_fail
;
14456 arg2
= wxString_in_helper(obj1
);
14457 if (arg2
== NULL
) SWIG_fail
;
14464 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14475 wxBitmap
* resultptr
;
14476 resultptr
= new wxBitmap((wxBitmap
&) result
);
14477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14501 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxString
*arg1
= 0 ;
14504 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14505 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14506 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14507 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14509 bool temp1
= False
;
14510 bool temp2
= False
;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 PyObject
* obj2
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "id",(char *) "client",(char *) "size", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14521 arg1
= wxString_in_helper(obj0
);
14522 if (arg1
== NULL
) SWIG_fail
;
14527 arg2
= wxString_in_helper(obj1
);
14528 if (arg2
== NULL
) SWIG_fail
;
14535 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 wxIcon
* resultptr
;
14547 resultptr
= new wxIcon((wxIcon
&) result
);
14548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14572 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 wxPyArtProvider_Destroy(arg1
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 Py_INCREF(Py_None
); resultobj
= Py_None
;
14597 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14600 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14602 return Py_BuildValue((char *)"");
14604 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 Py_INCREF(Py_None
); resultobj
= Py_None
;
14629 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14632 wxConfigBase
*result
;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "config", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",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();
14643 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14655 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 bool arg1
= (bool) True
;
14658 wxConfigBase
*result
;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "createOnDemand", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14666 arg1
= (bool) SWIG_AsBool(obj0
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14683 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxConfigBase
*result
;
14686 char *kwnames
[] = {
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (wxConfigBase
*)wxConfigBase::Create();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14705 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 char *kwnames
[] = {
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 wxConfigBase::DontCreateOnDemand();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 Py_INCREF(Py_None
); resultobj
= Py_None
;
14726 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14729 wxString
*arg2
= 0 ;
14730 bool temp2
= False
;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self",(char *) "path", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 arg2
= wxString_in_helper(obj1
);
14742 if (arg2
== NULL
) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 (arg1
)->SetPath((wxString
const &)*arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14783 result
= (wxString
*) &_result_ref
;
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14802 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= result
;
14828 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 PyObject
* obj1
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self",(char *) "index", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14842 arg2
= (long) SWIG_AsLong(obj1
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= result
;
14858 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= result
;
14884 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "index", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (long) SWIG_AsLong(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
;
14914 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14917 bool arg2
= (bool) False
;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "recursive", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 arg2
= (bool) SWIG_AsBool(obj1
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14946 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14949 bool arg2
= (bool) False
;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "recursive", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 arg2
= (bool) SWIG_AsBool(obj1
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14978 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14981 wxString
*arg2
= 0 ;
14983 bool temp2
= False
;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self",(char *) "name", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 arg2
= wxString_in_helper(obj1
);
14995 if (arg2
== NULL
) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15025 wxString
*arg2
= 0 ;
15027 bool temp2
= False
;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "name", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg2
= wxString_in_helper(obj1
);
15039 if (arg2
== NULL
) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15066 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15069 wxString
*arg2
= 0 ;
15071 bool temp2
= False
;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "name", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 arg2
= wxString_in_helper(obj1
);
15083 if (arg2
== NULL
) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15110 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15113 wxString
*arg2
= 0 ;
15115 bool temp2
= False
;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self",(char *) "name", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 arg2
= wxString_in_helper(obj1
);
15127 if (arg2
== NULL
) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_FromInt((int)result
);
15152 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15155 wxString
*arg2
= 0 ;
15156 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15157 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15159 bool temp2
= False
;
15160 bool temp3
= False
;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15163 PyObject
* obj2
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15172 arg2
= wxString_in_helper(obj1
);
15173 if (arg2
== NULL
) SWIG_fail
;
15178 arg3
= wxString_in_helper(obj2
);
15179 if (arg3
== NULL
) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15219 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15222 wxString
*arg2
= 0 ;
15223 long arg3
= (long) 0 ;
15225 bool temp2
= False
;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 PyObject
* obj2
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 arg2
= wxString_in_helper(obj1
);
15238 if (arg2
== NULL
) SWIG_fail
;
15242 arg3
= (long) SWIG_AsLong(obj2
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_FromLong((long)result
);
15267 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15270 wxString
*arg2
= 0 ;
15271 double arg3
= (double) 0.0 ;
15273 bool temp2
= False
;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 PyObject
* obj2
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 arg2
= wxString_in_helper(obj1
);
15286 if (arg2
== NULL
) SWIG_fail
;
15290 arg3
= (double) SWIG_AsDouble(obj2
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_FromDouble((double)result
);
15315 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15318 wxString
*arg2
= 0 ;
15319 bool arg3
= (bool) False
;
15321 bool temp2
= False
;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 arg2
= wxString_in_helper(obj1
);
15334 if (arg2
== NULL
) SWIG_fail
;
15338 arg3
= (bool) SWIG_AsBool(obj2
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15365 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15368 wxString
*arg2
= 0 ;
15369 wxString
*arg3
= 0 ;
15371 bool temp2
= False
;
15372 bool temp3
= False
;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "key",(char *) "value", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 arg2
= wxString_in_helper(obj1
);
15385 if (arg2
== NULL
) SWIG_fail
;
15389 arg3
= wxString_in_helper(obj2
);
15390 if (arg3
== NULL
) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15425 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15428 wxString
*arg2
= 0 ;
15431 bool temp2
= False
;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "key",(char *) "value", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 arg2
= wxString_in_helper(obj1
);
15444 if (arg2
== NULL
) SWIG_fail
;
15447 arg3
= (long) SWIG_AsLong(obj2
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15473 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15476 wxString
*arg2
= 0 ;
15479 bool temp2
= False
;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 PyObject
* obj2
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "key",(char *) "value", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15491 arg2
= wxString_in_helper(obj1
);
15492 if (arg2
== NULL
) SWIG_fail
;
15495 arg3
= (double) SWIG_AsDouble(obj2
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15521 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15524 wxString
*arg2
= 0 ;
15527 bool temp2
= False
;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 PyObject
* obj2
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self",(char *) "key",(char *) "value", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 arg2
= wxString_in_helper(obj1
);
15540 if (arg2
== NULL
) SWIG_fail
;
15543 arg3
= (bool) SWIG_AsBool(obj2
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15572 bool arg2
= (bool) False
;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "currentOnly", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 arg2
= (bool) SWIG_AsBool(obj1
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (bool)(arg1
)->Flush(arg2
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15603 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15606 wxString
*arg2
= 0 ;
15607 wxString
*arg3
= 0 ;
15609 bool temp2
= False
;
15610 bool temp3
= False
;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 PyObject
* obj2
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 arg2
= wxString_in_helper(obj1
);
15623 if (arg2
== NULL
) SWIG_fail
;
15627 arg3
= wxString_in_helper(obj2
);
15628 if (arg3
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15666 wxString
*arg2
= 0 ;
15667 wxString
*arg3
= 0 ;
15669 bool temp2
= False
;
15670 bool temp3
= False
;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 arg2
= wxString_in_helper(obj1
);
15683 if (arg2
== NULL
) SWIG_fail
;
15687 arg3
= wxString_in_helper(obj2
);
15688 if (arg3
== NULL
) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15726 wxString
*arg2
= 0 ;
15727 bool arg3
= (bool) True
;
15729 bool temp2
= False
;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 arg2
= wxString_in_helper(obj1
);
15742 if (arg2
== NULL
) SWIG_fail
;
15746 arg3
= (bool) SWIG_AsBool(obj2
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15776 wxString
*arg2
= 0 ;
15778 bool temp2
= False
;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "key", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15789 arg2
= wxString_in_helper(obj1
);
15790 if (arg2
== NULL
) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15817 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (bool)(arg1
)->DeleteAll();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15845 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15848 bool arg2
= (bool) True
;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "doIt", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 arg2
= (bool) SWIG_AsBool(obj1
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 (arg1
)->SetExpandEnvVars(arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 Py_INCREF(Py_None
); resultobj
= Py_None
;
15876 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15904 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15907 bool arg2
= (bool) True
;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "doIt", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15918 arg2
= (bool) SWIG_AsBool(obj1
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 (arg1
)->SetRecordDefaults(arg2
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 Py_INCREF(Py_None
); resultobj
= Py_None
;
15935 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15966 wxString
*arg2
= 0 ;
15968 bool temp2
= False
;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self",(char *) "str", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15979 arg2
= wxString_in_helper(obj1
);
15980 if (arg2
== NULL
) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16011 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16043 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16075 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16078 wxString
*arg2
= 0 ;
16079 bool temp2
= False
;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "appName", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 arg2
= wxString_in_helper(obj1
);
16091 if (arg2
== NULL
) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 (arg1
)->SetAppName((wxString
const &)*arg2
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 Py_INCREF(Py_None
); resultobj
= Py_None
;
16116 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16119 wxString
*arg2
= 0 ;
16120 bool temp2
= False
;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self",(char *) "vendorName", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 arg2
= wxString_in_helper(obj1
);
16132 if (arg2
== NULL
) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16157 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "style", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 arg2
= (long) SWIG_AsLong(obj1
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 (arg1
)->SetStyle(arg2
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 Py_INCREF(Py_None
); resultobj
= Py_None
;
16186 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16190 PyObject
* obj0
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_FromLong((long)result
);
16212 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16215 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16217 return Py_BuildValue((char *)"");
16219 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16222 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16223 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16224 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16225 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16226 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16227 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16228 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16229 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16231 bool temp1
= False
;
16232 bool temp2
= False
;
16233 bool temp3
= False
;
16234 bool temp4
= False
;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 PyObject
* obj2
= 0 ;
16238 PyObject
* obj3
= 0 ;
16239 PyObject
* obj4
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16247 arg1
= wxString_in_helper(obj0
);
16248 if (arg1
== NULL
) SWIG_fail
;
16254 arg2
= wxString_in_helper(obj1
);
16255 if (arg2
== NULL
) SWIG_fail
;
16261 arg3
= wxString_in_helper(obj2
);
16262 if (arg3
== NULL
) SWIG_fail
;
16268 arg4
= wxString_in_helper(obj3
);
16269 if (arg4
== NULL
) SWIG_fail
;
16274 arg5
= (long) SWIG_AsLong(obj4
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16323 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxConfig
*arg1
= (wxConfig
*) 0 ;
16326 PyObject
* obj0
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 Py_INCREF(Py_None
); resultobj
= Py_None
;
16348 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16351 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16353 return Py_BuildValue((char *)"");
16355 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16358 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16359 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16360 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16361 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16362 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16363 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16364 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16365 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16366 wxFileConfig
*result
;
16367 bool temp1
= False
;
16368 bool temp2
= False
;
16369 bool temp3
= False
;
16370 bool temp4
= False
;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 PyObject
* obj2
= 0 ;
16374 PyObject
* obj3
= 0 ;
16375 PyObject
* obj4
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16383 arg1
= wxString_in_helper(obj0
);
16384 if (arg1
== NULL
) SWIG_fail
;
16390 arg2
= wxString_in_helper(obj1
);
16391 if (arg2
== NULL
) SWIG_fail
;
16397 arg3
= wxString_in_helper(obj2
);
16398 if (arg3
== NULL
) SWIG_fail
;
16404 arg4
= wxString_in_helper(obj3
);
16405 if (arg4
== NULL
) SWIG_fail
;
16410 arg5
= (long) SWIG_AsLong(obj4
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16459 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 Py_INCREF(Py_None
); resultobj
= Py_None
;
16484 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16487 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16489 return Py_BuildValue((char *)"");
16491 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16494 wxString
*arg2
= 0 ;
16495 wxConfigPathChanger
*result
;
16496 bool temp2
= False
;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "config",(char *) "entry", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 arg2
= wxString_in_helper(obj1
);
16508 if (arg2
== NULL
) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16533 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 Py_INCREF(Py_None
); resultobj
= Py_None
;
16558 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16574 result
= (wxString
*) &_result_ref
;
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16584 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16593 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16596 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16598 return Py_BuildValue((char *)"");
16600 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxString
*arg1
= 0 ;
16604 bool temp1
= False
;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "sz", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16612 arg1
= wxString_in_helper(obj0
);
16613 if (arg1
== NULL
) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16644 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16645 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16650 static PyObject
*_wrap_DateFormatStr_get() {
16655 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16657 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16664 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16665 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16670 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16675 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16677 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16684 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "country", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16693 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16712 char *kwnames
[] = {
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (int)wxDateTime::GetCountry();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_FromInt((int)result
);
16731 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 int arg1
= (int) wxDateTime::Country_Default
;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "country", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16742 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16761 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 int arg1
= (int) wxDateTime::Gregorian
;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "cal", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16772 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_FromInt((int)result
);
16789 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16793 PyObject
* obj0
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "year", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16799 arg1
= (int) SWIG_AsInt(obj0
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_FromInt((int)result
);
16815 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 int arg1
= (int) wxDateTime::Gregorian
;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "cal", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16826 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_FromInt((int)result
);
16843 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 int arg1
= (int) wxDateTime::Inv_Year
;
16846 int arg2
= (int) wxDateTime::Gregorian
;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "year",(char *) "cal", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16856 arg1
= (int) SWIG_AsInt(obj0
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16879 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 int arg1
= (int) wxDateTime::Inv_Year
;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "year", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16890 arg1
= (int) SWIG_AsInt(obj0
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (int)wxDateTime::GetCentury(arg1
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_FromInt((int)result
);
16907 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16910 int arg2
= (int) wxDateTime::Gregorian
;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "year",(char *) "cal", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16919 arg1
= (int) SWIG_AsInt(obj0
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_FromInt((int)result
);
16939 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16942 int arg2
= (int) wxDateTime::Inv_Year
;
16943 int arg3
= (int) wxDateTime::Gregorian
;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 PyObject
* obj2
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "month",(char *) "year",(char *) "cal", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16953 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 arg2
= (int) SWIG_AsInt(obj1
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_FromInt((int)result
);
16977 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16980 int arg2
= (int) wxDateTime::Name_Full
;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "month",(char *) "flags", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16989 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17015 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17018 int arg2
= (int) wxDateTime::Name_Full
;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "weekday",(char *) "flags", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17027 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17053 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxString
*arg1
= (wxString
*) 0 ;
17056 wxString
*arg2
= (wxString
*) 0 ;
17057 bool temp1
= False
;
17058 bool temp2
= False
;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17067 arg1
= wxString_in_helper(obj0
);
17068 if (arg1
== NULL
) SWIG_fail
;
17072 arg2
= wxString_in_helper(obj1
);
17073 if (arg2
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 int arg1
= (int) wxDateTime::Inv_Year
;
17109 int arg2
= (int) wxDateTime::Country_Default
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "year",(char *) "country", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17119 arg1
= (int) SWIG_AsInt(obj0
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17142 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 int arg1
= (int) wxDateTime::Inv_Year
;
17145 int arg2
= (int) wxDateTime::Country_Default
;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "year",(char *) "country", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 arg1
= (int) SWIG_AsInt(obj0
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 wxDateTime
* resultptr
;
17171 resultptr
= new wxDateTime((wxDateTime
&) result
);
17172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17180 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 int arg1
= (int) wxDateTime::Inv_Year
;
17183 int arg2
= (int) wxDateTime::Country_Default
;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "year",(char *) "country", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17193 arg1
= (int) SWIG_AsInt(obj0
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 wxDateTime
* resultptr
;
17209 resultptr
= new wxDateTime((wxDateTime
&) result
);
17210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17218 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17221 char *kwnames
[] = {
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= wxDateTime::Now();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 wxDateTime
* resultptr
;
17235 resultptr
= new wxDateTime((wxDateTime
&) result
);
17236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17244 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17247 char *kwnames
[] = {
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= wxDateTime::UNow();
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 wxDateTime
* resultptr
;
17261 resultptr
= new wxDateTime((wxDateTime
&) result
);
17262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17270 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17273 char *kwnames
[] = {
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= wxDateTime::Today();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 wxDateTime
* resultptr
;
17287 resultptr
= new wxDateTime((wxDateTime
&) result
);
17288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17296 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxDateTime
*result
;
17299 char *kwnames
[] = {
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (wxDateTime
*)new wxDateTime();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17318 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17321 wxDateTime
*result
;
17322 PyObject
* obj0
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "timet", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17328 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (wxDateTime
*)new wxDateTime(arg1
);
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17344 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17347 wxDateTime
*result
;
17348 PyObject
* obj0
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "jdn", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17354 arg1
= (double) SWIG_AsDouble(obj0
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (wxDateTime
*)new wxDateTime(arg1
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17370 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17373 int arg2
= (int) 0 ;
17374 int arg3
= (int) 0 ;
17375 int arg4
= (int) 0 ;
17376 wxDateTime
*result
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 PyObject
* obj2
= 0 ;
17380 PyObject
* obj3
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17386 arg1
= (int) SWIG_AsInt(obj0
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 arg2
= (int) SWIG_AsInt(obj1
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 arg3
= (int) SWIG_AsInt(obj2
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 arg4
= (int) SWIG_AsInt(obj3
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17414 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17417 int arg2
= (int) wxDateTime::Inv_Month
;
17418 int arg3
= (int) wxDateTime::Inv_Year
;
17419 int arg4
= (int) 0 ;
17420 int arg5
= (int) 0 ;
17421 int arg6
= (int) 0 ;
17422 int arg7
= (int) 0 ;
17423 wxDateTime
*result
;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 PyObject
* obj2
= 0 ;
17427 PyObject
* obj3
= 0 ;
17428 PyObject
* obj4
= 0 ;
17429 PyObject
* obj5
= 0 ;
17430 PyObject
* obj6
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17436 arg1
= (int) SWIG_AsInt(obj0
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17440 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 arg6
= (int) SWIG_AsInt(obj5
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 arg7
= (int) SWIG_AsInt(obj6
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17476 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 Py_INCREF(Py_None
); resultobj
= Py_None
;
17501 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17504 wxDateTime
*result
;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17517 result
= (wxDateTime
*) &_result_ref
;
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17530 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17534 wxDateTime
*result
;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "timet", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17544 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17550 result
= (wxDateTime
*) &_result_ref
;
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17563 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17567 wxDateTime
*result
;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "jdn", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 arg2
= (double) SWIG_AsDouble(obj1
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17583 result
= (wxDateTime
*) &_result_ref
;
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17596 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17600 int arg3
= (int) 0 ;
17601 int arg4
= (int) 0 ;
17602 int arg5
= (int) 0 ;
17603 wxDateTime
*result
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 PyObject
* obj3
= 0 ;
17608 PyObject
* obj4
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 arg2
= (int) SWIG_AsInt(obj1
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 arg3
= (int) SWIG_AsInt(obj2
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 arg4
= (int) SWIG_AsInt(obj3
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 arg5
= (int) SWIG_AsInt(obj4
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17634 result
= (wxDateTime
*) &_result_ref
;
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17647 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17651 int arg3
= (int) wxDateTime::Inv_Month
;
17652 int arg4
= (int) wxDateTime::Inv_Year
;
17653 int arg5
= (int) 0 ;
17654 int arg6
= (int) 0 ;
17655 int arg7
= (int) 0 ;
17656 int arg8
= (int) 0 ;
17657 wxDateTime
*result
;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 PyObject
* obj3
= 0 ;
17662 PyObject
* obj4
= 0 ;
17663 PyObject
* obj5
= 0 ;
17664 PyObject
* obj6
= 0 ;
17665 PyObject
* obj7
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 arg2
= (int) SWIG_AsInt(obj1
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 arg4
= (int) SWIG_AsInt(obj3
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17684 arg5
= (int) SWIG_AsInt(obj4
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 arg6
= (int) SWIG_AsInt(obj5
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 arg7
= (int) SWIG_AsInt(obj6
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 arg8
= (int) SWIG_AsInt(obj7
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17703 result
= (wxDateTime
*) &_result_ref
;
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17716 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17719 wxDateTime
*result
;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17732 result
= (wxDateTime
*) &_result_ref
;
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17745 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17749 wxDateTime
*result
;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "self",(char *) "year", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17759 arg2
= (int) SWIG_AsInt(obj1
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17765 result
= (wxDateTime
*) &_result_ref
;
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17778 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17782 wxDateTime
*result
;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "month", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17792 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17798 result
= (wxDateTime
*) &_result_ref
;
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17811 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17815 wxDateTime
*result
;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self",(char *) "day", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17825 arg2
= (int) SWIG_AsInt(obj1
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17831 result
= (wxDateTime
*) &_result_ref
;
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17844 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17848 wxDateTime
*result
;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self",(char *) "hour", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 arg2
= (int) SWIG_AsInt(obj1
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17864 result
= (wxDateTime
*) &_result_ref
;
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17877 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17881 wxDateTime
*result
;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "minute", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 arg2
= (int) SWIG_AsInt(obj1
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17897 result
= (wxDateTime
*) &_result_ref
;
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17910 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17914 wxDateTime
*result
;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "second", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 arg2
= (int) SWIG_AsInt(obj1
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17930 result
= (wxDateTime
*) &_result_ref
;
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17943 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17947 wxDateTime
*result
;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "millisecond", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 arg2
= (int) SWIG_AsInt(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17963 result
= (wxDateTime
*) &_result_ref
;
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17976 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17980 int arg3
= (int) wxDateTime::Monday_First
;
17981 wxDateTime
*result
;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 PyObject
* obj2
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17992 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18002 result
= (wxDateTime
*) &_result_ref
;
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18015 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18019 int arg3
= (int) wxDateTime::Monday_First
;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxDateTime
* resultptr
;
18046 resultptr
= new wxDateTime((wxDateTime
&) result
);
18047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18055 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18059 wxDateTime
*result
;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "weekday", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18075 result
= (wxDateTime
*) &_result_ref
;
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18088 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "weekday", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 wxDateTime
* resultptr
;
18113 resultptr
= new wxDateTime((wxDateTime
&) result
);
18114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18122 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18126 wxDateTime
*result
;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self",(char *) "weekday", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18142 result
= (wxDateTime
*) &_result_ref
;
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18155 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "weekday", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18169 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18179 wxDateTime
* resultptr
;
18180 resultptr
= new wxDateTime((wxDateTime
&) result
);
18181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18189 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18193 int arg3
= (int) 1 ;
18194 int arg4
= (int) wxDateTime::Inv_Month
;
18195 int arg5
= (int) wxDateTime::Inv_Year
;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 PyObject
* obj2
= 0 ;
18200 PyObject
* obj3
= 0 ;
18201 PyObject
* obj4
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 arg3
= (int) SWIG_AsInt(obj2
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18216 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 arg5
= (int) SWIG_AsInt(obj4
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18239 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18243 int arg3
= (int) wxDateTime::Inv_Month
;
18244 int arg4
= (int) wxDateTime::Inv_Year
;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 PyObject
* obj2
= 0 ;
18249 PyObject
* obj3
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 arg4
= (int) SWIG_AsInt(obj3
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18283 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18287 int arg3
= (int) wxDateTime::Inv_Month
;
18288 int arg4
= (int) wxDateTime::Inv_Year
;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 PyObject
* obj2
= 0 ;
18293 PyObject
* obj3
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18301 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 arg4
= (int) SWIG_AsInt(obj3
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 wxDateTime
* resultptr
;
18320 resultptr
= new wxDateTime((wxDateTime
&) result
);
18321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18329 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18333 int arg3
= (int) wxDateTime::Mon
;
18334 int arg4
= (int) wxDateTime::Monday_First
;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 PyObject
* obj2
= 0 ;
18339 PyObject
* obj3
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 arg2
= (int) SWIG_AsInt(obj1
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18373 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18377 int arg3
= (int) wxDateTime::Mon
;
18378 int arg4
= (int) wxDateTime::Monday_First
;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 PyObject
* obj2
= 0 ;
18383 PyObject
* obj3
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 arg2
= (int) SWIG_AsInt(obj1
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18398 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 wxDateTime
* resultptr
;
18410 resultptr
= new wxDateTime((wxDateTime
&) result
);
18411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18419 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18422 int arg2
= (int) wxDateTime::Inv_Month
;
18423 int arg3
= (int) wxDateTime::Inv_Year
;
18424 wxDateTime
*result
;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 PyObject
* obj2
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "month",(char *) "year", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 arg3
= (int) SWIG_AsInt(obj2
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18447 result
= (wxDateTime
*) &_result_ref
;
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18460 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18463 int arg2
= (int) wxDateTime::Inv_Month
;
18464 int arg3
= (int) wxDateTime::Inv_Year
;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 PyObject
* obj2
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "month",(char *) "year", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18477 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 arg3
= (int) SWIG_AsInt(obj2
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18492 wxDateTime
* resultptr
;
18493 resultptr
= new wxDateTime((wxDateTime
&) result
);
18494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18502 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18506 wxDateTime
*result
;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "yday", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18516 arg2
= (int) SWIG_AsInt(obj1
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18522 result
= (wxDateTime
*) &_result_ref
;
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18535 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 PyObject
* obj1
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self",(char *) "yday", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 arg2
= (int) SWIG_AsInt(obj1
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 result
= (arg1
)->GetYearDay(arg2
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18559 wxDateTime
* resultptr
;
18560 resultptr
= new wxDateTime((wxDateTime
&) result
);
18561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18569 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (double)(arg1
)->GetJulianDayNumber();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_FromDouble((double)result
);
18595 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (double)(arg1
)->GetJDN();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= SWIG_FromDouble((double)result
);
18621 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_FromDouble((double)result
);
18647 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (double)(arg1
)->GetMJD();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_FromDouble((double)result
);
18673 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (double)(arg1
)->GetRataDie();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_FromDouble((double)result
);
18699 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18702 wxDateTime::TimeZone
*arg2
= 0 ;
18703 bool arg3
= (bool) False
;
18705 bool temp2
= False
;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 PyObject
* obj2
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18721 arg3
= (bool) SWIG_AsBool(obj2
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18732 wxDateTime
* resultptr
;
18733 resultptr
= new wxDateTime((wxDateTime
&) result
);
18734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18737 if (temp2
) delete arg2
;
18742 if (temp2
) delete arg2
;
18748 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18751 wxDateTime::TimeZone
*arg2
= 0 ;
18752 bool arg3
= (bool) False
;
18753 wxDateTime
*result
;
18754 bool temp2
= False
;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 PyObject
* obj2
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18766 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18770 arg3
= (bool) SWIG_AsBool(obj2
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18777 result
= (wxDateTime
*) &_result_ref
;
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18785 if (temp2
) delete arg2
;
18790 if (temp2
) delete arg2
;
18796 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18799 bool arg2
= (bool) False
;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "noDST", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18811 arg2
= (bool) SWIG_AsBool(obj1
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (arg1
)->ToGMT(arg2
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 wxDateTime
* resultptr
;
18823 resultptr
= new wxDateTime((wxDateTime
&) result
);
18824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18832 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18835 bool arg2
= (bool) False
;
18836 wxDateTime
*result
;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "self",(char *) "noDST", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18847 arg2
= (bool) SWIG_AsBool(obj1
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18854 result
= (wxDateTime
*) &_result_ref
;
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18867 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18870 int arg2
= (int) wxDateTime::Country_Default
;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self",(char *) "country", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 resultobj
= SWIG_FromInt((int)result
);
18899 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18927 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18953 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18956 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18957 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18959 bool temp2
= False
;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self",(char *) "tz", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_FromInt((int)result
);
18984 if (temp2
) delete arg2
;
18989 if (temp2
) delete arg2
;
18995 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18998 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18999 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19001 bool temp2
= False
;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self",(char *) "tz", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= SWIG_FromInt((int)result
);
19026 if (temp2
) delete arg2
;
19031 if (temp2
) delete arg2
;
19037 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19040 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19041 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19043 bool temp2
= False
;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "tz", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_FromInt((int)result
);
19068 if (temp2
) delete arg2
;
19073 if (temp2
) delete arg2
;
19079 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19082 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19083 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19085 bool temp2
= False
;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self",(char *) "tz", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19097 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_FromInt((int)result
);
19110 if (temp2
) delete arg2
;
19115 if (temp2
) delete arg2
;
19121 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19124 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19125 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19127 bool temp2
= False
;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "tz", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_FromInt((int)result
);
19152 if (temp2
) delete arg2
;
19157 if (temp2
) delete arg2
;
19163 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19166 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19167 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19169 bool temp2
= False
;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "tz", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_FromInt((int)result
);
19194 if (temp2
) delete arg2
;
19199 if (temp2
) delete arg2
;
19205 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19208 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19209 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19211 bool temp2
= False
;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self",(char *) "tz", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_FromInt((int)result
);
19236 if (temp2
) delete arg2
;
19241 if (temp2
) delete arg2
;
19247 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19250 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19251 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19253 bool temp2
= False
;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self",(char *) "tz", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_FromInt((int)result
);
19278 if (temp2
) delete arg2
;
19283 if (temp2
) delete arg2
;
19289 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19292 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19293 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19295 bool temp2
= False
;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "tz", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_FromInt((int)result
);
19320 if (temp2
) delete arg2
;
19325 if (temp2
) delete arg2
;
19331 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19334 int arg2
= (int) wxDateTime::Monday_First
;
19335 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19336 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19338 bool temp3
= False
;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 PyObject
* obj2
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "flags",(char *) "tz", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19355 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= SWIG_FromInt((int)result
);
19368 if (temp3
) delete arg3
;
19373 if (temp3
) delete arg3
;
19379 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19382 int arg2
= (int) wxDateTime::Monday_First
;
19383 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19384 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19386 bool temp3
= False
;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 PyObject
* obj2
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "flags",(char *) "tz", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19403 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_FromInt((int)result
);
19416 if (temp3
) delete arg3
;
19421 if (temp3
) delete arg3
;
19427 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19430 int arg2
= (int) wxDateTime::Country_Default
;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self",(char *) "country", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19461 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19464 wxDateTime
*arg2
= 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "datetime", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19478 if (arg2
== NULL
) {
19479 PyErr_SetString(PyExc_TypeError
,"null reference");
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19498 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19501 wxDateTime
*arg2
= 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self",(char *) "datetime", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19515 if (arg2
== NULL
) {
19516 PyErr_SetString(PyExc_TypeError
,"null reference");
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19535 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19538 wxDateTime
*arg2
= 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self",(char *) "datetime", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19552 if (arg2
== NULL
) {
19553 PyErr_SetString(PyExc_TypeError
,"null reference");
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19572 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19575 wxDateTime
*arg2
= 0 ;
19576 wxDateTime
*arg3
= 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 PyObject
* obj2
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self",(char *) "t1",(char *) "t2", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19591 if (arg2
== NULL
) {
19592 PyErr_SetString(PyExc_TypeError
,"null reference");
19595 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19598 if (arg3
== NULL
) {
19599 PyErr_SetString(PyExc_TypeError
,"null reference");
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19618 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19621 wxDateTime
*arg2
= 0 ;
19622 wxDateTime
*arg3
= 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 PyObject
* obj2
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "t1",(char *) "t2", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxDateTime
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19637 if (arg2
== NULL
) {
19638 PyErr_SetString(PyExc_TypeError
,"null reference");
19641 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19644 if (arg3
== NULL
) {
19645 PyErr_SetString(PyExc_TypeError
,"null reference");
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19664 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19667 wxDateTime
*arg2
= 0 ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "dt", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19681 if (arg2
== NULL
) {
19682 PyErr_SetString(PyExc_TypeError
,"null reference");
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19701 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19704 wxDateTime
*arg2
= 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "dt", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19718 if (arg2
== NULL
) {
19719 PyErr_SetString(PyExc_TypeError
,"null reference");
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19738 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19741 wxDateTime
*arg2
= 0 ;
19742 wxTimeSpan
*arg3
= 0 ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 PyObject
* obj2
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self",(char *) "dt",(char *) "ts", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19757 if (arg2
== NULL
) {
19758 PyErr_SetString(PyExc_TypeError
,"null reference");
19761 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19764 if (arg3
== NULL
) {
19765 PyErr_SetString(PyExc_TypeError
,"null reference");
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19784 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19787 wxTimeSpan
*arg2
= 0 ;
19788 wxDateTime
*result
;
19789 PyObject
* obj0
= 0 ;
19790 PyObject
* obj1
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self",(char *) "diff", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19801 if (arg2
== NULL
) {
19802 PyErr_SetString(PyExc_TypeError
,"null reference");
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19809 result
= (wxDateTime
*) &_result_ref
;
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19822 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19825 wxDateSpan
*arg2
= 0 ;
19826 wxDateTime
*result
;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "diff", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19839 if (arg2
== NULL
) {
19840 PyErr_SetString(PyExc_TypeError
,"null reference");
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19847 result
= (wxDateTime
*) &_result_ref
;
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19860 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19863 wxTimeSpan
*arg2
= 0 ;
19864 wxDateTime
*result
;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "diff", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19877 if (arg2
== NULL
) {
19878 PyErr_SetString(PyExc_TypeError
,"null reference");
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19885 result
= (wxDateTime
*) &_result_ref
;
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19898 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19901 wxDateSpan
*arg2
= 0 ;
19902 wxDateTime
*result
;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self",(char *) "diff", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19915 if (arg2
== NULL
) {
19916 PyErr_SetString(PyExc_TypeError
,"null reference");
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19923 result
= (wxDateTime
*) &_result_ref
;
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19936 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19939 wxDateTime
*arg2
= 0 ;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "dt", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19953 if (arg2
== NULL
) {
19954 PyErr_SetString(PyExc_TypeError
,"null reference");
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 wxTimeSpan
* resultptr
;
19966 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19975 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19976 PyObject
*resultobj
;
19977 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19978 wxTimeSpan
*arg2
= 0 ;
19979 wxDateTime
*result
;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19983 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19989 if (arg2
== NULL
) {
19990 PyErr_SetString(PyExc_TypeError
,"null reference");
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19997 result
= (wxDateTime
*) &_result_ref
;
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20010 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20011 PyObject
*resultobj
;
20012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20013 wxDateSpan
*arg2
= 0 ;
20014 wxDateTime
*result
;
20015 PyObject
* obj0
= 0 ;
20016 PyObject
* obj1
= 0 ;
20018 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20024 if (arg2
== NULL
) {
20025 PyErr_SetString(PyExc_TypeError
,"null reference");
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20032 result
= (wxDateTime
*) &_result_ref
;
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20045 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20050 argc
= PyObject_Length(args
);
20051 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20058 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20068 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20076 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20084 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20094 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20102 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20107 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20112 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20113 PyObject
*resultobj
;
20114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20115 wxTimeSpan
*arg2
= 0 ;
20116 wxDateTime
*result
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20120 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20126 if (arg2
== NULL
) {
20127 PyErr_SetString(PyExc_TypeError
,"null reference");
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20134 result
= (wxDateTime
*) &_result_ref
;
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20147 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20148 PyObject
*resultobj
;
20149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20150 wxDateSpan
*arg2
= 0 ;
20151 wxDateTime
*result
;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20155 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20161 if (arg2
== NULL
) {
20162 PyErr_SetString(PyExc_TypeError
,"null reference");
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20169 result
= (wxDateTime
*) &_result_ref
;
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20182 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20187 argc
= PyObject_Length(args
);
20188 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20189 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20205 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20213 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20221 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20231 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20239 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20244 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20249 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20250 PyObject
*resultobj
;
20251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20252 wxTimeSpan
*arg2
= 0 ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20257 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20263 if (arg2
== NULL
) {
20264 PyErr_SetString(PyExc_TypeError
,"null reference");
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 wxDateTime
* resultptr
;
20276 resultptr
= new wxDateTime((wxDateTime
&) result
);
20277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20285 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20286 PyObject
*resultobj
;
20287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20288 wxDateSpan
*arg2
= 0 ;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20293 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20299 if (arg2
== NULL
) {
20300 PyErr_SetString(PyExc_TypeError
,"null reference");
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20311 wxDateTime
* resultptr
;
20312 resultptr
= new wxDateTime((wxDateTime
&) result
);
20313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20321 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20326 argc
= PyObject_Length(args
);
20327 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20328 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20344 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20352 return _wrap_DateTime___add____SWIG_0(self
,args
);
20360 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20370 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20378 return _wrap_DateTime___add____SWIG_1(self
,args
);
20383 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20388 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20389 PyObject
*resultobj
;
20390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20391 wxDateTime
*arg2
= 0 ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20396 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20402 if (arg2
== NULL
) {
20403 PyErr_SetString(PyExc_TypeError
,"null reference");
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 wxTimeSpan
* resultptr
;
20415 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20424 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20425 PyObject
*resultobj
;
20426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20427 wxTimeSpan
*arg2
= 0 ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20432 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20438 if (arg2
== NULL
) {
20439 PyErr_SetString(PyExc_TypeError
,"null reference");
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20450 wxDateTime
* resultptr
;
20451 resultptr
= new wxDateTime((wxDateTime
&) result
);
20452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20460 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20461 PyObject
*resultobj
;
20462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20463 wxDateSpan
*arg2
= 0 ;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20468 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20474 if (arg2
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference");
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 wxDateTime
* resultptr
;
20487 resultptr
= new wxDateTime((wxDateTime
&) result
);
20488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20496 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20501 argc
= PyObject_Length(args
);
20502 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20503 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20519 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20527 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20535 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20545 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20553 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20561 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20571 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20579 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20584 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20589 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20590 PyObject
*resultobj
;
20591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20592 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20597 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20618 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20619 PyObject
*resultobj
;
20620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20621 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20626 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20647 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20648 PyObject
*resultobj
;
20649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20650 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20655 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20676 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20677 PyObject
*resultobj
;
20678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20679 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20684 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20705 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20706 PyObject
*resultobj
;
20707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20708 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20713 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20734 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20735 PyObject
*resultobj
;
20736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20737 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20742 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20763 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20766 wxString
*arg2
= 0 ;
20768 bool temp2
= False
;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self",(char *) "date", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20779 arg2
= wxString_in_helper(obj1
);
20780 if (arg2
== NULL
) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_FromInt((int)result
);
20805 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20808 wxString
*arg2
= 0 ;
20809 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20810 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20811 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20812 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20814 bool temp2
= False
;
20815 bool temp3
= False
;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 PyObject
* obj2
= 0 ;
20819 PyObject
* obj3
= 0 ;
20820 char *kwnames
[] = {
20821 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 arg2
= wxString_in_helper(obj1
);
20829 if (arg2
== NULL
) SWIG_fail
;
20834 arg3
= wxString_in_helper(obj2
);
20835 if (arg3
== NULL
) SWIG_fail
;
20840 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20843 if (arg4
== NULL
) {
20844 PyErr_SetString(PyExc_TypeError
,"null reference");
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= SWIG_FromInt((int)result
);
20878 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20881 wxString
*arg2
= 0 ;
20883 bool temp2
= False
;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "datetime", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 arg2
= wxString_in_helper(obj1
);
20895 if (arg2
== NULL
) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_FromInt((int)result
);
20920 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20923 wxString
*arg2
= 0 ;
20925 bool temp2
= False
;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self",(char *) "date", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20936 arg2
= wxString_in_helper(obj1
);
20937 if (arg2
== NULL
) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_FromInt((int)result
);
20962 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20965 wxString
*arg2
= 0 ;
20967 bool temp2
= False
;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self",(char *) "time", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20978 arg2
= wxString_in_helper(obj1
);
20979 if (arg2
== NULL
) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_FromInt((int)result
);
21004 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21007 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21008 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21009 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21010 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21012 bool temp2
= False
;
21013 bool temp3
= False
;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 PyObject
* obj2
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "format",(char *) "tz", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21026 arg2
= wxString_in_helper(obj1
);
21027 if (arg2
== NULL
) SWIG_fail
;
21033 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21056 if (temp3
) delete arg3
;
21065 if (temp3
) delete arg3
;
21071 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
;
21073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21103 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21135 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21167 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21199 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21202 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21204 return Py_BuildValue((char *)"");
21206 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "sec", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21216 arg1
= (long) SWIG_AsLong(obj0
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= wxTimeSpan::Seconds(arg1
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 wxTimeSpan
* resultptr
;
21227 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21236 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21239 char *kwnames
[] = {
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= wxTimeSpan::Second();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 wxTimeSpan
* resultptr
;
21253 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21262 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21266 PyObject
* obj0
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "min", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21272 arg1
= (long) SWIG_AsLong(obj0
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= wxTimeSpan::Minutes(arg1
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21282 wxTimeSpan
* resultptr
;
21283 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21292 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
;
21295 char *kwnames
[] = {
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= wxTimeSpan::Minute();
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21308 wxTimeSpan
* resultptr
;
21309 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21318 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "hours", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21328 arg1
= (long) SWIG_AsLong(obj0
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= wxTimeSpan::Hours(arg1
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 wxTimeSpan
* resultptr
;
21339 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21348 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21351 char *kwnames
[] = {
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= wxTimeSpan::Hour();
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21364 wxTimeSpan
* resultptr
;
21365 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21374 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "days", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21384 arg1
= (long) SWIG_AsLong(obj0
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= wxTimeSpan::Days(arg1
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21394 wxTimeSpan
* resultptr
;
21395 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21404 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21407 char *kwnames
[] = {
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= wxTimeSpan::Day();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 wxTimeSpan
* resultptr
;
21421 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21430 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "days", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21440 arg1
= (long) SWIG_AsLong(obj0
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= wxTimeSpan::Weeks(arg1
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 wxTimeSpan
* resultptr
;
21451 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21460 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21463 char *kwnames
[] = {
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= wxTimeSpan::Week();
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21476 wxTimeSpan
* resultptr
;
21477 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21486 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 long arg1
= (long) 0 ;
21489 long arg2
= (long) 0 ;
21490 long arg3
= (long) 0 ;
21491 long arg4
= (long) 0 ;
21492 wxTimeSpan
*result
;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 PyObject
* obj2
= 0 ;
21496 PyObject
* obj3
= 0 ;
21497 char *kwnames
[] = {
21498 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21503 arg1
= (long) SWIG_AsLong(obj0
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 arg2
= (long) SWIG_AsLong(obj1
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 arg3
= (long) SWIG_AsLong(obj2
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 arg4
= (long) SWIG_AsLong(obj3
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21532 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 char *kwnames
[] = {
21537 (char *) "self", NULL
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 Py_INCREF(Py_None
); resultobj
= Py_None
;
21557 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21560 wxTimeSpan
*arg2
= 0 ;
21561 wxTimeSpan
*result
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "diff", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21574 if (arg2
== NULL
) {
21575 PyErr_SetString(PyExc_TypeError
,"null reference");
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21582 result
= (wxTimeSpan
*) &_result_ref
;
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21595 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21598 wxTimeSpan
*arg2
= 0 ;
21599 wxTimeSpan
*result
;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self",(char *) "diff", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21612 if (arg2
== NULL
) {
21613 PyErr_SetString(PyExc_TypeError
,"null reference");
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21620 result
= (wxTimeSpan
*) &_result_ref
;
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21633 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21637 wxTimeSpan
*result
;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self",(char *) "n", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21647 arg2
= (int) SWIG_AsInt(obj1
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21653 result
= (wxTimeSpan
*) &_result_ref
;
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21666 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21669 wxTimeSpan
*result
;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21682 result
= (wxTimeSpan
*) &_result_ref
;
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21695 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 wxTimeSpan
* resultptr
;
21716 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21725 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21728 wxTimeSpan
*arg2
= 0 ;
21729 wxTimeSpan
*result
;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "diff", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21742 if (arg2
== NULL
) {
21743 PyErr_SetString(PyExc_TypeError
,"null reference");
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21750 result
= (wxTimeSpan
*) &_result_ref
;
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21763 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21766 wxTimeSpan
*arg2
= 0 ;
21767 wxTimeSpan
*result
;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "diff", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21780 if (arg2
== NULL
) {
21781 PyErr_SetString(PyExc_TypeError
,"null reference");
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21788 result
= (wxTimeSpan
*) &_result_ref
;
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21801 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21805 wxTimeSpan
*result
;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "n", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 arg2
= (int) SWIG_AsInt(obj1
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21821 result
= (wxTimeSpan
*) &_result_ref
;
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21834 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21837 wxTimeSpan
*result
;
21838 PyObject
* obj0
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21850 result
= (wxTimeSpan
*) &_result_ref
;
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21863 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21866 wxTimeSpan
*arg2
= 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "other", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21880 if (arg2
== NULL
) {
21881 PyErr_SetString(PyExc_TypeError
,"null reference");
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 wxTimeSpan
* resultptr
;
21893 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21902 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21905 wxTimeSpan
*arg2
= 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "other", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21919 if (arg2
== NULL
) {
21920 PyErr_SetString(PyExc_TypeError
,"null reference");
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 wxTimeSpan
* resultptr
;
21932 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21941 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "n", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21955 arg2
= (int) SWIG_AsInt(obj1
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= wxTimeSpan___mul__(arg1
,arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 wxTimeSpan
* resultptr
;
21966 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21975 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "n", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (int) SWIG_AsInt(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 wxTimeSpan
* resultptr
;
22000 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22009 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22012 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "other", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22041 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22044 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self",(char *) "other", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22073 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22076 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "other", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22105 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22108 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "other", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22137 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22140 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "other", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22169 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22172 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "other", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22257 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22288 wxTimeSpan
*arg2
= 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "ts", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22302 if (arg2
== NULL
) {
22303 PyErr_SetString(PyExc_TypeError
,"null reference");
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22322 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22325 wxTimeSpan
*arg2
= 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "ts", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22339 if (arg2
== NULL
) {
22340 PyErr_SetString(PyExc_TypeError
,"null reference");
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22359 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22362 wxTimeSpan
*arg2
= 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "t", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22376 if (arg2
== NULL
) {
22377 PyErr_SetString(PyExc_TypeError
,"null reference");
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22396 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_FromInt((int)result
);
22422 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_FromInt((int)result
);
22448 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_FromInt((int)result
);
22474 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_FromInt((int)result
);
22500 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22521 hi
= PyLong_FromLong( (&result
)->GetHi() );
22522 lo
= PyLong_FromLong( (&result
)->GetLo() );
22523 shifter
= PyLong_FromLong(32);
22524 shifted
= PyNumber_Lshift(hi
, shifter
);
22525 resultobj
= PyNumber_Or(shifted
, lo
);
22528 Py_DECREF(shifter
);
22529 Py_DECREF(shifted
);
22537 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22557 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22558 hi
= PyLong_FromLong( (&result
)->GetHi() );
22559 lo
= PyLong_FromLong( (&result
)->GetLo() );
22560 shifter
= PyLong_FromLong(32);
22561 shifted
= PyNumber_Lshift(hi
, shifter
);
22562 resultobj
= PyNumber_Or(shifted
, lo
);
22565 Py_DECREF(shifter
);
22566 Py_DECREF(shifted
);
22574 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22577 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22578 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22580 bool temp2
= False
;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self",(char *) "format", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 arg2
= wxString_in_helper(obj1
);
22593 if (arg2
== NULL
) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22625 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22628 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22630 return Py_BuildValue((char *)"");
22632 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 int arg1
= (int) 0 ;
22635 int arg2
= (int) 0 ;
22636 int arg3
= (int) 0 ;
22637 int arg4
= (int) 0 ;
22638 wxDateSpan
*result
;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 PyObject
* obj2
= 0 ;
22642 PyObject
* obj3
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22649 arg1
= (int) SWIG_AsInt(obj0
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 arg2
= (int) SWIG_AsInt(obj1
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 arg3
= (int) SWIG_AsInt(obj2
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 arg4
= (int) SWIG_AsInt(obj3
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22678 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "days", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22713 arg1
= (int) SWIG_AsInt(obj0
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= wxDateSpan::Days(arg1
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 wxDateSpan
* resultptr
;
22724 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22733 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22736 char *kwnames
[] = {
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= wxDateSpan::Day();
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 wxDateSpan
* resultptr
;
22750 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22759 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22763 PyObject
* obj0
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "weeks", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22769 arg1
= (int) SWIG_AsInt(obj0
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= wxDateSpan::Weeks(arg1
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 wxDateSpan
* resultptr
;
22780 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22789 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22792 char *kwnames
[] = {
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= wxDateSpan::Week();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 wxDateSpan
* resultptr
;
22806 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22815 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "mon", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22825 arg1
= (int) SWIG_AsInt(obj0
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= wxDateSpan::Months(arg1
);
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22835 wxDateSpan
* resultptr
;
22836 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22845 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22848 char *kwnames
[] = {
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= wxDateSpan::Month();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 wxDateSpan
* resultptr
;
22862 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22871 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "years", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22881 arg1
= (int) SWIG_AsInt(obj0
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= wxDateSpan::Years(arg1
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 wxDateSpan
* resultptr
;
22892 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22901 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22904 char *kwnames
[] = {
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= wxDateSpan::Year();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 wxDateSpan
* resultptr
;
22918 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22927 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22931 wxDateSpan
*result
;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self",(char *) "n", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22941 arg2
= (int) SWIG_AsInt(obj1
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22947 result
= (wxDateSpan
*) &_result_ref
;
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22960 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22964 wxDateSpan
*result
;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "n", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 arg2
= (int) SWIG_AsInt(obj1
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22980 result
= (wxDateSpan
*) &_result_ref
;
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22993 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22997 wxDateSpan
*result
;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "n", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 arg2
= (int) SWIG_AsInt(obj1
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23013 result
= (wxDateSpan
*) &_result_ref
;
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23026 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23030 wxDateSpan
*result
;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self",(char *) "n", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23040 arg2
= (int) SWIG_AsInt(obj1
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23046 result
= (wxDateSpan
*) &_result_ref
;
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23059 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_FromInt((int)result
);
23085 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= SWIG_FromInt((int)result
);
23111 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_FromInt((int)result
);
23137 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_FromInt((int)result
);
23163 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= SWIG_FromInt((int)result
);
23189 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23192 wxDateSpan
*arg2
= 0 ;
23193 wxDateSpan
*result
;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "other", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23206 if (arg2
== NULL
) {
23207 PyErr_SetString(PyExc_TypeError
,"null reference");
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*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_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23230 wxDateSpan
*arg2
= 0 ;
23231 wxDateSpan
*result
;
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_Subtract",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();
23251 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23252 result
= (wxDateSpan
*) &_result_ref
;
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23265 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23268 wxDateSpan
*result
;
23269 PyObject
* obj0
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23281 result
= (wxDateSpan
*) &_result_ref
;
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23294 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23298 wxDateSpan
*result
;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "factor", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 arg2
= (int) SWIG_AsInt(obj1
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23314 result
= (wxDateSpan
*) &_result_ref
;
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23327 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23330 wxDateSpan
*arg2
= 0 ;
23331 wxDateSpan
*result
;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self",(char *) "other", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23344 if (arg2
== NULL
) {
23345 PyErr_SetString(PyExc_TypeError
,"null reference");
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23352 result
= (wxDateSpan
*) &_result_ref
;
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23365 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23368 wxDateSpan
*arg2
= 0 ;
23369 wxDateSpan
*result
;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "other", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23382 if (arg2
== NULL
) {
23383 PyErr_SetString(PyExc_TypeError
,"null reference");
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23390 result
= (wxDateSpan
*) &_result_ref
;
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23403 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23406 wxDateSpan
*result
;
23407 PyObject
* obj0
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23419 result
= (wxDateSpan
*) &_result_ref
;
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23432 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23436 wxDateSpan
*result
;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self",(char *) "factor", NULL
23443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 arg2
= (int) SWIG_AsInt(obj1
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23452 result
= (wxDateSpan
*) &_result_ref
;
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23465 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23468 wxDateSpan
*arg2
= 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "other", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23482 if (arg2
== NULL
) {
23483 PyErr_SetString(PyExc_TypeError
,"null reference");
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 wxDateSpan
* resultptr
;
23495 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23504 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23507 wxDateSpan
*arg2
= 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "other", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23521 if (arg2
== NULL
) {
23522 PyErr_SetString(PyExc_TypeError
,"null reference");
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 wxDateSpan
* resultptr
;
23534 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23543 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "n", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 arg2
= (int) SWIG_AsInt(obj1
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= wxDateSpan___mul__(arg1
,arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 wxDateSpan
* resultptr
;
23568 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23577 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self",(char *) "n", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 arg2
= (int) SWIG_AsInt(obj1
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= wxDateSpan___rmul__(arg1
,arg2
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 wxDateSpan
* resultptr
;
23602 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23611 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23614 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 PyObject
* obj1
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self",(char *) "other", NULL
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23643 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23646 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "other", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23675 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23678 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23680 return Py_BuildValue((char *)"");
23682 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23685 char *kwnames
[] = {
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (long)wxGetLocalTime();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_FromLong((long)result
);
23704 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23707 char *kwnames
[] = {
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (long)wxGetUTCTime();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_FromLong((long)result
);
23726 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23729 char *kwnames
[] = {
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (long)wxGetCurrentTime();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_FromLong((long)result
);
23748 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23751 char *kwnames
[] = {
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= wxGetLocalTimeMillis();
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23765 hi
= PyLong_FromLong( (&result
)->GetHi() );
23766 lo
= PyLong_FromLong( (&result
)->GetLo() );
23767 shifter
= PyLong_FromLong(32);
23768 shifted
= PyNumber_Lshift(hi
, shifter
);
23769 resultobj
= PyNumber_Or(shifted
, lo
);
23772 Py_DECREF(shifter
);
23773 Py_DECREF(shifted
);
23781 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23782 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23787 static PyObject
*_wrap_DefaultDateTime_get() {
23790 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23795 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23798 wxDataFormat
*result
;
23799 PyObject
* obj0
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "type", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23805 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23821 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxString
*arg1
= 0 ;
23824 wxDataFormat
*result
;
23825 bool temp1
= False
;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "format", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23833 arg1
= wxString_in_helper(obj0
);
23834 if (arg1
== NULL
) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23859 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 Py_INCREF(Py_None
); resultobj
= Py_None
;
23884 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23885 PyObject
*resultobj
;
23886 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23892 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23913 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23914 PyObject
*resultobj
;
23915 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23921 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23942 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23943 PyObject
*resultobj
;
23944 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23945 wxDataFormat
*arg2
= 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23950 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23956 if (arg2
== NULL
) {
23957 PyErr_SetString(PyExc_TypeError
,"null reference");
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23981 argc
= PyObject_Length(args
);
23982 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23983 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23989 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23999 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24007 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24015 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24023 _v
= SWIG_CheckInt(argv
[1]);
24025 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24030 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24035 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24036 PyObject
*resultobj
;
24037 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24038 wxDataFormat
*arg2
= 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24043 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24049 if (arg2
== NULL
) {
24050 PyErr_SetString(PyExc_TypeError
,"null reference");
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24069 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24074 argc
= PyObject_Length(args
);
24075 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24076 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24082 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24092 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24100 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24108 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24116 _v
= SWIG_CheckInt(argv
[1]);
24118 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24123 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24128 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "format", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 (arg1
)->SetType((wxDataFormatId
)arg2
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 Py_INCREF(Py_None
); resultobj
= Py_None
;
24157 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_FromInt((int)result
);
24183 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= ((wxDataFormat
const *)arg1
)->GetId();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24215 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24218 wxString
*arg2
= 0 ;
24219 bool temp2
= False
;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self",(char *) "format", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 arg2
= wxString_in_helper(obj1
);
24231 if (arg2
== NULL
) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 (arg1
)->SetId((wxString
const &)*arg2
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 Py_INCREF(Py_None
); resultobj
= Py_None
;
24256 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24259 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24261 return Py_BuildValue((char *)"");
24263 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24264 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24269 static PyObject
*_wrap_FormatInvalid_get() {
24272 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24277 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 Py_INCREF(Py_None
); resultobj
= Py_None
;
24302 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24305 int arg2
= (int) wxDataObject::Get
;
24306 SwigValueWrapper
< wxDataFormat
> result
;
24307 PyObject
* obj0
= 0 ;
24308 PyObject
* obj1
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self",(char *) "dir", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24317 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 wxDataFormat
* resultptr
;
24329 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24338 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24341 int arg2
= (int) wxDataObject::Get
;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self",(char *) "dir", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24370 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24373 wxDataFormat
*arg2
= 0 ;
24374 int arg3
= (int) wxDataObject::Get
;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 PyObject
* obj2
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "format",(char *) "dir", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24389 if (arg2
== NULL
) {
24390 PyErr_SetString(PyExc_TypeError
,"null reference");
24394 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24413 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
;
24415 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24416 wxDataFormat
*arg2
= 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "format", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24430 if (arg2
== NULL
) {
24431 PyErr_SetString(PyExc_TypeError
,"null reference");
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24448 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24451 int arg2
= (int) wxDataObject::Get
;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "dir", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24463 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= result
;
24480 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24483 wxDataFormat
*arg2
= 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "format", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24497 if (arg2
== NULL
) {
24498 PyErr_SetString(PyExc_TypeError
,"null reference");
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= result
;
24515 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24518 wxDataFormat
*arg2
= 0 ;
24519 PyObject
*arg3
= (PyObject
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 PyObject
* obj2
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "format",(char *) "data", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24534 if (arg2
== NULL
) {
24535 PyErr_SetString(PyExc_TypeError
,"null reference");
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24555 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24558 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24560 return Py_BuildValue((char *)"");
24562 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24565 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24566 wxDataObjectSimple
*result
;
24567 PyObject
* obj0
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "format", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24577 if (arg1
== NULL
) {
24578 PyErr_SetString(PyExc_TypeError
,"null reference");
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24596 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24599 wxDataFormat
*result
;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24612 result
= (wxDataFormat
*) &_result_ref
;
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24625 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24628 wxDataFormat
*arg2
= 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "format", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24641 if (arg2
== NULL
) {
24642 PyErr_SetString(PyExc_TypeError
,"null reference");
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 Py_INCREF(Py_None
); resultobj
= Py_None
;
24659 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24685 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= result
;
24711 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24714 PyObject
*arg2
= (PyObject
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "data", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24742 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24745 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24747 return Py_BuildValue((char *)"");
24749 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24752 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24753 wxPyDataObjectSimple
*result
;
24754 PyObject
* obj0
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "format", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24764 if (arg1
== NULL
) {
24765 PyErr_SetString(PyExc_TypeError
,"null reference");
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24783 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24786 PyObject
*arg2
= (PyObject
*) 0 ;
24787 PyObject
*arg3
= (PyObject
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 PyObject
* obj2
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self",(char *) "self",(char *) "_class", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24817 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24819 return Py_BuildValue((char *)"");
24821 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxDataObjectComposite
*result
;
24824 char *kwnames
[] = {
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24843 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24846 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24847 bool arg3
= (bool) False
;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 PyObject
* obj2
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24859 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24861 arg3
= (bool) SWIG_AsBool(obj2
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->Add(arg2
,arg3
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24878 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24881 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24883 return Py_BuildValue((char *)"");
24885 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24888 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24889 wxTextDataObject
*result
;
24890 bool temp1
= False
;
24891 PyObject
* obj0
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "text", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24899 arg1
= wxString_in_helper(obj0
);
24900 if (arg1
== NULL
) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24926 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (size_t)(arg1
)->GetTextLength();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24952 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24956 PyObject
* obj0
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (arg1
)->GetText();
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24984 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24987 wxString
*arg2
= 0 ;
24988 bool temp2
= False
;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self",(char *) "text", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 arg2
= wxString_in_helper(obj1
);
25000 if (arg2
== NULL
) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 (arg1
)->SetText((wxString
const &)*arg2
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 Py_INCREF(Py_None
); resultobj
= Py_None
;
25025 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25028 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25030 return Py_BuildValue((char *)"");
25032 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25035 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25036 wxPyTextDataObject
*result
;
25037 bool temp1
= False
;
25038 PyObject
* obj0
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "text", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25046 arg1
= wxString_in_helper(obj0
);
25047 if (arg1
== NULL
) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25073 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25076 PyObject
*arg2
= (PyObject
*) 0 ;
25077 PyObject
*arg3
= (PyObject
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 PyObject
* obj2
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self",(char *) "self",(char *) "_class", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 Py_INCREF(Py_None
); resultobj
= Py_None
;
25104 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25107 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25109 return Py_BuildValue((char *)"");
25111 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25114 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25115 wxBitmapDataObject
*result
;
25116 PyObject
* obj0
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "bitmap", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25126 if (arg1
== NULL
) {
25127 PyErr_SetString(PyExc_TypeError
,"null reference");
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25145 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 wxBitmap
* resultptr
;
25166 resultptr
= new wxBitmap((wxBitmap
&) result
);
25167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25175 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25178 wxBitmap
*arg2
= 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self",(char *) "bitmap", NULL
25185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25191 if (arg2
== NULL
) {
25192 PyErr_SetString(PyExc_TypeError
,"null reference");
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 Py_INCREF(Py_None
); resultobj
= Py_None
;
25209 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25212 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25214 return Py_BuildValue((char *)"");
25216 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25219 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25220 wxPyBitmapDataObject
*result
;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "bitmap", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25231 if (arg1
== NULL
) {
25232 PyErr_SetString(PyExc_TypeError
,"null reference");
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25250 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25253 PyObject
*arg2
= (PyObject
*) 0 ;
25254 PyObject
*arg3
= (PyObject
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 PyObject
* obj2
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "self",(char *) "_class", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 Py_INCREF(Py_None
); resultobj
= Py_None
;
25281 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25284 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25286 return Py_BuildValue((char *)"");
25288 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
;
25290 wxFileDataObject
*result
;
25291 char *kwnames
[] = {
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (wxFileDataObject
*)new wxFileDataObject();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25310 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25313 wxArrayString
*result
;
25314 PyObject
* obj0
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25326 result
= (wxArrayString
*) &_result_ref
;
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= wxArrayString2PyList_helper(*result
);
25341 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25344 wxString
*arg2
= 0 ;
25345 bool temp2
= False
;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "filename", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 arg2
= wxString_in_helper(obj1
);
25357 if (arg2
== NULL
) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 (arg1
)->AddFile((wxString
const &)*arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25385 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25387 return Py_BuildValue((char *)"");
25389 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25392 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25393 wxCustomDataObject
*result
;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "format", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25404 if (arg1
== NULL
) {
25405 PyErr_SetString(PyExc_TypeError
,"null reference");
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25423 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25426 PyObject
*arg2
= (PyObject
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 char *kwnames
[] = {
25431 (char *) "self",(char *) "data", NULL
25434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25454 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25458 PyObject
* obj0
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (size_t)(arg1
)->GetSize();
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25480 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= result
;
25506 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25509 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25511 return Py_BuildValue((char *)"");
25513 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25515 wxURLDataObject
*result
;
25516 char *kwnames
[] = {
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (wxURLDataObject
*)new wxURLDataObject();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25535 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25539 PyObject
* obj0
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 result
= (arg1
)->GetURL();
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25567 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25570 wxString
*arg2
= 0 ;
25571 bool temp2
= False
;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "url", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 arg2
= wxString_in_helper(obj1
);
25583 if (arg2
== NULL
) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->SetURL((wxString
const &)*arg2
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 Py_INCREF(Py_None
); resultobj
= Py_None
;
25608 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25611 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25613 return Py_BuildValue((char *)"");
25615 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxMetafileDataObject
*result
;
25618 char *kwnames
[] = {
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25637 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25640 wxMetafile
*arg2
= 0 ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "metafile", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25653 if (arg2
== NULL
) {
25654 PyErr_SetString(PyExc_TypeError
,"null reference");
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 Py_INCREF(Py_None
); resultobj
= Py_None
;
25671 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 wxMetafile
* resultptr
;
25692 resultptr
= new wxMetafile((wxMetafile
&) result
);
25693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25701 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25704 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25706 return Py_BuildValue((char *)"");
25708 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
;
25712 PyObject
* obj0
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "res", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25718 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25736 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25739 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25740 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25741 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25742 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25743 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25744 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25745 wxPyDropSource
*result
;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 PyObject
* obj3
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25761 if (arg2
== NULL
) {
25762 PyErr_SetString(PyExc_TypeError
,"null reference");
25767 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25770 if (arg3
== NULL
) {
25771 PyErr_SetString(PyExc_TypeError
,"null reference");
25776 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25779 if (arg4
== NULL
) {
25780 PyErr_SetString(PyExc_TypeError
,"null reference");
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25798 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25801 PyObject
*arg2
= (PyObject
*) 0 ;
25802 PyObject
*arg3
= (PyObject
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25807 PyObject
* obj3
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 arg4
= (int) SWIG_AsInt(obj3
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 Py_INCREF(Py_None
); resultobj
= Py_None
;
25858 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25861 wxDataObject
*arg2
= 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "data", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25874 if (arg2
== NULL
) {
25875 PyErr_SetString(PyExc_TypeError
,"null reference");
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 (arg1
)->SetData(*arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 Py_INCREF(Py_None
); resultobj
= Py_None
;
25892 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
;
25894 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25895 wxDataObject
*result
;
25896 PyObject
* obj0
= 0 ;
25897 char *kwnames
[] = {
25898 (char *) "self", NULL
25901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25918 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25922 wxCursor
*arg3
= 0 ;
25923 PyObject
* obj0
= 0 ;
25924 PyObject
* obj1
= 0 ;
25925 PyObject
* obj2
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "res",(char *) "cursor", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25933 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25935 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25938 if (arg3
== NULL
) {
25939 PyErr_SetString(PyExc_TypeError
,"null reference");
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 Py_INCREF(Py_None
); resultobj
= Py_None
;
25956 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25959 int arg2
= (int) wxDrag_CopyOnly
;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 char *kwnames
[] = {
25964 (char *) "self",(char *) "flags", NULL
25967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25971 arg2
= (int) SWIG_AsInt(obj1
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (int)(arg1
)->DoDragDrop(arg2
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_FromInt((int)result
);
25988 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self",(char *) "effect", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26020 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26023 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26025 return Py_BuildValue((char *)"");
26027 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26030 wxPyDropTarget
*result
;
26031 PyObject
* obj0
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "dataObject", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26039 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26055 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
;
26057 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26058 PyObject
*arg2
= (PyObject
*) 0 ;
26059 PyObject
*arg3
= (PyObject
*) 0 ;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 PyObject
* obj2
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "self",(char *) "_class", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 Py_INCREF(Py_None
); resultobj
= Py_None
;
26086 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26089 PyObject
* obj0
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 Py_INCREF(Py_None
); resultobj
= Py_None
;
26111 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
;
26113 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26114 wxDataObject
*result
;
26115 PyObject
* obj0
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26137 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26140 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self",(char *) "dataObject", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26151 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 (arg1
)->SetDataObject(arg2
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 Py_INCREF(Py_None
); resultobj
= Py_None
;
26166 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 PyObject
* obj2
= 0 ;
26176 PyObject
* obj3
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26184 arg2
= (int) SWIG_AsInt(obj1
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26186 arg3
= (int) SWIG_AsInt(obj2
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26188 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_FromInt((int)result
);
26204 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26205 PyObject
*resultobj
;
26206 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26211 PyObject
* obj0
= 0 ;
26212 PyObject
* obj1
= 0 ;
26213 PyObject
* obj2
= 0 ;
26214 PyObject
* obj3
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26222 arg2
= (int) SWIG_AsInt(obj1
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26224 arg3
= (int) SWIG_AsInt(obj2
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26226 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_FromInt((int)result
);
26242 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->base_OnLeave();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 PyObject
* obj2
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "x",(char *) "y", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 arg2
= (int) SWIG_AsInt(obj1
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26285 arg3
= (int) SWIG_AsInt(obj2
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26303 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (bool)(arg1
)->GetData();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26331 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26334 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26336 return Py_BuildValue((char *)"");
26338 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTextDropTarget
*result
;
26341 char *kwnames
[] = {
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26360 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26363 PyObject
*arg2
= (PyObject
*) 0 ;
26364 PyObject
*arg3
= (PyObject
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 PyObject
* obj2
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "self",(char *) "_class", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 PyObject
* obj2
= 0 ;
26401 PyObject
* obj3
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26409 arg2
= (int) SWIG_AsInt(obj1
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26411 arg3
= (int) SWIG_AsInt(obj2
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26413 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_FromInt((int)result
);
26429 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26430 PyObject
*resultobj
;
26431 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 PyObject
* obj2
= 0 ;
26439 PyObject
* obj3
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26447 arg2
= (int) SWIG_AsInt(obj1
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26449 arg3
= (int) SWIG_AsInt(obj2
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26451 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= SWIG_FromInt((int)result
);
26467 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->base_OnLeave();
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 PyObject
* obj2
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self",(char *) "x",(char *) "y", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26508 arg2
= (int) SWIG_AsInt(obj1
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26510 arg3
= (int) SWIG_AsInt(obj2
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26528 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 PyObject
* obj2
= 0 ;
26538 PyObject
* obj3
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 arg2
= (int) SWIG_AsInt(obj1
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26548 arg3
= (int) SWIG_AsInt(obj2
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26550 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_FromInt((int)result
);
26566 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26569 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26571 return Py_BuildValue((char *)"");
26573 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyFileDropTarget
*result
;
26576 char *kwnames
[] = {
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26595 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26598 PyObject
*arg2
= (PyObject
*) 0 ;
26599 PyObject
*arg3
= (PyObject
*) 0 ;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 PyObject
* obj2
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self",(char *) "self",(char *) "_class", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 Py_INCREF(Py_None
); resultobj
= Py_None
;
26626 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
;
26628 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 PyObject
* obj2
= 0 ;
26636 PyObject
* obj3
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26644 arg2
= (int) SWIG_AsInt(obj1
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26646 arg3
= (int) SWIG_AsInt(obj2
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26648 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_FromInt((int)result
);
26664 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 PyObject
* obj2
= 0 ;
26674 PyObject
* obj3
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26682 arg2
= (int) SWIG_AsInt(obj1
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26684 arg3
= (int) SWIG_AsInt(obj2
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26686 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_FromInt((int)result
);
26702 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26703 PyObject
*resultobj
;
26704 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26705 PyObject
* obj0
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->base_OnLeave();
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 PyObject
* obj2
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "x",(char *) "y", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26743 arg2
= (int) SWIG_AsInt(obj1
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26745 arg3
= (int) SWIG_AsInt(obj2
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26763 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 PyObject
* obj2
= 0 ;
26773 PyObject
* obj3
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 arg2
= (int) SWIG_AsInt(obj1
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26783 arg3
= (int) SWIG_AsInt(obj2
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26785 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_FromInt((int)result
);
26801 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26804 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26806 return Py_BuildValue((char *)"");
26808 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxClipboard
*result
;
26811 char *kwnames
[] = {
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (wxClipboard
*)new wxClipboard();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26830 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 Py_INCREF(Py_None
); resultobj
= Py_None
;
26855 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (bool)(arg1
)->Open();
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26883 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 Py_INCREF(Py_None
); resultobj
= Py_None
;
26908 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 char *kwnames
[] = {
26914 (char *) "self", NULL
26917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26936 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
;
26938 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26939 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "data", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26951 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (bool)(arg1
)->AddData(arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26968 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26971 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "data", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26983 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (bool)(arg1
)->SetData(arg2
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27000 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27003 wxDataFormat
*arg2
= 0 ;
27005 PyObject
* obj0
= 0 ;
27006 PyObject
* obj1
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self",(char *) "format", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27017 if (arg2
== NULL
) {
27018 PyErr_SetString(PyExc_TypeError
,"null reference");
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27037 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27040 wxDataObject
*arg2
= 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "data", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27054 if (arg2
== NULL
) {
27055 PyErr_SetString(PyExc_TypeError
,"null reference");
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 result
= (bool)(arg1
)->GetData(*arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27074 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 Py_INCREF(Py_None
); resultobj
= Py_None
;
27099 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27103 PyObject
* obj0
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 result
= (bool)(arg1
)->Flush();
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27127 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27130 bool arg2
= (bool) True
;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self",(char *) "primary", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27141 arg2
= (bool) SWIG_AsBool(obj1
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 (arg1
)->UsePrimarySelection(arg2
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 Py_INCREF(Py_None
); resultobj
= Py_None
;
27158 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27161 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27163 return Py_BuildValue((char *)"");
27165 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27166 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27171 static PyObject
*_wrap_TheClipboard_get() {
27174 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27179 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27182 wxClipboardLocker
*result
;
27183 PyObject
* obj0
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "clipboard", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27207 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27260 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27263 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27265 return Py_BuildValue((char *)"");
27267 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 int arg1
= (int) 0 ;
27270 int arg2
= (int) 0 ;
27271 int arg3
= (int) 0 ;
27272 int arg4
= (int) 0 ;
27273 wxVideoMode
*result
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 PyObject
* obj2
= 0 ;
27277 PyObject
* obj3
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27284 arg1
= (int) SWIG_AsInt(obj0
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27288 arg2
= (int) SWIG_AsInt(obj1
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 arg3
= (int) SWIG_AsInt(obj2
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27296 arg4
= (int) SWIG_AsInt(obj3
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27313 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27316 PyObject
* obj0
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 Py_INCREF(Py_None
); resultobj
= Py_None
;
27338 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27341 wxVideoMode
*arg2
= 0 ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self",(char *) "other", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27355 if (arg2
== NULL
) {
27356 PyErr_SetString(PyExc_TypeError
,"null reference");
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27375 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 char *kwnames
[] = {
27381 (char *) "self", NULL
27384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_FromInt((int)result
);
27401 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_FromInt((int)result
);
27427 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
;
27429 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 resultobj
= SWIG_FromInt((int)result
);
27453 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27481 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27484 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "other", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27513 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27516 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self",(char *) "other", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27545 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self",(char *) "w", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 arg2
= (int) SWIG_AsInt(obj1
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27560 if (arg1
) (arg1
)->w
= arg2
;
27562 Py_INCREF(Py_None
); resultobj
= Py_None
;
27569 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27581 result
= (int) ((arg1
)->w
);
27583 resultobj
= SWIG_FromInt((int)result
);
27590 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "h", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 arg2
= (int) SWIG_AsInt(obj1
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27605 if (arg1
) (arg1
)->h
= arg2
;
27607 Py_INCREF(Py_None
); resultobj
= Py_None
;
27614 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27626 result
= (int) ((arg1
)->h
);
27628 resultobj
= SWIG_FromInt((int)result
);
27635 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "bpp", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 arg2
= (int) SWIG_AsInt(obj1
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27650 if (arg1
) (arg1
)->bpp
= arg2
;
27652 Py_INCREF(Py_None
); resultobj
= Py_None
;
27659 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
;
27661 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27663 PyObject
* obj0
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "self", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27671 result
= (int) ((arg1
)->bpp
);
27673 resultobj
= SWIG_FromInt((int)result
);
27680 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27681 PyObject
*resultobj
;
27682 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "self",(char *) "refresh", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27693 arg2
= (int) SWIG_AsInt(obj1
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27695 if (arg1
) (arg1
)->refresh
= arg2
;
27697 Py_INCREF(Py_None
); resultobj
= Py_None
;
27704 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27708 PyObject
* obj0
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 result
= (int) ((arg1
)->refresh
);
27718 resultobj
= SWIG_FromInt((int)result
);
27725 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27728 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27730 return Py_BuildValue((char *)"");
27732 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27733 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27738 static PyObject
*_wrap_DefaultVideoMode_get() {
27741 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27746 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 size_t arg1
= (size_t) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 char *kwnames
[] = {
27752 (char *) "index", NULL
27755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27757 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 result
= (wxDisplay
*)new wxDisplay(arg1
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27774 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 Py_INCREF(Py_None
); resultobj
= Py_None
;
27799 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27802 char *kwnames
[] = {
27806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 result
= (size_t)wxDisplay::GetCount();
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27821 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxPoint
*arg1
= 0 ;
27826 PyObject
* obj0
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "pt", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27834 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= SWIG_FromInt((int)result
);
27850 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxWindow
*arg1
= (wxWindow
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "window", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= (int)Display_GetFromWindow(arg1
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= SWIG_FromInt((int)result
);
27876 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27904 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27908 PyObject
* obj0
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 wxRect
* resultptr
;
27925 resultptr
= new wxRect((wxRect
&) result
);
27926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27934 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27935 PyObject
*resultobj
;
27936 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27938 PyObject
* obj0
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "self", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27948 result
= ((wxDisplay
const *)arg1
)->GetName();
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27966 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27970 PyObject
* obj0
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27994 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
;
27996 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27997 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27998 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "mode", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28013 if (arg2
== NULL
) {
28014 PyErr_SetString(PyExc_TypeError
,"null reference");
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28025 resultobj
= result
;
28032 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28035 wxVideoMode result
;
28036 PyObject
* obj0
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28052 wxVideoMode
* resultptr
;
28053 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28062 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28065 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28066 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self",(char *) "mode", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28081 if (arg2
== NULL
) {
28082 PyErr_SetString(PyExc_TypeError
,"null reference");
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28102 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->ResetMode();
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28130 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28132 return Py_BuildValue((char *)"");
28134 static PyMethodDef SwigMethods
[] = {
28135 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28142 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28149 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28209 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28217 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28233 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28238 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28241 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28244 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28250 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28264 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28270 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28276 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28279 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28293 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28296 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28297 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28300 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28327 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28329 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28331 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28333 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28340 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28346 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28359 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28364 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28367 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28384 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28392 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28438 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28466 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28476 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28492 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28508 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28522 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28531 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28574 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28577 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28580 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28584 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28676 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28677 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28678 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28679 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28680 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28681 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28682 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28683 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28684 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28685 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28696 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28741 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28775 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28783 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28784 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28789 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28798 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28805 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28808 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28811 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28816 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28819 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28823 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28826 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28830 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28835 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28839 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28843 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28853 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28864 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28872 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28880 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28893 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28897 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28915 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28933 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28935 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28936 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28938 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28939 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28941 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28942 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28944 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28945 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28947 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28948 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28950 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28951 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28953 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28954 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28956 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28957 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28959 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28960 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28962 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28963 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28965 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28968 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28969 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28971 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28972 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28974 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28977 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28978 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28980 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28981 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28983 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28984 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28986 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28987 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28989 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28990 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28992 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28993 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28995 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28996 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28998 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28999 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29001 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29002 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29004 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29005 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29007 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29008 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29010 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29011 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29013 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29014 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29016 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29017 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29019 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29020 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29022 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29023 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29025 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29026 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29028 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29029 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29031 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29032 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29034 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29037 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29040 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29041 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29043 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29044 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29046 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29047 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29049 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29050 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29052 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29053 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29055 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29056 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29058 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29059 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29061 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29062 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29064 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29065 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29067 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29068 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29070 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29071 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29073 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29074 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29076 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29077 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29079 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29080 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29082 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29083 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29085 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29086 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29088 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29089 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29091 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29092 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29094 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29095 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29097 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29098 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29100 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29101 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29103 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29104 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29106 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29107 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29109 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29110 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29112 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29113 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29115 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29116 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29118 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29119 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29121 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29122 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29124 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29125 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29127 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29130 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29131 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29133 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29134 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29136 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29137 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29139 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29140 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29142 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29143 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29145 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29146 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29148 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29149 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29151 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29152 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29154 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29157 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29160 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29163 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29166 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29169 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29172 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29175 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) ((wxSizer
*) x
));
29178 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29181 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29184 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29187 static void *_p_wxEventTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) ((wxEvent
*) x
));
29190 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29193 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29196 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29199 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29202 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29205 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29208 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29211 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29214 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29217 static void *_p_wxControlTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29220 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29223 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29226 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29229 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29232 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29235 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29238 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29241 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29244 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29247 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29250 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29253 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29256 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29259 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29262 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29265 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29268 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29271 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29274 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29277 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29280 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29283 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29286 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29289 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29292 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29295 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29298 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29301 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29304 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29307 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29310 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29313 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29316 static void *_p_wxImageTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) ((wxImage
*) x
));
29319 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29322 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29325 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29328 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29331 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29334 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29337 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29340 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29343 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29346 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29349 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29350 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29352 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29355 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29356 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29358 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29359 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29361 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29362 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29364 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29365 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29367 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29368 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29370 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29371 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29373 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29376 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29377 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29379 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29380 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29382 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29383 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29385 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29388 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29389 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29391 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29394 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29397 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29400 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29403 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29404 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29406 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29407 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29409 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29410 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29412 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29413 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29415 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29416 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29418 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29419 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29421 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29422 return (void *)((wxWindow
*) ((wxControl
*) x
));
29424 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29425 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29427 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29428 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29430 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29431 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29433 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29434 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29469 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}};
29470 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}};
29471 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}};
29472 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}};
29473 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}};
29474 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}};
29475 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}};
29476 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}};
29477 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}};
29478 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}};
29479 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}};
29480 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}};
29481 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}};
29482 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}};
29483 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}};
29484 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}};
29485 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}};
29486 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}};
29487 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}};
29488 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}};
29489 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}};
29490 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}};
29491 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}};
29492 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}};
29493 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}};
29494 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}};
29495 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}};
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29523 static swig_type_info
*swig_types_initial
[] = {
29524 _swigt__p_wxLogChain
,
29525 _swigt__p_wxMutexGuiLocker
,
29526 _swigt__p_wxMetafile
,
29527 _swigt__p_wxFileHistory
,
29529 _swigt__p_wxDateTime__TimeZone
,
29532 _swigt__p_wxConfigBase
,
29533 _swigt__p_wxDisplay
,
29534 _swigt__p_wxFileType
,
29535 _swigt__p_wxLogGui
,
29537 _swigt__p_wxDataFormat
,
29538 _swigt__p_wxTimerEvent
,
29542 _swigt__p_wxClipboard
,
29543 _swigt__p_wxStopWatch
,
29545 _swigt__p_wxClipboardLocker
,
29547 _swigt__p_wxLogStderr
,
29548 _swigt__p_wxLogTextCtrl
,
29549 _swigt__p_wxTextCtrl
,
29550 _swigt__p_wxBusyCursor
,
29551 _swigt__p_wxPyBitmapDataObject
,
29552 _swigt__p_wxPyTextDataObject
,
29553 _swigt__p_wxBitmapDataObject
,
29554 _swigt__p_wxTextDataObject
,
29555 _swigt__p_wxDataObject
,
29556 _swigt__p_wxFileDataObject
,
29557 _swigt__p_wxCustomDataObject
,
29558 _swigt__p_wxURLDataObject
,
29559 _swigt__p_wxMetafileDataObject
,
29561 _swigt__p_wxTimerRunner
,
29562 _swigt__p_wxLogWindow
,
29563 _swigt__p_wxTimeSpan
,
29564 _swigt__p_wxArrayString
,
29565 _swigt__p_wxWindowDisabler
,
29566 _swigt__p_wxToolTip
,
29567 _swigt__p_wxDataObjectComposite
,
29568 _swigt__p_wxFileConfig
,
29569 _swigt__p_wxSystemSettings
,
29570 _swigt__p_wxVideoMode
,
29571 _swigt__p_wxPyDataObjectSimple
,
29572 _swigt__p_wxDataObjectSimple
,
29573 _swigt__p_wxEvtHandler
,
29576 _swigt__p_wxSingleInstanceChecker
,
29577 _swigt__p_wxFileTypeInfo
,
29580 _swigt__p_wxMimeTypesManager
,
29581 _swigt__p_wxPyArtProvider
,
29582 _swigt__p_wxPyTipProvider
,
29583 _swigt__p_wxTipProvider
,
29584 _swigt__p_wxJoystick
,
29585 _swigt__p_wxSystemOptions
,
29587 _swigt__p_wxJoystickEvent
,
29588 _swigt__p_wxCursor
,
29589 _swigt__p_wxObject
,
29590 _swigt__p_wxOutputStream
,
29591 _swigt__p_wxDateTime
,
29592 _swigt__p_wxPyDropSource
,
29593 _swigt__p_wxWindow
,
29594 _swigt__p_wxString
,
29595 _swigt__p_wxPyProcess
,
29596 _swigt__p_wxBitmap
,
29597 _swigt__p_wxConfig
,
29599 _swigt__p_wxBusyInfo
,
29600 _swigt__p_wxPyDropTarget
,
29601 _swigt__p_wxPyTextDropTarget
,
29602 _swigt__p_wxPyFileDropTarget
,
29603 _swigt__p_wxProcessEvent
,
29605 _swigt__p_wxLogNull
,
29606 _swigt__p_wxColour
,
29607 _swigt__p_wxConfigPathChanger
,
29608 _swigt__p_wxPyTimer
,
29609 _swigt__p_wxDateSpan
,
29614 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29616 static swig_const_info swig_const_table
[] = {
29617 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29618 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29619 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29620 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29621 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29631 SWIGEXPORT(void) SWIG_init(void) {
29632 static PyObject
*SWIG_globals
= 0;
29633 static int typeinit
= 0;
29636 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29637 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29638 d
= PyModule_GetDict(m
);
29641 for (i
= 0; swig_types_initial
[i
]; i
++) {
29642 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29646 SWIG_InstallConstants(d
,swig_const_table
);
29648 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29649 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29650 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29651 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29652 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29653 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29654 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29655 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29656 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29657 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29658 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29659 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29660 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29661 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29662 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29663 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29664 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29665 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29666 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29667 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29668 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29669 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29670 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29671 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29672 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29673 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29674 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29675 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29676 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29677 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29678 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29679 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29680 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29681 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29682 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29683 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29684 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29685 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29686 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29687 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29688 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29689 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29690 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29691 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29692 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29693 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29694 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29695 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29696 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29697 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29698 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29699 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29700 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29701 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29702 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29703 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29704 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29705 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29706 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29707 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29708 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29709 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29710 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29711 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29712 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29713 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29714 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29715 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29716 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29717 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29718 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29719 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29720 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29721 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29722 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29723 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29724 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29725 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29726 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29727 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29728 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29729 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29730 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29731 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29732 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29733 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29734 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29735 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29736 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29737 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29738 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29739 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29740 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29741 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29742 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29743 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29744 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29745 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29746 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29747 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29749 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29751 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29752 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29753 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29754 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29755 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29756 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29757 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29758 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29759 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29760 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29761 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29762 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29763 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29764 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29765 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29766 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29767 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29768 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29769 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29770 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29771 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29772 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29773 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29774 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29775 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29776 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29777 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29778 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29779 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29780 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29781 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29782 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29783 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29784 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29785 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29786 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29787 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29788 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29789 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29790 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29791 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29792 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29793 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29794 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29795 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29796 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29797 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29798 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29799 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29800 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29802 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29804 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29805 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29806 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29807 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29808 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29809 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29810 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29811 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29812 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29813 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29814 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29815 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29816 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29817 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29818 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29819 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29820 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29821 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29822 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29823 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29824 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29863 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29865 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29866 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29867 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29868 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29869 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29870 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29871 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29872 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29873 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29874 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29875 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29876 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29877 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29878 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29879 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29880 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29881 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29882 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29883 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29884 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29885 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29886 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29887 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29888 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29889 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29890 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29891 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29892 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29893 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29894 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29895 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29896 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29897 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29898 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29899 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29900 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29901 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29902 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29903 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29904 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29905 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29906 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29907 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29908 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29909 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29910 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29911 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29912 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29913 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29914 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29915 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29916 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29917 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29918 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29919 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29920 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29921 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29922 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29923 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29924 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29925 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29926 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29927 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29928 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29929 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29930 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29931 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29932 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29933 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29934 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29935 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29936 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29937 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29938 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29939 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29940 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29941 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29942 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29943 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29944 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29945 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29946 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29947 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29948 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29949 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29950 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29951 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29952 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29953 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29954 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29955 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29956 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29957 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29958 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29959 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29960 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29961 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29962 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29963 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29964 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29965 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29966 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29967 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29968 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29969 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29970 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29971 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29972 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29973 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29974 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29975 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29976 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29977 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29978 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29979 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29980 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29981 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29982 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29983 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29984 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29985 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29986 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29987 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29988 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29989 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29990 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29991 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29992 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29993 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29994 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29995 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29996 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29997 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29998 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29999 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30000 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30001 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30002 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30003 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30004 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30005 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30006 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30007 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30008 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30009 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30010 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30011 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30012 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30013 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30014 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30015 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30016 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30017 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30018 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30019 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30020 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30021 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30022 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30023 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30024 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30025 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30026 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30027 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30028 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30029 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30030 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30031 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30032 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30033 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30034 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30035 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30036 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30037 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30038 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30039 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30040 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30041 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30042 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30043 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30044 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30045 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30046 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30047 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30048 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30049 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30050 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30051 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30052 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30053 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30054 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30055 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30056 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30057 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30058 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30059 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30060 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30061 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30062 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30063 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30064 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30066 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30067 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30068 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30069 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30071 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30072 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);