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 // Create a new class for wxPython to use
1272 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1274 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1275 : wxDataObjectSimple(format
) {}
1277 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1278 bool GetDataHere(void *buf
) const;
1279 bool SetData(size_t len
, const void *buf
) const;
1283 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1285 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1286 // We need to get the data for this object and write it to buf. I think
1287 // the best way to do this for wxPython is to have the Python method
1288 // return either a string or None and then act appropriately with the
1292 bool blocked
= wxPyBeginBlockThreads();
1293 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1295 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1297 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1299 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1303 wxPyEndBlockThreads(blocked
);
1307 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1308 // For this one we simply need to make a string from buf and len
1309 // and send it to the Python method.
1311 bool blocked
= wxPyBeginBlockThreads();
1312 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1313 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1314 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1317 wxPyEndBlockThreads(blocked
);
1321 // Create a new class for wxPython to use
1322 class wxPyTextDataObject
: public wxTextDataObject
{
1324 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1325 : wxTextDataObject(text
) {}
1327 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1328 DEC_PYCALLBACK_STRING__const(GetText
);
1329 DEC_PYCALLBACK__STRING(SetText
);
1333 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1334 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1335 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1338 // Create a new class for wxPython to use
1339 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1341 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1342 : wxBitmapDataObject(bitmap
) {}
1344 wxBitmap
GetBitmap() const;
1345 void SetBitmap(const wxBitmap
& bitmap
);
1349 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1350 wxBitmap
* rval
= &wxNullBitmap
;
1351 bool blocked
= wxPyBeginBlockThreads();
1352 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1355 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1357 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1362 wxPyEndBlockThreads(blocked
);
1366 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1367 bool blocked
= wxPyBeginBlockThreads();
1368 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1369 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1370 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1373 wxPyEndBlockThreads(blocked
);
1376 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1377 if (PyString_Check(data
)) {
1378 // for Python we just call SetData here since we always need it to make a copy.
1379 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1382 // raise a TypeError if not a string
1383 PyErr_SetString(PyExc_TypeError
, "String expected.");
1386 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1387 if (PyString_Check(data
)) {
1388 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1391 // raise a TypeError if not a string
1392 PyErr_SetString(PyExc_TypeError
, "String expected.");
1396 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1397 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1400 #include <wx/metafile.h>
1403 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1406 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1407 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1408 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1409 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1410 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1413 class wxPyTextDropTarget
: public wxTextDropTarget
{
1415 wxPyTextDropTarget() {}
1417 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1419 DEC_PYCALLBACK__(OnLeave
);
1420 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1421 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1422 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1423 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1428 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1429 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1430 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1431 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1432 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1433 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1437 class wxPyFileDropTarget
: public wxFileDropTarget
{
1439 wxPyFileDropTarget() {}
1441 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1443 DEC_PYCALLBACK__(OnLeave
);
1444 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1445 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1446 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1447 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1452 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1453 const wxArrayString
& filenames
) {
1455 bool blocked
= wxPyBeginBlockThreads();
1456 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1457 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1458 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1461 wxPyEndBlockThreads(blocked
);
1467 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1468 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1469 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1470 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1471 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1476 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1478 #include "wx/display.h"
1480 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1481 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1482 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1483 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1484 PyObject
* pyList
= NULL
;
1485 wxArrayVideoModes arr
= self
->GetModes(mode
);
1486 bool blocked
= wxPyBeginBlockThreads();
1487 pyList
= PyList_New(0);
1488 for (int i
=0; i
< arr
.GetCount(); i
++) {
1489 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1490 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1491 PyList_Append(pyList
, pyObj
);
1493 wxPyEndBlockThreads(blocked
);
1499 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "index", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1519 wxColour
* resultptr
;
1520 resultptr
= new wxColour((wxColour
&) result
);
1521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1529 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
*resultobj
;
1533 PyObject
* obj0
= 0 ;
1535 (char *) "index", NULL
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1539 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) SWIG_fail
;
1550 resultptr
= new wxFont((wxFont
&) result
);
1551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1559 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1563 PyObject
* obj0
= 0 ;
1565 (char *) "index", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1569 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1578 resultobj
= SWIG_FromInt((int)result
);
1585 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1589 PyObject
* obj0
= 0 ;
1591 (char *) "index", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1595 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1613 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (int)wxSystemSettings::GetScreenType();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1628 resultobj
= SWIG_FromInt((int)result
);
1635 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
*resultobj
;
1638 PyObject
* obj0
= 0 ;
1640 (char *) "screen", NULL
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1644 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1645 if (PyErr_Occurred()) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 Py_INCREF(Py_None
); resultobj
= Py_None
;
1660 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1663 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1665 return Py_BuildValue((char *)"");
1667 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 wxSystemOptions
*result
;
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (wxSystemOptions
*)new wxSystemOptions();
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1689 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxString
*arg1
= 0 ;
1692 wxString
*arg2
= 0 ;
1693 bool temp1
= False
;
1694 bool temp2
= False
;
1695 PyObject
* obj0
= 0 ;
1696 PyObject
* obj1
= 0 ;
1698 (char *) "name",(char *) "value", NULL
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1703 arg1
= wxString_in_helper(obj0
);
1704 if (arg1
== NULL
) SWIG_fail
;
1708 arg2
= wxString_in_helper(obj1
);
1709 if (arg2
== NULL
) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 Py_INCREF(Py_None
); resultobj
= Py_None
;
1742 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
*resultobj
;
1744 wxString
*arg1
= 0 ;
1746 bool temp1
= False
;
1747 PyObject
* obj0
= 0 ;
1748 PyObject
* obj1
= 0 ;
1750 (char *) "name",(char *) "value", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1755 arg1
= wxString_in_helper(obj0
);
1756 if (arg1
== NULL
) SWIG_fail
;
1759 arg2
= (int) SWIG_AsInt(obj1
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 Py_INCREF(Py_None
); resultobj
= Py_None
;
1783 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxString
*arg1
= 0 ;
1787 bool temp1
= False
;
1788 PyObject
* obj0
= 0 ;
1790 (char *) "name", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1795 arg1
= wxString_in_helper(obj0
);
1796 if (arg1
== NULL
) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1827 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1829 wxString
*arg1
= 0 ;
1831 bool temp1
= False
;
1832 PyObject
* obj0
= 0 ;
1834 (char *) "name", NULL
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1839 arg1
= wxString_in_helper(obj0
);
1840 if (arg1
== NULL
) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= SWIG_FromInt((int)result
);
1865 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxString
*arg1
= 0 ;
1869 bool temp1
= False
;
1870 PyObject
* obj0
= 0 ;
1872 (char *) "name", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1877 arg1
= wxString_in_helper(obj0
);
1878 if (arg1
== NULL
) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1905 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1908 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1910 return Py_BuildValue((char *)"");
1912 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1913 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1918 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1923 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1925 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1932 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1933 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1938 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1943 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1945 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1952 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1953 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1958 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1963 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1965 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1972 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (long)wxNewId();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_FromLong((long)result
);
1994 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1997 PyObject
* obj0
= 0 ;
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2003 arg1
= (long) SWIG_AsLong(obj0
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 Py_INCREF(Py_None
); resultobj
= Py_None
;
2019 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (long)wxGetCurrentId();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= SWIG_FromLong((long)result
);
2041 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 Py_INCREF(Py_None
); resultobj
= Py_None
;
2083 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
*resultobj
;
2085 bool arg1
= (bool) True
;
2087 PyObject
* obj0
= 0 ;
2089 (char *) "resetTimer", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2094 arg1
= (bool) SWIG_AsBool(obj0
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= (long)wxGetElapsedTime(arg1
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 resultobj
= SWIG_FromLong((long)result
);
2111 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 int *arg1
= (int *) 0 ;
2114 int *arg2
= (int *) 0 ;
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 wxGetMousePosition(arg1
,arg2
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 Py_INCREF(Py_None
); resultobj
= Py_None
;
2133 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2134 resultobj
= t_output_helper(resultobj
,o
);
2137 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2138 resultobj
= t_output_helper(resultobj
,o
);
2146 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (bool)wxIsBusy();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2170 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2198 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2201 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2203 bool temp1
= False
;
2204 PyObject
* obj0
= 0 ;
2206 (char *) "command", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2212 arg1
= wxString_in_helper(obj0
);
2213 if (arg1
== NULL
) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 result
= (bool)wxShell((wxString
const &)*arg1
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2241 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 int *arg1
= (int *) 0 ;
2265 int *arg2
= (int *) 0 ;
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (int)wxGetOsVersion(arg1
,arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_FromInt((int)result
);
2285 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2286 resultobj
= t_output_helper(resultobj
,o
);
2289 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2290 resultobj
= t_output_helper(resultobj
,o
);
2298 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= wxGetOsDescription();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2326 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 result
= (long)wxGetFreeMemory();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 resultobj
= SWIG_FromLong((long)result
);
2348 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2352 PyObject
* obj0
= 0 ;
2354 (char *) "wFlags", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2358 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2376 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2379 PyObject
* obj0
= 0 ;
2381 (char *) "secs", NULL
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2385 arg1
= (int) SWIG_AsInt(obj0
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 Py_INCREF(Py_None
); resultobj
= Py_None
;
2401 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 unsigned long arg1
;
2404 PyObject
* obj0
= 0 ;
2406 (char *) "milliseconds", NULL
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2410 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "enable", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2435 arg1
= (bool) SWIG_AsBool(obj0
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 wxEnableTopLevelWindows(arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2444 Py_INCREF(Py_None
); resultobj
= Py_None
;
2451 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
*resultobj
;
2453 wxString
*arg1
= 0 ;
2455 bool temp1
= False
;
2456 PyObject
* obj0
= 0 ;
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2463 arg1
= wxString_in_helper(obj0
);
2464 if (arg1
== NULL
) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2495 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 result
= wxGetEmailAddress();
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2523 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 result
= wxGetHostName();
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2551 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 result
= wxGetFullHostName();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2579 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 result
= wxGetUserId();
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2607 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= wxGetUserName();
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2635 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= wxGetHomeDir();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2663 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2666 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2668 bool temp1
= False
;
2669 PyObject
* obj0
= 0 ;
2671 (char *) "user", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2677 arg1
= wxString_in_helper(obj0
);
2678 if (arg1
== NULL
) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= wxGetUserHome((wxString
const &)*arg1
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2710 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 unsigned long result
;
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (unsigned long)wxGetProcessId();
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2725 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2732 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2756 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2757 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2758 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2761 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2762 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2763 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2764 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2765 int arg6
= (int) 0 ;
2766 wxWindow
*arg7
= (wxWindow
*) NULL
;
2767 int arg8
= (int) -1 ;
2768 int arg9
= (int) -1 ;
2770 bool temp1
= False
;
2771 bool temp2
= False
;
2772 bool temp3
= False
;
2773 bool temp4
= False
;
2774 bool temp5
= False
;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2777 PyObject
* obj2
= 0 ;
2778 PyObject
* obj3
= 0 ;
2779 PyObject
* obj4
= 0 ;
2780 PyObject
* obj5
= 0 ;
2781 PyObject
* obj6
= 0 ;
2782 PyObject
* obj7
= 0 ;
2783 PyObject
* obj8
= 0 ;
2785 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2791 arg1
= wxString_in_helper(obj0
);
2792 if (arg1
== NULL
) SWIG_fail
;
2798 arg2
= wxString_in_helper(obj1
);
2799 if (arg2
== NULL
) SWIG_fail
;
2805 arg3
= wxString_in_helper(obj2
);
2806 if (arg3
== NULL
) SWIG_fail
;
2812 arg4
= wxString_in_helper(obj3
);
2813 if (arg4
== NULL
) SWIG_fail
;
2819 arg5
= wxString_in_helper(obj4
);
2820 if (arg5
== NULL
) SWIG_fail
;
2825 arg6
= (int) SWIG_AsInt(obj5
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2833 arg8
= (int) SWIG_AsInt(obj7
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2837 arg9
= (int) SWIG_AsInt(obj8
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2900 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxString
*arg1
= 0 ;
2903 wxString
*arg2
= 0 ;
2904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2906 wxWindow
*arg4
= (wxWindow
*) NULL
;
2908 bool temp1
= False
;
2909 bool temp2
= False
;
2910 bool temp3
= False
;
2911 PyObject
* obj0
= 0 ;
2912 PyObject
* obj1
= 0 ;
2913 PyObject
* obj2
= 0 ;
2914 PyObject
* obj3
= 0 ;
2916 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2921 arg1
= wxString_in_helper(obj0
);
2922 if (arg1
== NULL
) SWIG_fail
;
2926 arg2
= wxString_in_helper(obj1
);
2927 if (arg2
== NULL
) SWIG_fail
;
2932 arg3
= wxString_in_helper(obj2
);
2933 if (arg3
== NULL
) SWIG_fail
;
2938 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2985 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxString
*arg1
= 0 ;
2988 wxString
*arg2
= 0 ;
2989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2991 wxWindow
*arg4
= (wxWindow
*) NULL
;
2993 bool temp1
= False
;
2994 bool temp2
= False
;
2995 bool temp3
= False
;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2998 PyObject
* obj2
= 0 ;
2999 PyObject
* obj3
= 0 ;
3001 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3006 arg1
= wxString_in_helper(obj0
);
3007 if (arg1
== NULL
) SWIG_fail
;
3011 arg2
= wxString_in_helper(obj1
);
3012 if (arg2
== NULL
) SWIG_fail
;
3017 arg3
= wxString_in_helper(obj2
);
3018 if (arg3
== NULL
) SWIG_fail
;
3023 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3070 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3073 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3074 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3075 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3076 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3079 wxWindow
*arg5
= (wxWindow
*) NULL
;
3081 bool temp1
= False
;
3082 bool temp2
= False
;
3084 PyObject
* obj0
= 0 ;
3085 PyObject
* obj1
= 0 ;
3086 PyObject
* obj2
= 0 ;
3087 PyObject
* obj3
= 0 ;
3088 PyObject
* obj4
= 0 ;
3090 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3096 arg1
= wxString_in_helper(obj0
);
3097 if (arg1
== NULL
) SWIG_fail
;
3103 arg2
= wxString_in_helper(obj1
);
3104 if (arg2
== NULL
) SWIG_fail
;
3109 arg3
= (long) SWIG_AsLong(obj2
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3119 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3158 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxString
*arg1
= 0 ;
3161 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3162 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3163 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3164 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3165 wxWindow
*arg4
= (wxWindow
*) NULL
;
3166 int arg5
= (int) -1 ;
3167 int arg6
= (int) -1 ;
3168 bool arg7
= (bool) True
;
3170 bool temp1
= False
;
3171 bool temp2
= False
;
3172 bool temp3
= False
;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3175 PyObject
* obj2
= 0 ;
3176 PyObject
* obj3
= 0 ;
3177 PyObject
* obj4
= 0 ;
3178 PyObject
* obj5
= 0 ;
3179 PyObject
* obj6
= 0 ;
3181 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3186 arg1
= wxString_in_helper(obj0
);
3187 if (arg1
== NULL
) SWIG_fail
;
3192 arg2
= wxString_in_helper(obj1
);
3193 if (arg2
== NULL
) SWIG_fail
;
3199 arg3
= wxString_in_helper(obj2
);
3200 if (arg3
== NULL
) SWIG_fail
;
3205 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3209 arg5
= (int) SWIG_AsInt(obj4
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 arg6
= (int) SWIG_AsInt(obj5
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3217 arg7
= (bool) SWIG_AsBool(obj6
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3264 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxString
*arg1
= 0 ;
3267 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3268 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3269 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3270 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3271 wxWindow
*arg4
= (wxWindow
*) NULL
;
3273 bool temp1
= False
;
3274 bool temp2
= False
;
3275 bool temp3
= False
;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3278 PyObject
* obj2
= 0 ;
3279 PyObject
* obj3
= 0 ;
3281 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3286 arg1
= wxString_in_helper(obj0
);
3287 if (arg1
== NULL
) SWIG_fail
;
3292 arg2
= wxString_in_helper(obj1
);
3293 if (arg2
== NULL
) SWIG_fail
;
3299 arg3
= wxString_in_helper(obj2
);
3300 if (arg3
== NULL
) SWIG_fail
;
3305 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3352 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxString
*arg1
= 0 ;
3355 wxString
*arg2
= 0 ;
3357 wxString
*arg4
= (wxString
*) 0 ;
3358 wxWindow
*arg5
= (wxWindow
*) NULL
;
3359 int arg6
= (int) -1 ;
3360 int arg7
= (int) -1 ;
3361 bool arg8
= (bool) True
;
3362 int arg9
= (int) 150 ;
3363 int arg10
= (int) 200 ;
3365 bool temp1
= False
;
3366 bool temp2
= False
;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3369 PyObject
* obj2
= 0 ;
3370 PyObject
* obj3
= 0 ;
3371 PyObject
* obj4
= 0 ;
3372 PyObject
* obj5
= 0 ;
3373 PyObject
* obj6
= 0 ;
3374 PyObject
* obj7
= 0 ;
3375 PyObject
* obj8
= 0 ;
3377 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3382 arg1
= wxString_in_helper(obj0
);
3383 if (arg1
== NULL
) SWIG_fail
;
3387 arg2
= wxString_in_helper(obj1
);
3388 if (arg2
== NULL
) SWIG_fail
;
3392 arg3
= PyList_Size(obj2
);
3393 arg4
= wxString_LIST_helper(obj2
);
3394 if (arg4
== NULL
) SWIG_fail
;
3397 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3401 arg6
= (int) SWIG_AsInt(obj4
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3405 arg7
= (int) SWIG_AsInt(obj5
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 arg8
= (bool) SWIG_AsBool(obj6
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 arg9
= (int) SWIG_AsInt(obj7
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3417 arg10
= (int) SWIG_AsInt(obj8
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3443 if (arg4
) delete [] arg4
;
3456 if (arg4
) delete [] arg4
;
3462 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxString
*arg1
= 0 ;
3465 wxString
*arg2
= 0 ;
3467 wxString
*arg4
= (wxString
*) 0 ;
3468 wxWindow
*arg5
= (wxWindow
*) NULL
;
3469 int arg6
= (int) -1 ;
3470 int arg7
= (int) -1 ;
3471 bool arg8
= (bool) True
;
3472 int arg9
= (int) 150 ;
3473 int arg10
= (int) 200 ;
3475 bool temp1
= False
;
3476 bool temp2
= False
;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3479 PyObject
* obj2
= 0 ;
3480 PyObject
* obj3
= 0 ;
3481 PyObject
* obj4
= 0 ;
3482 PyObject
* obj5
= 0 ;
3483 PyObject
* obj6
= 0 ;
3484 PyObject
* obj7
= 0 ;
3485 PyObject
* obj8
= 0 ;
3487 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3492 arg1
= wxString_in_helper(obj0
);
3493 if (arg1
== NULL
) SWIG_fail
;
3497 arg2
= wxString_in_helper(obj1
);
3498 if (arg2
== NULL
) SWIG_fail
;
3502 arg3
= PyList_Size(obj2
);
3503 arg4
= wxString_LIST_helper(obj2
);
3504 if (arg4
== NULL
) SWIG_fail
;
3507 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3511 arg6
= (int) SWIG_AsInt(obj4
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 arg7
= (int) SWIG_AsInt(obj5
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 arg8
= (bool) SWIG_AsBool(obj6
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 arg9
= (int) SWIG_AsInt(obj7
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3527 arg10
= (int) SWIG_AsInt(obj8
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= SWIG_FromInt((int)result
);
3547 if (arg4
) delete [] arg4
;
3560 if (arg4
) delete [] arg4
;
3566 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxString
*arg1
= 0 ;
3569 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3570 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3571 int arg3
= (int) wxOK
|wxCENTRE
;
3572 wxWindow
*arg4
= (wxWindow
*) NULL
;
3573 int arg5
= (int) -1 ;
3574 int arg6
= (int) -1 ;
3576 bool temp1
= False
;
3577 bool temp2
= False
;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 PyObject
* obj2
= 0 ;
3581 PyObject
* obj3
= 0 ;
3582 PyObject
* obj4
= 0 ;
3583 PyObject
* obj5
= 0 ;
3585 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3590 arg1
= wxString_in_helper(obj0
);
3591 if (arg1
== NULL
) SWIG_fail
;
3596 arg2
= wxString_in_helper(obj1
);
3597 if (arg2
== NULL
) SWIG_fail
;
3602 arg3
= (int) SWIG_AsInt(obj2
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg5
= (int) SWIG_AsInt(obj4
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 arg6
= (int) SWIG_AsInt(obj5
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= SWIG_FromInt((int)result
);
3647 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxString
*arg1
= 0 ;
3650 wxString
*arg2
= 0 ;
3651 wxString
*arg3
= 0 ;
3653 long arg5
= (long) 0 ;
3654 long arg6
= (long) 100 ;
3655 wxWindow
*arg7
= (wxWindow
*) NULL
;
3656 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3657 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3659 bool temp1
= False
;
3660 bool temp2
= False
;
3661 bool temp3
= False
;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3665 PyObject
* obj2
= 0 ;
3666 PyObject
* obj3
= 0 ;
3667 PyObject
* obj4
= 0 ;
3668 PyObject
* obj5
= 0 ;
3669 PyObject
* obj6
= 0 ;
3670 PyObject
* obj7
= 0 ;
3672 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3677 arg1
= wxString_in_helper(obj0
);
3678 if (arg1
== NULL
) SWIG_fail
;
3682 arg2
= wxString_in_helper(obj1
);
3683 if (arg2
== NULL
) SWIG_fail
;
3687 arg3
= wxString_in_helper(obj2
);
3688 if (arg3
== NULL
) SWIG_fail
;
3691 arg4
= (long) SWIG_AsLong(obj3
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 arg5
= (long) SWIG_AsLong(obj4
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3698 arg6
= (long) SWIG_AsLong(obj5
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3708 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 resultobj
= SWIG_FromLong((long)result
);
3749 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (bool)wxColourDisplay();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3773 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (int)wxDisplayDepth();
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 resultobj
= SWIG_FromInt((int)result
);
3795 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)wxGetDisplayDepth();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_FromInt((int)result
);
3817 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 int *arg1
= (int *) 0 ;
3820 int *arg2
= (int *) 0 ;
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 wxDisplaySize(arg1
,arg2
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3839 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3840 resultobj
= t_output_helper(resultobj
,o
);
3843 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3844 resultobj
= t_output_helper(resultobj
,o
);
3852 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= wxGetDisplaySize();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3869 resultptr
= new wxSize((wxSize
&) result
);
3870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3878 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 int *arg1
= (int *) 0 ;
3881 int *arg2
= (int *) 0 ;
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 wxDisplaySizeMM(arg1
,arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3901 resultobj
= t_output_helper(resultobj
,o
);
3904 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3905 resultobj
= t_output_helper(resultobj
,o
);
3913 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= wxGetDisplaySizeMM();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3930 resultptr
= new wxSize((wxSize
&) result
);
3931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3939 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 int *arg1
= (int *) 0 ;
3942 int *arg2
= (int *) 0 ;
3943 int *arg3
= (int *) 0 ;
3944 int *arg4
= (int *) 0 ;
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3968 resultobj
= t_output_helper(resultobj
,o
);
3971 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3972 resultobj
= t_output_helper(resultobj
,o
);
3975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3976 resultobj
= t_output_helper(resultobj
,o
);
3979 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3980 resultobj
= t_output_helper(resultobj
,o
);
3988 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 result
= wxGetClientDisplayRect();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4005 resultptr
= new wxRect((wxRect
&) result
);
4006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4014 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxCursor
*arg1
= 0 ;
4017 PyObject
* obj0
= 0 ;
4019 (char *) "cursor", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4027 PyErr_SetString(PyExc_TypeError
,"null reference");
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 Py_INCREF(Py_None
); resultobj
= Py_None
;
4044 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4046 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4047 PyObject
* obj0
= 0 ;
4049 (char *) "cursor", NULL
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 wxBeginBusyCursor(arg1
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (wxWindow
*)wxGetActiveWindow();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= wxPyMake_wxObject(result
);
4095 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4100 PyObject
* obj0
= 0 ;
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4108 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= wxPyMake_wxObject(result
);
4126 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4131 PyObject
* obj0
= 0 ;
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4139 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= wxPyMake_wxObject(result
);
4157 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxWindow
*arg1
= (wxWindow
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "win", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= wxPyMake_wxObject(result
);
4185 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "key", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4195 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4213 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 wxWakeUpMainThread();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 Py_INCREF(Py_None
); resultobj
= Py_None
;
4234 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 Py_INCREF(Py_None
); resultobj
= Py_None
;
4255 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 Py_INCREF(Py_None
); resultobj
= Py_None
;
4276 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxMutexGuiLocker
*result
;
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4298 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4301 PyObject
* obj0
= 0 ;
4303 (char *) "self", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4326 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4328 return Py_BuildValue((char *)"");
4330 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (bool)wxThread_IsMain();
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4354 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxString
*arg1
= 0 ;
4358 bool temp1
= False
;
4359 PyObject
* obj0
= 0 ;
4361 (char *) "tip", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4366 arg1
= wxString_in_helper(obj0
);
4367 if (arg1
== NULL
) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= wxPyMake_wxObject(result
);
4394 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4397 wxString
*arg2
= 0 ;
4398 bool temp2
= False
;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4402 (char *) "self",(char *) "tip", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4409 arg2
= wxString_in_helper(obj1
);
4410 if (arg2
== NULL
) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 (arg1
)->SetTip((wxString
const &)*arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 Py_INCREF(Py_None
); resultobj
= Py_None
;
4435 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4441 (char *) "self", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (arg1
)->GetTip();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4467 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4473 (char *) "self", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (wxWindow
*)(arg1
)->GetWindow();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= wxPyMake_wxObject(result
);
4495 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4498 PyObject
* obj0
= 0 ;
4500 (char *) "flag", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4504 arg1
= (bool) SWIG_AsBool(obj0
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxToolTip::Enable(arg1
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 Py_INCREF(Py_None
); resultobj
= Py_None
;
4520 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "milliseconds", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4529 arg1
= (long) SWIG_AsLong(obj0
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 wxToolTip::SetDelay(arg1
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 Py_INCREF(Py_None
); resultobj
= Py_None
;
4545 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4548 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4550 return Py_BuildValue((char *)"");
4552 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxWindow
*arg1
= (wxWindow
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4561 (char *) "window",(char *) "size", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4569 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4585 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxCaret
*arg1
= (wxCaret
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4590 (char *) "self", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxCaret
*arg1
= (wxCaret
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "self", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (bool)(arg1
)->IsOk();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4638 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxCaret
*arg1
= (wxCaret
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (bool)(arg1
)->IsVisible();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxCaret
*arg1
= (wxCaret
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4672 (char *) "self", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (arg1
)->GetPosition();
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 wxPoint
* resultptr
;
4687 resultptr
= new wxPoint((wxPoint
&) result
);
4688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4696 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxCaret
*arg1
= (wxCaret
*) 0 ;
4699 int *arg2
= (int *) 0 ;
4700 int *arg3
= (int *) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 (arg1
)->GetPosition(arg2
,arg3
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4723 resultobj
= t_output_helper(resultobj
,o
);
4726 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4727 resultobj
= t_output_helper(resultobj
,o
);
4735 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxCaret
*arg1
= (wxCaret
*) 0 ;
4739 PyObject
* obj0
= 0 ;
4741 (char *) "self", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (arg1
)->GetSize();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4756 resultptr
= new wxSize((wxSize
&) result
);
4757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4765 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxCaret
*arg1
= (wxCaret
*) 0 ;
4768 int *arg2
= (int *) 0 ;
4769 int *arg3
= (int *) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 (arg1
)->GetSize(arg2
,arg3
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 Py_INCREF(Py_None
); resultobj
= Py_None
;
4791 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4792 resultobj
= t_output_helper(resultobj
,o
);
4795 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4796 resultobj
= t_output_helper(resultobj
,o
);
4804 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxCaret
*arg1
= (wxCaret
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxWindow
*)(arg1
)->GetWindow();
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= wxPyMake_wxObject(result
);
4832 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxCaret
*arg1
= (wxCaret
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 PyObject
* obj2
= 0 ;
4841 (char *) "self",(char *) "x",(char *) "y", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 arg2
= (int) SWIG_AsInt(obj1
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4849 arg3
= (int) SWIG_AsInt(obj2
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 (arg1
)->Move(arg2
,arg3
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 Py_INCREF(Py_None
); resultobj
= Py_None
;
4865 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxCaret
*arg1
= (wxCaret
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4873 (char *) "self",(char *) "pt", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 (arg1
)->Move((wxPoint
const &)*arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 Py_INCREF(Py_None
); resultobj
= Py_None
;
4897 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxCaret
*arg1
= (wxCaret
*) 0 ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4904 PyObject
* obj2
= 0 ;
4906 (char *) "self",(char *) "width",(char *) "height", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4912 arg2
= (int) SWIG_AsInt(obj1
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4914 arg3
= (int) SWIG_AsInt(obj2
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 (arg1
)->SetSize(arg2
,arg3
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 Py_INCREF(Py_None
); resultobj
= Py_None
;
4930 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxCaret
*arg1
= (wxCaret
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4938 (char *) "self",(char *) "size", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 (arg1
)->SetSize((wxSize
const &)*arg2
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 Py_INCREF(Py_None
); resultobj
= Py_None
;
4962 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxCaret
*arg1
= (wxCaret
*) 0 ;
4965 int arg2
= (int) True
;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4969 (char *) "self",(char *) "show", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 arg2
= (int) SWIG_AsInt(obj1
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 Py_INCREF(Py_None
); resultobj
= Py_None
;
4993 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxCaret
*arg1
= (wxCaret
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5021 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5023 return Py_BuildValue((char *)"");
5025 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (int)wxCaret_GetBlinkTime();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= SWIG_FromInt((int)result
);
5047 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "milliseconds", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5056 arg1
= (int) SWIG_AsInt(obj0
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxCaret_SetBlinkTime(arg1
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5075 wxBusyCursor
*result
;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "cursor", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5100 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5128 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5130 return Py_BuildValue((char *)"");
5132 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxWindow
*arg1
= (wxWindow
*) NULL
;
5135 wxWindowDisabler
*result
;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "winToSkip", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5160 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5165 (char *) "self", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 Py_INCREF(Py_None
); resultobj
= Py_None
;
5185 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5188 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5190 return Py_BuildValue((char *)"");
5192 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxString
*arg1
= 0 ;
5196 bool temp1
= False
;
5197 PyObject
* obj0
= 0 ;
5199 (char *) "message", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5204 arg1
= wxString_in_helper(obj0
);
5205 if (arg1
== NULL
) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5230 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5233 PyObject
* obj0
= 0 ;
5235 (char *) "self", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5258 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5260 return Py_BuildValue((char *)"");
5262 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxStopWatch
*result
;
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (wxStopWatch
*)new wxStopWatch();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5284 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5287 long arg2
= (long) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5291 (char *) "self",(char *) "t0", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 arg2
= (long) SWIG_AsLong(obj1
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 (arg1
)->Start(arg2
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 Py_INCREF(Py_None
); resultobj
= Py_None
;
5315 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5345 (char *) "self", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 Py_INCREF(Py_None
); resultobj
= Py_None
;
5365 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "self", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_FromLong((long)result
);
5391 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5396 return Py_BuildValue((char *)"");
5398 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 int arg1
= (int) 9 ;
5401 wxFileHistory
*result
;
5402 PyObject
* obj0
= 0 ;
5404 (char *) "maxFiles", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5409 arg1
= (int) SWIG_AsInt(obj0
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5426 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5431 (char *) "self", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5454 wxString
*arg2
= 0 ;
5455 bool temp2
= False
;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "file", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg2
= wxString_in_helper(obj1
);
5467 if (arg2
== NULL
) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5492 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5499 (char *) "self",(char *) "i", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5505 arg2
= (int) SWIG_AsInt(obj1
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 (arg1
)->RemoveFileFromHistory(arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5527 (char *) "self", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= SWIG_FromInt((int)result
);
5547 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5550 wxMenu
*arg2
= (wxMenu
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "menu", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 (arg1
)->UseMenu(arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5579 wxMenu
*arg2
= (wxMenu
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "menu", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 (arg1
)->RemoveMenu(arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 Py_INCREF(Py_None
); resultobj
= Py_None
;
5605 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5608 wxConfigBase
*arg2
= 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5612 (char *) "self",(char *) "config", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5622 PyErr_SetString(PyExc_TypeError
,"null reference");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->Load(*arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5642 wxConfigBase
*arg2
= 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5646 (char *) "self",(char *) "config", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5656 PyErr_SetString(PyExc_TypeError
,"null reference");
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 (arg1
)->Save(*arg2
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5678 (char *) "self", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 (arg1
)->AddFilesToMenu();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5701 wxMenu
*arg2
= (wxMenu
*) 0 ;
5702 PyObject
* obj0
= 0 ;
5703 PyObject
* obj1
= 0 ;
5705 (char *) "self",(char *) "menu", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 (arg1
)->AddFilesToMenu(arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "i", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5741 arg2
= (int) SWIG_AsInt(obj1
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5763 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5767 PyObject
* obj0
= 0 ;
5769 (char *) "self", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= SWIG_FromInt((int)result
);
5789 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5792 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5794 return Py_BuildValue((char *)"");
5796 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxString
*arg1
= 0 ;
5799 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5800 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5801 wxSingleInstanceChecker
*result
;
5802 bool temp1
= False
;
5803 bool temp2
= False
;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5807 (char *) "name",(char *) "path", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5812 arg1
= wxString_in_helper(obj0
);
5813 if (arg1
== NULL
) SWIG_fail
;
5818 arg2
= wxString_in_helper(obj1
);
5819 if (arg2
== NULL
) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5853 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxSingleInstanceChecker
*result
;
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5875 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5903 wxString
*arg2
= 0 ;
5904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5907 bool temp2
= False
;
5908 bool temp3
= False
;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5911 PyObject
* obj2
= 0 ;
5913 (char *) "self",(char *) "name",(char *) "path", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 arg2
= wxString_in_helper(obj1
);
5921 if (arg2
== NULL
) SWIG_fail
;
5926 arg3
= wxString_in_helper(obj2
);
5927 if (arg3
== NULL
) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5963 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5969 (char *) "self", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5991 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5994 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5996 return Py_BuildValue((char *)"");
5998 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxWindow
*arg1
= (wxWindow
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6005 PyObject
* obj2
= 0 ;
6007 (char *) "window",(char *) "dc",(char *) "method", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6017 PyErr_SetString(PyExc_TypeError
,"null reference");
6020 arg3
= (int) SWIG_AsInt(obj2
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 Py_INCREF(Py_None
); resultobj
= Py_None
;
6036 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6041 (char *) "self", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6065 PyObject
* obj0
= 0 ;
6067 (char *) "self", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (arg1
)->GetTip();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6093 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "self", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (size_t)(arg1
)->GetCurrentTip();
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6119 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6122 wxString
*arg2
= 0 ;
6124 bool temp2
= False
;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6128 (char *) "self",(char *) "tip", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 arg2
= wxString_in_helper(obj1
);
6136 if (arg2
== NULL
) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6167 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6170 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6172 return Py_BuildValue((char *)"");
6174 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6177 wxPyTipProvider
*result
;
6178 PyObject
* obj0
= 0 ;
6180 (char *) "currentTip", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6184 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6200 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6203 PyObject
*arg2
= (PyObject
*) 0 ;
6204 PyObject
*arg3
= (PyObject
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6209 (char *) "self",(char *) "self",(char *) "_class", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6236 return Py_BuildValue((char *)"");
6238 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxWindow
*arg1
= (wxWindow
*) 0 ;
6241 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6242 bool arg3
= (bool) True
;
6244 PyObject
* obj0
= 0 ;
6245 PyObject
* obj1
= 0 ;
6246 PyObject
* obj2
= 0 ;
6248 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 arg3
= (bool) SWIG_AsBool(obj2
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6276 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxString
*arg1
= 0 ;
6280 wxTipProvider
*result
;
6281 bool temp1
= False
;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "filename",(char *) "currentTip", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6290 arg1
= wxString_in_helper(obj0
);
6291 if (arg1
== NULL
) SWIG_fail
;
6294 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6318 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6321 int arg2
= (int) -1 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6326 (char *) "owner",(char *) "id", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 arg2
= (int) SWIG_AsInt(obj1
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6352 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6357 (char *) "self", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 Py_INCREF(Py_None
); resultobj
= Py_None
;
6377 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6380 PyObject
*arg2
= (PyObject
*) 0 ;
6381 PyObject
*arg3
= (PyObject
*) 0 ;
6382 int arg4
= (int) 1 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6386 PyObject
* obj3
= 0 ;
6388 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 arg4
= (int) SWIG_AsInt(obj3
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6414 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6417 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6418 int arg3
= (int) -1 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6421 PyObject
* obj2
= 0 ;
6423 (char *) "self",(char *) "owner",(char *) "id", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6432 arg3
= (int) SWIG_AsInt(obj2
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->SetOwner(arg2
,arg3
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6452 wxEvtHandler
*result
;
6453 PyObject
* obj0
= 0 ;
6455 (char *) "self", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= wxPyMake_wxObject(result
);
6477 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6480 int arg2
= (int) -1 ;
6481 bool arg3
= (bool) False
;
6483 PyObject
* obj0
= 0 ;
6484 PyObject
* obj1
= 0 ;
6485 PyObject
* obj2
= 0 ;
6487 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6494 arg2
= (int) SWIG_AsInt(obj1
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6498 arg3
= (bool) SWIG_AsBool(obj2
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6517 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6520 PyObject
* obj0
= 0 ;
6522 (char *) "self", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6548 (char *) "self", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6570 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6576 (char *) "self", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_FromInt((int)result
);
6596 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6602 (char *) "self", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6624 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6626 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "self", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_FromInt((int)result
);
6650 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6653 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6655 return Py_BuildValue((char *)"");
6657 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 int arg1
= (int) 0 ;
6660 int arg2
= (int) 0 ;
6661 wxTimerEvent
*result
;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6665 (char *) "timerid",(char *) "interval", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6670 arg1
= (int) SWIG_AsInt(obj0
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 arg2
= (int) SWIG_AsInt(obj1
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6691 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6697 (char *) "self", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_FromInt((int)result
);
6717 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6720 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6722 return Py_BuildValue((char *)"");
6724 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6725 PyObject
*resultobj
;
6727 wxTimerRunner
*result
;
6728 PyObject
* obj0
= 0 ;
6730 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6735 PyErr_SetString(PyExc_TypeError
,"null reference");
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6752 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6753 PyObject
*resultobj
;
6756 bool arg3
= (bool) False
;
6757 wxTimerRunner
*result
;
6758 PyObject
* obj0
= 0 ;
6759 PyObject
* obj1
= 0 ;
6760 PyObject
* obj2
= 0 ;
6762 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6767 PyErr_SetString(PyExc_TypeError
,"null reference");
6770 arg2
= (int) SWIG_AsInt(obj1
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 arg3
= (bool) SWIG_AsBool(obj2
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6790 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6795 argc
= PyObject_Length(args
);
6796 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6797 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6803 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6811 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6814 if ((argc
>= 2) && (argc
<= 3)) {
6818 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6826 _v
= SWIG_CheckInt(argv
[1]);
6829 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6831 _v
= SWIG_CheckBool(argv
[2]);
6833 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6839 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6844 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6847 PyObject
* obj0
= 0 ;
6849 (char *) "self", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6869 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6873 bool arg3
= (bool) False
;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6876 PyObject
* obj2
= 0 ;
6878 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= (int) SWIG_AsInt(obj1
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 arg3
= (bool) SWIG_AsBool(obj2
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 (arg1
)->Start(arg2
,arg3
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6907 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6909 return Py_BuildValue((char *)"");
6911 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxLog
*)new wxLog();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6933 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (bool)wxLog::IsEnabled();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6957 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 bool arg1
= (bool) True
;
6961 PyObject
* obj0
= 0 ;
6963 (char *) "doIt", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6968 arg1
= (bool) SWIG_AsBool(obj0
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (bool)wxLog::EnableLogging(arg1
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6987 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6990 wxChar
*arg2
= (wxChar
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6994 PyObject
* obj2
= 0 ;
6996 (char *) "level",(char *) "szString",(char *) "t", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7000 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7004 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 Py_INCREF(Py_None
); resultobj
= Py_None
;
7020 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxLog
*arg1
= (wxLog
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7025 (char *) "self", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 Py_INCREF(Py_None
); resultobj
= Py_None
;
7045 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 wxLog::FlushActive();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 Py_INCREF(Py_None
); resultobj
= Py_None
;
7066 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (wxLog
*)wxLog::GetActiveTarget();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7088 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxLog
*arg1
= (wxLog
*) 0 ;
7092 PyObject
* obj0
= 0 ;
7094 (char *) "pLogger", NULL
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7114 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7156 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 bool arg1
= (bool) True
;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "bVerbose", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7166 arg1
= (bool) SWIG_AsBool(obj0
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 wxLog::SetVerbose(arg1
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7186 PyObject
* obj0
= 0 ;
7188 (char *) "logLevel", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7192 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 wxLog::SetLogLevel(arg1
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 Py_INCREF(Py_None
); resultobj
= Py_None
;
7208 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 wxLog::DontCreateOnDemand();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "ulMask", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7238 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 wxLog::SetTraceMask(arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxString
*arg1
= 0 ;
7257 bool temp1
= False
;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "str", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7265 arg1
= wxString_in_helper(obj0
);
7266 if (arg1
== NULL
) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 wxLog::AddTraceMask((wxString
const &)*arg1
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 Py_INCREF(Py_None
); resultobj
= Py_None
;
7291 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxString
*arg1
= 0 ;
7294 bool temp1
= False
;
7295 PyObject
* obj0
= 0 ;
7297 (char *) "str", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7302 arg1
= wxString_in_helper(obj0
);
7303 if (arg1
== NULL
) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxLog::ClearTraceMasks();
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxArrayString
*result
;
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7361 result
= (wxArrayString
*) &_result_ref
;
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= wxArrayString2PyList_helper(*result
);
7376 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxChar
*arg1
= (wxChar
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxLog::SetTimestamp((wxChar
const *)arg1
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (bool)wxLog::GetVerbose();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7425 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (wxTraceMask
)wxLog::GetTraceMask();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7447 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxChar
*arg1
= (wxChar
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "mask", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (wxLogLevel
)wxLog::GetLogLevel();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7497 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxChar
*)wxLog::GetTimestamp();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7519 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= Log_TimeStamp();
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7547 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxLog
*arg1
= (wxLog
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7552 (char *) "self", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxLog_Destroy(arg1
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7572 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7575 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7577 return Py_BuildValue((char *)"");
7579 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxLogStderr
*result
;
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (wxLogStderr
*)new wxLogStderr();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7601 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7604 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7606 return Py_BuildValue((char *)"");
7608 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7611 wxLogTextCtrl
*result
;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "pTextCtrl", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7634 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7637 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7639 return Py_BuildValue((char *)"");
7641 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (wxLogGui
*)new wxLogGui();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7663 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7666 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7668 return Py_BuildValue((char *)"");
7670 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxFrame
*arg1
= (wxFrame
*) 0 ;
7673 wxString
*arg2
= 0 ;
7674 bool arg3
= (bool) True
;
7675 bool arg4
= (bool) True
;
7676 wxLogWindow
*result
;
7677 bool temp2
= False
;
7678 PyObject
* obj0
= 0 ;
7679 PyObject
* obj1
= 0 ;
7680 PyObject
* obj2
= 0 ;
7681 PyObject
* obj3
= 0 ;
7683 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7690 arg2
= wxString_in_helper(obj1
);
7691 if (arg2
== NULL
) SWIG_fail
;
7695 arg3
= (bool) SWIG_AsBool(obj2
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 arg4
= (bool) SWIG_AsBool(obj3
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7724 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7727 bool arg2
= (bool) True
;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "self",(char *) "bShow", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 arg2
= (bool) SWIG_AsBool(obj1
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 Py_INCREF(Py_None
); resultobj
= Py_None
;
7755 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= wxPyMake_wxObject(result
);
7783 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7809 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7815 (char *) "self", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7837 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "bDoPass", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7850 arg2
= (bool) SWIG_AsBool(obj1
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->PassMessages(arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 Py_INCREF(Py_None
); resultobj
= Py_None
;
7866 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7869 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7871 return Py_BuildValue((char *)"");
7873 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxLog
*arg1
= (wxLog
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7879 (char *) "logger", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (wxLogChain
*)new wxLogChain(arg1
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7899 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7902 wxLog
*arg2
= (wxLog
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7906 (char *) "self",(char *) "logger", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 (arg1
)->SetLog(arg2
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 Py_INCREF(Py_None
); resultobj
= Py_None
;
7928 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "bDoPass", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 arg2
= (bool) SWIG_AsBool(obj1
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 (arg1
)->PassMessages(arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (bool)(arg1
)->IsPassingMessages();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7985 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (wxLog
*)(arg1
)->GetOldLog();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8011 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8014 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8016 return Py_BuildValue((char *)"");
8018 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 unsigned long result
;
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (unsigned long)wxSysErrorCode();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8040 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 unsigned long arg1
= (unsigned long) 0 ;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "nErrCode", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8051 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= wxSysErrorMsg(arg1
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8074 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxString
*arg1
= 0 ;
8077 bool temp1
= False
;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "msg", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8085 arg1
= wxString_in_helper(obj0
);
8086 if (arg1
== NULL
) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 wxLogFatalError((wxString
const &)*arg1
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxString
*arg1
= 0 ;
8114 bool temp1
= False
;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "msg", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8122 arg1
= wxString_in_helper(obj0
);
8123 if (arg1
== NULL
) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 wxLogError((wxString
const &)*arg1
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8148 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8150 wxString
*arg1
= 0 ;
8151 bool temp1
= False
;
8152 PyObject
* obj0
= 0 ;
8154 (char *) "msg", NULL
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8159 arg1
= wxString_in_helper(obj0
);
8160 if (arg1
== NULL
) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 wxLogWarning((wxString
const &)*arg1
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxString
*arg1
= 0 ;
8188 bool temp1
= False
;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "msg", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8196 arg1
= wxString_in_helper(obj0
);
8197 if (arg1
== NULL
) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 wxLogMessage((wxString
const &)*arg1
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 Py_INCREF(Py_None
); resultobj
= Py_None
;
8222 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxString
*arg1
= 0 ;
8225 bool temp1
= False
;
8226 PyObject
* obj0
= 0 ;
8228 (char *) "msg", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8233 arg1
= wxString_in_helper(obj0
);
8234 if (arg1
== NULL
) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 wxLogInfo((wxString
const &)*arg1
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 Py_INCREF(Py_None
); resultobj
= Py_None
;
8259 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
;
8261 wxString
*arg1
= 0 ;
8262 bool temp1
= False
;
8263 PyObject
* obj0
= 0 ;
8265 (char *) "msg", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8270 arg1
= wxString_in_helper(obj0
);
8271 if (arg1
== NULL
) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 wxLogDebug((wxString
const &)*arg1
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxString
*arg1
= 0 ;
8299 bool temp1
= False
;
8300 PyObject
* obj0
= 0 ;
8302 (char *) "msg", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8307 arg1
= wxString_in_helper(obj0
);
8308 if (arg1
== NULL
) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 wxLogVerbose((wxString
const &)*arg1
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8333 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxString
*arg1
= 0 ;
8336 bool temp1
= False
;
8337 PyObject
* obj0
= 0 ;
8339 (char *) "msg", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8344 arg1
= wxString_in_helper(obj0
);
8345 if (arg1
== NULL
) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxLogStatus((wxString
const &)*arg1
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 Py_INCREF(Py_None
); resultobj
= Py_None
;
8370 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxFrame
*arg1
= (wxFrame
*) 0 ;
8373 wxString
*arg2
= 0 ;
8374 bool temp2
= False
;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "pFrame",(char *) "msg", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 arg2
= wxString_in_helper(obj1
);
8386 if (arg2
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxString
*arg1
= 0 ;
8414 bool temp1
= False
;
8415 PyObject
* obj0
= 0 ;
8417 (char *) "msg", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8422 arg1
= wxString_in_helper(obj0
);
8423 if (arg1
== NULL
) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxLogSysError((wxString
const &)*arg1
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8449 PyObject
*resultobj
;
8450 unsigned long arg1
;
8451 wxString
*arg2
= 0 ;
8452 bool temp2
= False
;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8457 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 arg2
= wxString_in_helper(obj1
);
8461 if (arg2
== NULL
) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8486 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8487 PyObject
*resultobj
;
8488 wxString
*arg1
= 0 ;
8489 wxString
*arg2
= 0 ;
8490 bool temp1
= False
;
8491 bool temp2
= False
;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8497 arg1
= wxString_in_helper(obj0
);
8498 if (arg1
== NULL
) SWIG_fail
;
8502 arg2
= wxString_in_helper(obj1
);
8503 if (arg2
== NULL
) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 Py_INCREF(Py_None
); resultobj
= Py_None
;
8536 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8541 argc
= PyObject_Length(args
);
8542 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8543 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8548 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8552 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8555 return _wrap_LogTrace__SWIG_1(self
,args
);
8561 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8564 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8567 return _wrap_LogTrace__SWIG_0(self
,args
);
8572 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8577 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 unsigned long arg1
;
8580 wxString
*arg2
= 0 ;
8581 bool temp2
= False
;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8585 (char *) "level",(char *) "msg", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8589 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 arg2
= wxString_in_helper(obj1
);
8593 if (arg2
== NULL
) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxString
*arg1
= 0 ;
8621 wxString
*arg2
= 0 ;
8622 bool temp1
= False
;
8623 bool temp2
= False
;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8627 (char *) "title",(char *) "text", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8632 arg1
= wxString_in_helper(obj0
);
8633 if (arg1
== NULL
) SWIG_fail
;
8637 arg2
= wxString_in_helper(obj1
);
8638 if (arg2
== NULL
) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (wxLogNull
*)new wxLogNull();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8693 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8721 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8723 return Py_BuildValue((char *)"");
8725 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (wxPyLog
*)new wxPyLog();
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8747 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8750 PyObject
*arg2
= (PyObject
*) 0 ;
8751 PyObject
*arg3
= (PyObject
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8756 (char *) "self",(char *) "self",(char *) "_class", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8781 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8783 return Py_BuildValue((char *)"");
8785 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8788 int arg2
= (int) wxSIGTERM
;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "pid",(char *) "sig", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 arg1
= (int) SWIG_AsInt(obj0
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= SWIG_FromInt((int)result
);
8817 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "pid", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8827 arg1
= (int) SWIG_AsInt(obj0
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (bool)wxPyProcess::Exists(arg1
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8845 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxString
*arg1
= 0 ;
8848 int arg2
= (int) wxEXEC_ASYNC
;
8849 wxPyProcess
*result
;
8850 bool temp1
= False
;
8851 PyObject
* obj0
= 0 ;
8852 PyObject
* obj1
= 0 ;
8854 (char *) "cmd",(char *) "flags", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8859 arg1
= wxString_in_helper(obj0
);
8860 if (arg1
== NULL
) SWIG_fail
;
8864 arg2
= (int) SWIG_AsInt(obj1
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8889 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8892 int arg2
= (int) -1 ;
8893 wxPyProcess
*result
;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8897 (char *) "parent",(char *) "id", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 arg2
= (int) SWIG_AsInt(obj1
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8923 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8926 PyObject
*arg2
= (PyObject
*) 0 ;
8927 PyObject
*arg3
= (PyObject
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8932 (char *) "self",(char *) "self",(char *) "_class", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 Py_INCREF(Py_None
); resultobj
= Py_None
;
8954 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8961 PyObject
* obj2
= 0 ;
8963 (char *) "self",(char *) "pid",(char *) "status", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 arg2
= (int) SWIG_AsInt(obj1
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8971 arg3
= (int) SWIG_AsInt(obj2
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 (arg1
)->base_OnTerminate(arg2
,arg3
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "self", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (bool)(arg1
)->IsRedirected();
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9040 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 Py_INCREF(Py_None
); resultobj
= Py_None
;
9065 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9068 wxInputStream
*result
;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "self", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9085 wxPyInputStream
* _ptr
= NULL
;
9088 _ptr
= new wxPyInputStream(result
);
9090 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9098 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9101 wxInputStream
*result
;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 wxPyInputStream
* _ptr
= NULL
;
9121 _ptr
= new wxPyInputStream(result
);
9123 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9131 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9134 wxOutputStream
*result
;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9157 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->CloseOutput();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9210 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9238 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9244 (char *) "self", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9266 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9269 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9271 return Py_BuildValue((char *)"");
9273 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 int arg1
= (int) 0 ;
9276 int arg2
= (int) 0 ;
9277 int arg3
= (int) 0 ;
9278 wxProcessEvent
*result
;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 PyObject
* obj2
= 0 ;
9283 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9288 arg1
= (int) SWIG_AsInt(obj0
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 arg2
= (int) SWIG_AsInt(obj1
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9296 arg3
= (int) SWIG_AsInt(obj2
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9313 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (int)(arg1
)->GetPid();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_FromInt((int)result
);
9339 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9345 (char *) "self", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (int)(arg1
)->GetExitCode();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_FromInt((int)result
);
9365 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9372 (char *) "self",(char *) "m_pid", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 arg2
= (int) SWIG_AsInt(obj1
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9380 if (arg1
) (arg1
)->m_pid
= arg2
;
9382 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 result
= (int) ((arg1
)->m_pid
);
9403 resultobj
= SWIG_FromInt((int)result
);
9410 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9417 (char *) "self",(char *) "m_exitcode", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 arg2
= (int) SWIG_AsInt(obj1
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9425 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9427 Py_INCREF(Py_None
); resultobj
= Py_None
;
9434 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 result
= (int) ((arg1
)->m_exitcode
);
9448 resultobj
= SWIG_FromInt((int)result
);
9455 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9458 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9460 return Py_BuildValue((char *)"");
9462 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxString
*arg1
= 0 ;
9465 int arg2
= (int) wxEXEC_ASYNC
;
9466 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9468 bool temp1
= False
;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9471 PyObject
* obj2
= 0 ;
9473 (char *) "command",(char *) "flags",(char *) "process", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9478 arg1
= wxString_in_helper(obj0
);
9479 if (arg1
== NULL
) SWIG_fail
;
9483 arg2
= (int) SWIG_AsInt(obj1
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_FromLong((long)result
);
9512 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 int arg1
= (int) wxJOYSTICK1
;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "joystick", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9523 arg1
= (int) SWIG_AsInt(obj0
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (wxJoystick
*)new wxJoystick(arg1
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9540 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9545 (char *) "self", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 Py_INCREF(Py_None
); resultobj
= Py_None
;
9565 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (arg1
)->GetPosition();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9585 wxPoint
* resultptr
;
9586 resultptr
= new wxPoint((wxPoint
&) result
);
9587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9595 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (int)(arg1
)->GetZPosition();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_FromInt((int)result
);
9621 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (int)(arg1
)->GetButtonState();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_FromInt((int)result
);
9647 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "self", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (int)(arg1
)->GetPOVPosition();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_FromInt((int)result
);
9673 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9679 (char *) "self", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (int)(arg1
)->GetPOVCTSPosition();
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_FromInt((int)result
);
9699 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9705 (char *) "self", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (int)(arg1
)->GetRudderPosition();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_FromInt((int)result
);
9725 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (int)(arg1
)->GetUPosition();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= SWIG_FromInt((int)result
);
9751 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (int)(arg1
)->GetVPosition();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_FromInt((int)result
);
9777 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (int)(arg1
)->GetMovementThreshold();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_FromInt((int)result
);
9803 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9810 (char *) "self",(char *) "threshold", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 arg2
= (int) SWIG_AsInt(obj1
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 (arg1
)->SetMovementThreshold(arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 Py_INCREF(Py_None
); resultobj
= Py_None
;
9832 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (bool)(arg1
)->IsOk();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9860 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (int)(arg1
)->GetNumberJoysticks();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_FromInt((int)result
);
9886 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (int)(arg1
)->GetManufacturerId();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_FromInt((int)result
);
9912 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9918 (char *) "self", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (int)(arg1
)->GetProductId();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_FromInt((int)result
);
9938 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (arg1
)->GetProductName();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9970 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (int)(arg1
)->GetXMin();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_FromInt((int)result
);
9996 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (int)(arg1
)->GetYMin();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_FromInt((int)result
);
10022 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (int)(arg1
)->GetZMin();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_FromInt((int)result
);
10048 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (int)(arg1
)->GetXMax();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_FromInt((int)result
);
10074 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (int)(arg1
)->GetYMax();
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_FromInt((int)result
);
10100 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (int)(arg1
)->GetZMax();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_FromInt((int)result
);
10126 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)(arg1
)->GetNumberButtons();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_FromInt((int)result
);
10152 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (int)(arg1
)->GetNumberAxes();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_FromInt((int)result
);
10178 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (int)(arg1
)->GetMaxButtons();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_FromInt((int)result
);
10204 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (int)(arg1
)->GetMaxAxes();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_FromInt((int)result
);
10230 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (int)(arg1
)->GetPollingMin();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_FromInt((int)result
);
10256 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (int)(arg1
)->GetPollingMax();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_FromInt((int)result
);
10282 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (int)(arg1
)->GetRudderMin();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_FromInt((int)result
);
10308 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (int)(arg1
)->GetRudderMax();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_FromInt((int)result
);
10334 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (int)(arg1
)->GetUMin();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_FromInt((int)result
);
10360 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (int)(arg1
)->GetUMax();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_FromInt((int)result
);
10386 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (int)(arg1
)->GetVMin();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_FromInt((int)result
);
10412 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (int)(arg1
)->GetVMax();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_FromInt((int)result
);
10438 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (bool)(arg1
)->HasRudder();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10466 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (bool)(arg1
)->HasZ();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10494 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (bool)(arg1
)->HasU();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10522 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (bool)(arg1
)->HasV();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10550 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (bool)(arg1
)->HasPOV();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10578 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (bool)(arg1
)->HasPOV4Dir();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (bool)(arg1
)->HasPOVCTS();
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10637 wxWindow
*arg2
= (wxWindow
*) 0 ;
10638 int arg3
= (int) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 PyObject
* obj2
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 arg3
= (int) SWIG_AsInt(obj2
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10672 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (bool)(arg1
)->ReleaseCapture();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10700 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10703 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10705 return Py_BuildValue((char *)"");
10707 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10710 wxPoint
*arg2
= (wxPoint
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "m_pos", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 if (arg1
) (arg1
)->m_pos
= *arg2
;
10724 Py_INCREF(Py_None
); resultobj
= Py_None
;
10731 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10752 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 PyObject
* obj1
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self",(char *) "m_zPosition", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10765 arg2
= (int) SWIG_AsInt(obj1
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10767 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10769 Py_INCREF(Py_None
); resultobj
= Py_None
;
10776 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 result
= (int) ((arg1
)->m_zPosition
);
10790 resultobj
= SWIG_FromInt((int)result
);
10797 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "m_buttonChange", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 arg2
= (int) SWIG_AsInt(obj1
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10812 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 result
= (int) ((arg1
)->m_buttonChange
);
10835 resultobj
= SWIG_FromInt((int)result
);
10842 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "m_buttonState", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg2
= (int) SWIG_AsInt(obj1
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10857 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10859 Py_INCREF(Py_None
); resultobj
= Py_None
;
10866 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10878 result
= (int) ((arg1
)->m_buttonState
);
10880 resultobj
= SWIG_FromInt((int)result
);
10887 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "m_joyStick", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 arg2
= (int) SWIG_AsInt(obj1
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10902 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 result
= (int) ((arg1
)->m_joyStick
);
10925 resultobj
= SWIG_FromInt((int)result
);
10932 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10935 int arg2
= (int) 0 ;
10936 int arg3
= (int) wxJOYSTICK1
;
10937 int arg4
= (int) 0 ;
10938 wxJoystickEvent
*result
;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 PyObject
* obj2
= 0 ;
10942 PyObject
* obj3
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10949 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 arg2
= (int) SWIG_AsInt(obj1
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 arg3
= (int) SWIG_AsInt(obj2
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 arg4
= (int) SWIG_AsInt(obj3
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10978 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 wxPoint
* resultptr
;
10999 resultptr
= new wxPoint((wxPoint
&) result
);
11000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11008 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= SWIG_FromInt((int)result
);
11034 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= SWIG_FromInt((int)result
);
11060 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= SWIG_FromInt((int)result
);
11086 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= SWIG_FromInt((int)result
);
11112 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "stick", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 arg2
= (int) SWIG_AsInt(obj1
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 (arg1
)->SetJoystick(arg2
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "state", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11154 arg2
= (int) SWIG_AsInt(obj1
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 (arg1
)->SetButtonState(arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 Py_INCREF(Py_None
); resultobj
= Py_None
;
11170 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "change", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 arg2
= (int) SWIG_AsInt(obj1
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 (arg1
)->SetButtonChange(arg2
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 Py_INCREF(Py_None
); resultobj
= Py_None
;
11199 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11202 wxPoint
*arg2
= 0 ;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "pos", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 PyObject
* obj1
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "zPos", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 arg2
= (int) SWIG_AsInt(obj1
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 (arg1
)->SetZPosition(arg2
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 Py_INCREF(Py_None
); resultobj
= Py_None
;
11260 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11316 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11320 PyObject
* obj0
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11344 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11347 int arg2
= (int) wxJOY_BUTTON_ANY
;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "but", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 arg2
= (int) SWIG_AsInt(obj1
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11378 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11381 int arg2
= (int) wxJOY_BUTTON_ANY
;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self",(char *) "but", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11393 arg2
= (int) SWIG_AsInt(obj1
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11412 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11415 int arg2
= (int) wxJOY_BUTTON_ANY
;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "but", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 arg2
= (int) SWIG_AsInt(obj1
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11449 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11451 return Py_BuildValue((char *)"");
11453 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11456 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11458 bool temp1
= False
;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "fileName", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11467 arg1
= wxString_in_helper(obj0
);
11468 if (arg1
== NULL
) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11494 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 PyObject
*arg1
= (PyObject
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "data", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (wxSound
*)new_wxSound(arg1
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11519 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxSound
*arg1
= (wxSound
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxSound
*arg1
= (wxSound
*) 0 ;
11547 wxString
*arg2
= 0 ;
11549 bool temp2
= False
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "fileName", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11560 arg2
= wxString_in_helper(obj1
);
11561 if (arg2
== NULL
) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11588 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxSound
*arg1
= (wxSound
*) 0 ;
11591 PyObject
*arg2
= (PyObject
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "self",(char *) "data", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11619 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxSound
*arg1
= (wxSound
*) 0 ;
11623 PyObject
* obj0
= 0 ;
11624 char *kwnames
[] = {
11625 (char *) "self", NULL
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (bool)(arg1
)->IsOk();
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11647 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
;
11649 wxSound
*arg1
= (wxSound
*) 0 ;
11650 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 char *kwnames
[] = {
11655 (char *) "self",(char *) "flags", NULL
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11662 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxString
*arg1
= 0 ;
11684 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11686 bool temp1
= False
;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "filename",(char *) "flags", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11695 arg1
= wxString_in_helper(obj0
);
11696 if (arg1
== NULL
) SWIG_fail
;
11700 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11727 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 char *kwnames
[] = {
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11751 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11753 return Py_BuildValue((char *)"");
11755 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxString
*arg1
= 0 ;
11758 wxString
*arg2
= 0 ;
11759 wxString
*arg3
= 0 ;
11760 wxString
*arg4
= 0 ;
11761 wxFileTypeInfo
*result
;
11762 bool temp1
= False
;
11763 bool temp2
= False
;
11764 bool temp3
= False
;
11765 bool temp4
= False
;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 PyObject
* obj2
= 0 ;
11769 PyObject
* obj3
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11776 arg1
= wxString_in_helper(obj0
);
11777 if (arg1
== NULL
) SWIG_fail
;
11781 arg2
= wxString_in_helper(obj1
);
11782 if (arg2
== NULL
) SWIG_fail
;
11786 arg3
= wxString_in_helper(obj2
);
11787 if (arg3
== NULL
) SWIG_fail
;
11791 arg4
= wxString_in_helper(obj3
);
11792 if (arg4
== NULL
) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11841 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxArrayString
*arg1
= 0 ;
11844 wxFileTypeInfo
*result
;
11845 bool temp1
= False
;
11846 PyObject
* obj0
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "sArray", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11853 if (! PySequence_Check(obj0
)) {
11854 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11857 arg1
= new wxArrayString
;
11859 int i
, len
=PySequence_Length(obj0
);
11860 for (i
=0; i
<len
; i
++) {
11861 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11863 PyObject
* str
= PyObject_Unicode(item
);
11865 PyObject
* str
= PyObject_Str(item
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11868 arg1
->Add(Py2wxString(str
));
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11882 if (temp1
) delete arg1
;
11887 if (temp1
) delete arg1
;
11893 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxFileTypeInfo
*result
;
11896 char *kwnames
[] = {
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11915 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11919 PyObject
* obj0
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11943 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11946 wxString
*arg2
= 0 ;
11947 int arg3
= (int) 0 ;
11948 bool temp2
= False
;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 PyObject
* obj2
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 arg2
= wxString_in_helper(obj1
);
11961 if (arg2
== NULL
) SWIG_fail
;
11965 arg3
= (int) SWIG_AsInt(obj2
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 Py_INCREF(Py_None
); resultobj
= Py_None
;
11990 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11993 wxString
*arg2
= 0 ;
11994 bool temp2
= False
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "shortDesc", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 arg2
= wxString_in_helper(obj1
);
12006 if (arg2
== NULL
) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12031 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12047 result
= (wxString
*) &_result_ref
;
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12057 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12066 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12082 result
= (wxString
*) &_result_ref
;
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12092 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12101 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12117 result
= (wxString
*) &_result_ref
;
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12127 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12136 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12152 result
= (wxString
*) &_result_ref
;
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12162 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12171 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12187 result
= (wxString
*) &_result_ref
;
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12206 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12209 wxArrayString
*result
;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12222 result
= (wxArrayString
*) &_result_ref
;
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= wxArrayString2PyList_helper(*result
);
12237 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_FromInt((int)result
);
12263 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12279 result
= (wxString
*) &_result_ref
;
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12289 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12298 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_FromInt((int)result
);
12324 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12327 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12329 return Py_BuildValue((char *)"");
12331 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxFileTypeInfo
*arg1
= 0 ;
12334 wxFileType
*result
;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "ftInfo", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12344 if (arg1
== NULL
) {
12345 PyErr_SetString(PyExc_TypeError
,"null reference");
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12362 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFileType
*arg1
= (wxFileType
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 Py_INCREF(Py_None
); resultobj
= Py_None
;
12387 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxFileType
*arg1
= (wxFileType
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= result
;
12413 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxFileType
*arg1
= (wxFileType
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= result
;
12439 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxFileType
*arg1
= (wxFileType
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= result
;
12465 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileType
*arg1
= (wxFileType
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12491 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxFileType
*arg1
= (wxFileType
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= result
;
12517 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxFileType
*arg1
= (wxFileType
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= result
;
12543 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxFileType
*arg1
= (wxFileType
*) 0 ;
12546 wxString
*arg2
= 0 ;
12547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12550 bool temp2
= False
;
12551 bool temp3
= False
;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 PyObject
* obj2
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 arg2
= wxString_in_helper(obj1
);
12564 if (arg2
== NULL
) SWIG_fail
;
12569 arg3
= wxString_in_helper(obj2
);
12570 if (arg3
== NULL
) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= result
;
12604 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxFileType
*arg1
= (wxFileType
*) 0 ;
12607 wxString
*arg2
= 0 ;
12608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12611 bool temp2
= False
;
12612 bool temp3
= False
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12630 arg3
= wxString_in_helper(obj2
);
12631 if (arg3
== NULL
) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= result
;
12665 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxFileType
*arg1
= (wxFileType
*) 0 ;
12668 wxString
*arg2
= 0 ;
12669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12672 bool temp2
= False
;
12673 bool temp3
= False
;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 PyObject
* obj2
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 arg2
= wxString_in_helper(obj1
);
12686 if (arg2
== NULL
) SWIG_fail
;
12691 arg3
= wxString_in_helper(obj2
);
12692 if (arg3
== NULL
) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= result
;
12726 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxFileType
*arg1
= (wxFileType
*) 0 ;
12729 wxString
*arg2
= 0 ;
12730 wxString
*arg3
= 0 ;
12731 bool arg4
= (bool) True
;
12733 bool temp2
= False
;
12734 bool temp3
= False
;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 PyObject
* obj3
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 arg2
= wxString_in_helper(obj1
);
12748 if (arg2
== NULL
) SWIG_fail
;
12752 arg3
= wxString_in_helper(obj2
);
12753 if (arg3
== NULL
) SWIG_fail
;
12757 arg4
= (bool) SWIG_AsBool(obj3
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12792 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxFileType
*arg1
= (wxFileType
*) 0 ;
12795 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12796 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12797 int arg3
= (int) 0 ;
12799 bool temp2
= False
;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 PyObject
* obj2
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self",(char *) "cmd",(char *) "index", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12812 arg2
= wxString_in_helper(obj1
);
12813 if (arg2
== NULL
) SWIG_fail
;
12818 arg3
= (int) SWIG_AsInt(obj2
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxFileType
*arg1
= (wxFileType
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (bool)(arg1
)->Unassociate();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12873 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxString
*arg1
= 0 ;
12876 wxString
*arg2
= 0 ;
12877 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12878 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12880 bool temp1
= False
;
12881 bool temp2
= False
;
12882 bool temp3
= False
;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 PyObject
* obj2
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12892 arg1
= wxString_in_helper(obj0
);
12893 if (arg1
== NULL
) SWIG_fail
;
12897 arg2
= wxString_in_helper(obj1
);
12898 if (arg2
== NULL
) SWIG_fail
;
12903 arg3
= wxString_in_helper(obj2
);
12904 if (arg3
== NULL
) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12952 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12955 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12957 return Py_BuildValue((char *)"");
12959 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12960 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12965 static PyObject
*_wrap_TheMimeTypesManager_get() {
12968 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12973 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxString
*arg1
= 0 ;
12976 wxString
*arg2
= 0 ;
12978 bool temp1
= False
;
12979 bool temp2
= False
;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "mimeType",(char *) "wildcard", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12988 arg1
= wxString_in_helper(obj0
);
12989 if (arg1
== NULL
) SWIG_fail
;
12993 arg2
= wxString_in_helper(obj1
);
12994 if (arg2
== NULL
) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13029 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxMimeTypesManager
*result
;
13032 char *kwnames
[] = {
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13051 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13054 int arg2
= (int) wxMAILCAP_ALL
;
13055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13057 bool temp3
= False
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 PyObject
* obj2
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13069 arg2
= (int) SWIG_AsInt(obj1
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13074 arg3
= wxString_in_helper(obj2
);
13075 if (arg3
== NULL
) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 Py_INCREF(Py_None
); resultobj
= Py_None
;
13101 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 (arg1
)->ClearData();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13129 wxString
*arg2
= 0 ;
13130 wxFileType
*result
;
13131 bool temp2
= False
;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "ext", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 arg2
= wxString_in_helper(obj1
);
13143 if (arg2
== NULL
) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13168 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13171 wxString
*arg2
= 0 ;
13172 wxFileType
*result
;
13173 bool temp2
= False
;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self",(char *) "mimeType", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 arg2
= wxString_in_helper(obj1
);
13185 if (arg2
== NULL
) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13210 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13213 wxString
*arg2
= 0 ;
13214 bool arg3
= (bool) False
;
13216 bool temp2
= False
;
13217 PyObject
* obj0
= 0 ;
13218 PyObject
* obj1
= 0 ;
13219 PyObject
* obj2
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 arg2
= wxString_in_helper(obj1
);
13229 if (arg2
== NULL
) SWIG_fail
;
13233 arg3
= (bool) SWIG_AsBool(obj2
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13260 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13263 wxString
*arg2
= 0 ;
13265 bool temp2
= False
;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "filename", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= wxString_in_helper(obj1
);
13277 if (arg2
== NULL
) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13304 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
;
13330 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13333 wxFileTypeInfo
*arg2
= 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "ft", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13346 if (arg2
== NULL
) {
13347 PyErr_SetString(PyExc_TypeError
,"null reference");
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13367 wxFileTypeInfo
*arg2
= 0 ;
13368 wxFileType
*result
;
13369 PyObject
* obj0
= 0 ;
13370 PyObject
* obj1
= 0 ;
13371 char *kwnames
[] = {
13372 (char *) "self",(char *) "ftInfo", NULL
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13381 if (arg2
== NULL
) {
13382 PyErr_SetString(PyExc_TypeError
,"null reference");
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13399 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13402 wxFileType
*arg2
= (wxFileType
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 PyObject
* obj1
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self",(char *) "ft", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (bool)(arg1
)->Unassociate(arg2
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13431 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13459 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13461 return Py_BuildValue((char *)"");
13463 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13464 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13469 static PyObject
*_wrap_ART_TOOLBAR_get() {
13474 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13476 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13483 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13484 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13489 static PyObject
*_wrap_ART_MENU_get() {
13494 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13496 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13503 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13504 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13509 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13514 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13516 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13523 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13524 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13529 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13534 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13536 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13543 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13544 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13549 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13554 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13556 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13563 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13564 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13569 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13574 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13576 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13583 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13584 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13589 static PyObject
*_wrap_ART_OTHER_get() {
13594 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13596 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13603 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13604 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13609 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13614 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13616 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13623 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13624 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13629 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13634 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13636 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13643 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13644 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13649 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13654 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13656 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13663 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13664 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13669 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13674 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13676 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13683 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13684 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13689 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13694 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13696 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13703 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13704 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13709 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13714 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13716 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13723 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13724 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13729 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13734 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13736 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13743 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13744 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13749 static PyObject
*_wrap_ART_GO_BACK_get() {
13754 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13756 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13763 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13764 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13769 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13774 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13776 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13783 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13784 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13789 static PyObject
*_wrap_ART_GO_UP_get() {
13794 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13796 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13803 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13804 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13809 static PyObject
*_wrap_ART_GO_DOWN_get() {
13814 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13816 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13823 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13824 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13829 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13834 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13836 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13843 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13844 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13849 static PyObject
*_wrap_ART_GO_HOME_get() {
13854 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13856 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13863 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13864 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13869 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13874 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13876 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13883 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13884 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13889 static PyObject
*_wrap_ART_PRINT_get() {
13894 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13896 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13903 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13904 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13909 static PyObject
*_wrap_ART_HELP_get() {
13914 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13916 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13923 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13924 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13929 static PyObject
*_wrap_ART_TIP_get() {
13934 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13936 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13943 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13944 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13949 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13954 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13956 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13963 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13964 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13969 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13974 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13976 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13983 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13984 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13989 static PyObject
*_wrap_ART_NEW_DIR_get() {
13994 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13996 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14003 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14004 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14009 static PyObject
*_wrap_ART_FOLDER_get() {
14014 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14016 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14023 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14024 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14029 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14034 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14036 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14043 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14044 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14049 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14054 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14056 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14063 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14064 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14069 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14074 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14076 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14083 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14084 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14089 static PyObject
*_wrap_ART_TICK_MARK_get() {
14094 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14096 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14103 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14104 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14109 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14114 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14116 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14123 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14124 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14129 static PyObject
*_wrap_ART_ERROR_get() {
14134 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14136 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14143 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14144 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14149 static PyObject
*_wrap_ART_QUESTION_get() {
14154 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14156 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14163 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14164 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14169 static PyObject
*_wrap_ART_WARNING_get() {
14174 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14176 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14183 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14184 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14189 static PyObject
*_wrap_ART_INFORMATION_get() {
14194 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14196 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14203 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14204 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14209 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14214 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14216 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14223 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxPyArtProvider
*result
;
14226 char *kwnames
[] = {
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14245 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14248 PyObject
*arg2
= (PyObject
*) 0 ;
14249 PyObject
*arg3
= (PyObject
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 PyObject
* obj2
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self",(char *) "self",(char *) "_class", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 Py_INCREF(Py_None
); resultobj
= Py_None
;
14276 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "provider", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 wxPyArtProvider::PushProvider(arg1
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 Py_INCREF(Py_None
); resultobj
= Py_None
;
14301 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14304 char *kwnames
[] = {
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (bool)wxPyArtProvider::PopProvider();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14325 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "provider", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14353 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxString
*arg1
= 0 ;
14356 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14357 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14358 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14359 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14361 bool temp1
= False
;
14362 bool temp2
= False
;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 PyObject
* obj2
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "id",(char *) "client",(char *) "size", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14373 arg1
= wxString_in_helper(obj0
);
14374 if (arg1
== NULL
) SWIG_fail
;
14379 arg2
= wxString_in_helper(obj1
);
14380 if (arg2
== NULL
) SWIG_fail
;
14387 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 wxBitmap
* resultptr
;
14399 resultptr
= new wxBitmap((wxBitmap
&) result
);
14400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14424 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxString
*arg1
= 0 ;
14427 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14428 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14429 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14430 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14432 bool temp1
= False
;
14433 bool temp2
= False
;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 PyObject
* obj2
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "id",(char *) "client",(char *) "size", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14444 arg1
= wxString_in_helper(obj0
);
14445 if (arg1
== NULL
) SWIG_fail
;
14450 arg2
= wxString_in_helper(obj1
);
14451 if (arg2
== NULL
) SWIG_fail
;
14458 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14469 wxIcon
* resultptr
;
14470 resultptr
= new wxIcon((wxIcon
&) result
);
14471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14495 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 wxPyArtProvider_Destroy(arg1
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14523 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14525 return Py_BuildValue((char *)"");
14527 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14555 wxConfigBase
*result
;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "config", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14578 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 bool arg1
= (bool) True
;
14581 wxConfigBase
*result
;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "createOnDemand", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14589 arg1
= (bool) SWIG_AsBool(obj0
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14606 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxConfigBase
*result
;
14609 char *kwnames
[] = {
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxConfigBase
*)wxConfigBase::Create();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14628 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 char *kwnames
[] = {
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 wxConfigBase::DontCreateOnDemand();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14652 wxString
*arg2
= 0 ;
14653 bool temp2
= False
;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self",(char *) "path", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14664 arg2
= wxString_in_helper(obj1
);
14665 if (arg2
== NULL
) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 (arg1
)->SetPath((wxString
const &)*arg2
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14690 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14706 result
= (wxString
*) &_result_ref
;
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14725 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= result
;
14751 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "index", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg2
= (long) SWIG_AsLong(obj1
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= result
;
14781 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
;
14807 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "index", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 arg2
= (long) SWIG_AsLong(obj1
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= result
;
14837 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14840 bool arg2
= (bool) False
;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "recursive", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 arg2
= (bool) SWIG_AsBool(obj1
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14869 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14872 bool arg2
= (bool) False
;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self",(char *) "recursive", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 arg2
= (bool) SWIG_AsBool(obj1
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14901 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14904 wxString
*arg2
= 0 ;
14906 bool temp2
= False
;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "name", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 arg2
= wxString_in_helper(obj1
);
14918 if (arg2
== NULL
) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14948 wxString
*arg2
= 0 ;
14950 bool temp2
= False
;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "name", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",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
= wxString_in_helper(obj1
);
14962 if (arg2
== NULL
) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14989 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14992 wxString
*arg2
= 0 ;
14994 bool temp2
= False
;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self",(char *) "name", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 arg2
= wxString_in_helper(obj1
);
15006 if (arg2
== NULL
) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15033 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15036 wxString
*arg2
= 0 ;
15038 bool temp2
= False
;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self",(char *) "name", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 arg2
= wxString_in_helper(obj1
);
15050 if (arg2
== NULL
) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_FromInt((int)result
);
15075 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15078 wxString
*arg2
= 0 ;
15079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15082 bool temp2
= False
;
15083 bool temp3
= False
;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 PyObject
* obj2
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 arg2
= wxString_in_helper(obj1
);
15096 if (arg2
== NULL
) SWIG_fail
;
15101 arg3
= wxString_in_helper(obj2
);
15102 if (arg3
== NULL
) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15142 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15145 wxString
*arg2
= 0 ;
15146 long arg3
= (long) 0 ;
15148 bool temp2
= False
;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 PyObject
* obj2
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 arg2
= wxString_in_helper(obj1
);
15161 if (arg2
== NULL
) SWIG_fail
;
15165 arg3
= (long) SWIG_AsLong(obj2
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_FromLong((long)result
);
15190 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15193 wxString
*arg2
= 0 ;
15194 double arg3
= (double) 0.0 ;
15196 bool temp2
= False
;
15197 PyObject
* obj0
= 0 ;
15198 PyObject
* obj1
= 0 ;
15199 PyObject
* obj2
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 arg2
= wxString_in_helper(obj1
);
15209 if (arg2
== NULL
) SWIG_fail
;
15213 arg3
= (double) SWIG_AsDouble(obj2
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_FromDouble((double)result
);
15238 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15241 wxString
*arg2
= 0 ;
15242 bool arg3
= (bool) False
;
15244 bool temp2
= False
;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 PyObject
* obj2
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15256 arg2
= wxString_in_helper(obj1
);
15257 if (arg2
== NULL
) SWIG_fail
;
15261 arg3
= (bool) SWIG_AsBool(obj2
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15288 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15291 wxString
*arg2
= 0 ;
15292 wxString
*arg3
= 0 ;
15294 bool temp2
= False
;
15295 bool temp3
= False
;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 PyObject
* obj2
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self",(char *) "key",(char *) "value", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 arg2
= wxString_in_helper(obj1
);
15308 if (arg2
== NULL
) SWIG_fail
;
15312 arg3
= wxString_in_helper(obj2
);
15313 if (arg3
== NULL
) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15348 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15351 wxString
*arg2
= 0 ;
15354 bool temp2
= False
;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 PyObject
* obj2
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "key",(char *) "value", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 arg2
= wxString_in_helper(obj1
);
15367 if (arg2
== NULL
) SWIG_fail
;
15370 arg3
= (long) SWIG_AsLong(obj2
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15396 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15399 wxString
*arg2
= 0 ;
15402 bool temp2
= False
;
15403 PyObject
* obj0
= 0 ;
15404 PyObject
* obj1
= 0 ;
15405 PyObject
* obj2
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "key",(char *) "value", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 arg2
= wxString_in_helper(obj1
);
15415 if (arg2
== NULL
) SWIG_fail
;
15418 arg3
= (double) SWIG_AsDouble(obj2
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15444 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15447 wxString
*arg2
= 0 ;
15450 bool temp2
= False
;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 PyObject
* obj2
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "key",(char *) "value", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 arg2
= wxString_in_helper(obj1
);
15463 if (arg2
== NULL
) SWIG_fail
;
15466 arg3
= (bool) SWIG_AsBool(obj2
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15492 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15495 bool arg2
= (bool) False
;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "currentOnly", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 arg2
= (bool) SWIG_AsBool(obj1
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (bool)(arg1
)->Flush(arg2
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15529 wxString
*arg2
= 0 ;
15530 wxString
*arg3
= 0 ;
15532 bool temp2
= False
;
15533 bool temp3
= False
;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 PyObject
* obj2
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15545 arg2
= wxString_in_helper(obj1
);
15546 if (arg2
== NULL
) SWIG_fail
;
15550 arg3
= wxString_in_helper(obj2
);
15551 if (arg3
== NULL
) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15586 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15589 wxString
*arg2
= 0 ;
15590 wxString
*arg3
= 0 ;
15592 bool temp2
= False
;
15593 bool temp3
= False
;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 PyObject
* obj2
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15605 arg2
= wxString_in_helper(obj1
);
15606 if (arg2
== NULL
) SWIG_fail
;
15610 arg3
= wxString_in_helper(obj2
);
15611 if (arg3
== NULL
) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15646 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15649 wxString
*arg2
= 0 ;
15650 bool arg3
= (bool) True
;
15652 bool temp2
= False
;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 PyObject
* obj2
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 arg2
= wxString_in_helper(obj1
);
15665 if (arg2
== NULL
) SWIG_fail
;
15669 arg3
= (bool) SWIG_AsBool(obj2
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15696 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15699 wxString
*arg2
= 0 ;
15701 bool temp2
= False
;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self",(char *) "key", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= wxString_in_helper(obj1
);
15713 if (arg2
== NULL
) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15740 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15744 PyObject
* obj0
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (bool)(arg1
)->DeleteAll();
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15768 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15771 bool arg2
= (bool) True
;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self",(char *) "doIt", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 arg2
= (bool) SWIG_AsBool(obj1
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 (arg1
)->SetExpandEnvVars(arg2
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 Py_INCREF(Py_None
); resultobj
= Py_None
;
15799 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 char *kwnames
[] = {
15805 (char *) "self", NULL
15808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15827 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15830 bool arg2
= (bool) True
;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "self",(char *) "doIt", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 arg2
= (bool) SWIG_AsBool(obj1
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 (arg1
)->SetRecordDefaults(arg2
);
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15851 Py_INCREF(Py_None
); resultobj
= Py_None
;
15858 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15886 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15889 wxString
*arg2
= 0 ;
15891 bool temp2
= False
;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "str", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15902 arg2
= wxString_in_helper(obj1
);
15903 if (arg2
== NULL
) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15934 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15966 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15998 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16001 wxString
*arg2
= 0 ;
16002 bool temp2
= False
;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "self",(char *) "appName", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16013 arg2
= wxString_in_helper(obj1
);
16014 if (arg2
== NULL
) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 (arg1
)->SetAppName((wxString
const &)*arg2
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16039 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16042 wxString
*arg2
= 0 ;
16043 bool temp2
= False
;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "vendorName", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 arg2
= wxString_in_helper(obj1
);
16055 if (arg2
== NULL
) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 Py_INCREF(Py_None
); resultobj
= Py_None
;
16080 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "style", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 arg2
= (long) SWIG_AsLong(obj1
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 (arg1
)->SetStyle(arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16109 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= SWIG_FromLong((long)result
);
16135 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16138 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16140 return Py_BuildValue((char *)"");
16142 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16145 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16146 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16147 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16152 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16154 bool temp1
= False
;
16155 bool temp2
= False
;
16156 bool temp3
= False
;
16157 bool temp4
= False
;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 PyObject
* obj2
= 0 ;
16161 PyObject
* obj3
= 0 ;
16162 PyObject
* obj4
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16170 arg1
= wxString_in_helper(obj0
);
16171 if (arg1
== NULL
) SWIG_fail
;
16177 arg2
= wxString_in_helper(obj1
);
16178 if (arg2
== NULL
) SWIG_fail
;
16184 arg3
= wxString_in_helper(obj2
);
16185 if (arg3
== NULL
) SWIG_fail
;
16191 arg4
= wxString_in_helper(obj3
);
16192 if (arg4
== NULL
) SWIG_fail
;
16197 arg5
= (long) SWIG_AsLong(obj4
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16246 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxConfig
*arg1
= (wxConfig
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16274 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16276 return Py_BuildValue((char *)"");
16278 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16281 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16282 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16283 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16286 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16288 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16289 wxFileConfig
*result
;
16290 bool temp1
= False
;
16291 bool temp2
= False
;
16292 bool temp3
= False
;
16293 bool temp4
= False
;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 PyObject
* obj3
= 0 ;
16298 PyObject
* obj4
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16306 arg1
= wxString_in_helper(obj0
);
16307 if (arg1
== NULL
) SWIG_fail
;
16313 arg2
= wxString_in_helper(obj1
);
16314 if (arg2
== NULL
) SWIG_fail
;
16320 arg3
= wxString_in_helper(obj2
);
16321 if (arg3
== NULL
) SWIG_fail
;
16327 arg4
= wxString_in_helper(obj3
);
16328 if (arg4
== NULL
) SWIG_fail
;
16333 arg5
= (long) SWIG_AsLong(obj4
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16382 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16410 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16412 return Py_BuildValue((char *)"");
16414 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16417 wxString
*arg2
= 0 ;
16418 wxConfigPathChanger
*result
;
16419 bool temp2
= False
;
16420 PyObject
* obj0
= 0 ;
16421 PyObject
* obj1
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "config",(char *) "entry", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 arg2
= wxString_in_helper(obj1
);
16431 if (arg2
== NULL
) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16456 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16497 result
= (wxString
*) &_result_ref
;
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16507 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16516 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16519 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16521 return Py_BuildValue((char *)"");
16523 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxString
*arg1
= 0 ;
16527 bool temp1
= False
;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "sz", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16535 arg1
= wxString_in_helper(obj0
);
16536 if (arg1
== NULL
) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16567 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16568 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16573 static PyObject
*_wrap_DateFormatStr_get() {
16578 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16580 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16587 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16588 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16593 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16598 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16600 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16607 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "country", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16616 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 Py_INCREF(Py_None
); resultobj
= Py_None
;
16632 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16635 char *kwnames
[] = {
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (int)wxDateTime::GetCountry();
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= SWIG_FromInt((int)result
);
16654 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 int arg1
= (int) wxDateTime::Country_Default
;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "country", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16665 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16684 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 int arg1
= (int) wxDateTime::Gregorian
;
16688 PyObject
* obj0
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "cal", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16695 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_FromInt((int)result
);
16712 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
;
16716 PyObject
* obj0
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "year", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16722 arg1
= (int) SWIG_AsInt(obj0
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= SWIG_FromInt((int)result
);
16738 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 int arg1
= (int) wxDateTime::Gregorian
;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "cal", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16749 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= SWIG_FromInt((int)result
);
16766 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 int arg1
= (int) wxDateTime::Inv_Year
;
16769 int arg2
= (int) wxDateTime::Gregorian
;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "year",(char *) "cal", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16779 arg1
= (int) SWIG_AsInt(obj0
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16802 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 int arg1
= (int) wxDateTime::Inv_Year
;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "year", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16813 arg1
= (int) SWIG_AsInt(obj0
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (int)wxDateTime::GetCentury(arg1
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_FromInt((int)result
);
16830 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16833 int arg2
= (int) wxDateTime::Gregorian
;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "year",(char *) "cal", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16842 arg1
= (int) SWIG_AsInt(obj0
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_FromInt((int)result
);
16862 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16865 int arg2
= (int) wxDateTime::Inv_Year
;
16866 int arg3
= (int) wxDateTime::Gregorian
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 PyObject
* obj2
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "month",(char *) "year",(char *) "cal", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16876 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 arg2
= (int) SWIG_AsInt(obj1
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16883 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_FromInt((int)result
);
16900 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16903 int arg2
= (int) wxDateTime::Name_Full
;
16905 PyObject
* obj0
= 0 ;
16906 PyObject
* obj1
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "month",(char *) "flags", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16912 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16938 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16941 int arg2
= (int) wxDateTime::Name_Full
;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "weekday",(char *) "flags", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16950 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16976 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxString
*arg1
= (wxString
*) 0 ;
16979 wxString
*arg2
= (wxString
*) 0 ;
16980 bool temp1
= False
;
16981 bool temp2
= False
;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16990 arg1
= wxString_in_helper(obj0
);
16991 if (arg1
== NULL
) SWIG_fail
;
16995 arg2
= wxString_in_helper(obj1
);
16996 if (arg2
== NULL
) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 Py_INCREF(Py_None
); resultobj
= Py_None
;
17029 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 int arg1
= (int) wxDateTime::Inv_Year
;
17032 int arg2
= (int) wxDateTime::Country_Default
;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "year",(char *) "country", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17042 arg1
= (int) SWIG_AsInt(obj0
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17065 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 int arg1
= (int) wxDateTime::Inv_Year
;
17068 int arg2
= (int) wxDateTime::Country_Default
;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "year",(char *) "country", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 arg1
= (int) SWIG_AsInt(obj0
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17093 wxDateTime
* resultptr
;
17094 resultptr
= new wxDateTime((wxDateTime
&) result
);
17095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17103 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 int arg1
= (int) wxDateTime::Inv_Year
;
17106 int arg2
= (int) wxDateTime::Country_Default
;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "year",(char *) "country", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17116 arg1
= (int) SWIG_AsInt(obj0
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 wxDateTime
* resultptr
;
17132 resultptr
= new wxDateTime((wxDateTime
&) result
);
17133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17141 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17144 char *kwnames
[] = {
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= wxDateTime::Now();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 wxDateTime
* resultptr
;
17158 resultptr
= new wxDateTime((wxDateTime
&) result
);
17159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17167 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17170 char *kwnames
[] = {
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= wxDateTime::UNow();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 wxDateTime
* resultptr
;
17184 resultptr
= new wxDateTime((wxDateTime
&) result
);
17185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17193 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17196 char *kwnames
[] = {
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= wxDateTime::Today();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 wxDateTime
* resultptr
;
17210 resultptr
= new wxDateTime((wxDateTime
&) result
);
17211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17219 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxDateTime
*result
;
17222 char *kwnames
[] = {
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (wxDateTime
*)new wxDateTime();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17241 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17244 wxDateTime
*result
;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "timet", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17251 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (wxDateTime
*)new wxDateTime(arg1
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17267 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17270 wxDateTime
*result
;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "jdn", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17277 arg1
= (double) SWIG_AsDouble(obj0
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (wxDateTime
*)new wxDateTime(arg1
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17293 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17296 int arg2
= (int) 0 ;
17297 int arg3
= (int) 0 ;
17298 int arg4
= (int) 0 ;
17299 wxDateTime
*result
;
17300 PyObject
* obj0
= 0 ;
17301 PyObject
* obj1
= 0 ;
17302 PyObject
* obj2
= 0 ;
17303 PyObject
* obj3
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17309 arg1
= (int) SWIG_AsInt(obj0
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 arg2
= (int) SWIG_AsInt(obj1
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 arg3
= (int) SWIG_AsInt(obj2
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17320 arg4
= (int) SWIG_AsInt(obj3
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17337 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17340 int arg2
= (int) wxDateTime::Inv_Month
;
17341 int arg3
= (int) wxDateTime::Inv_Year
;
17342 int arg4
= (int) 0 ;
17343 int arg5
= (int) 0 ;
17344 int arg6
= (int) 0 ;
17345 int arg7
= (int) 0 ;
17346 wxDateTime
*result
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 PyObject
* obj2
= 0 ;
17350 PyObject
* obj3
= 0 ;
17351 PyObject
* obj4
= 0 ;
17352 PyObject
* obj5
= 0 ;
17353 PyObject
* obj6
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17359 arg1
= (int) SWIG_AsInt(obj0
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 arg3
= (int) SWIG_AsInt(obj2
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 arg4
= (int) SWIG_AsInt(obj3
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 arg5
= (int) SWIG_AsInt(obj4
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 arg6
= (int) SWIG_AsInt(obj5
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 arg7
= (int) SWIG_AsInt(obj6
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17399 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17402 PyObject
* obj0
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 Py_INCREF(Py_None
); resultobj
= Py_None
;
17424 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17427 wxDateTime
*result
;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17440 result
= (wxDateTime
*) &_result_ref
;
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17453 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17457 wxDateTime
*result
;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "timet", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17473 result
= (wxDateTime
*) &_result_ref
;
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17486 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17490 wxDateTime
*result
;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char *kwnames
[] = {
17494 (char *) "self",(char *) "jdn", NULL
17497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17500 arg2
= (double) SWIG_AsDouble(obj1
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17506 result
= (wxDateTime
*) &_result_ref
;
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17519 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17523 int arg3
= (int) 0 ;
17524 int arg4
= (int) 0 ;
17525 int arg5
= (int) 0 ;
17526 wxDateTime
*result
;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 PyObject
* obj2
= 0 ;
17530 PyObject
* obj3
= 0 ;
17531 PyObject
* obj4
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 arg2
= (int) SWIG_AsInt(obj1
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 arg3
= (int) SWIG_AsInt(obj2
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 arg4
= (int) SWIG_AsInt(obj3
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 arg5
= (int) SWIG_AsInt(obj4
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17557 result
= (wxDateTime
*) &_result_ref
;
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17570 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17574 int arg3
= (int) wxDateTime::Inv_Month
;
17575 int arg4
= (int) wxDateTime::Inv_Year
;
17576 int arg5
= (int) 0 ;
17577 int arg6
= (int) 0 ;
17578 int arg7
= (int) 0 ;
17579 int arg8
= (int) 0 ;
17580 wxDateTime
*result
;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 PyObject
* obj3
= 0 ;
17585 PyObject
* obj4
= 0 ;
17586 PyObject
* obj5
= 0 ;
17587 PyObject
* obj6
= 0 ;
17588 PyObject
* obj7
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17596 arg2
= (int) SWIG_AsInt(obj1
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 arg4
= (int) SWIG_AsInt(obj3
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 arg5
= (int) SWIG_AsInt(obj4
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 arg6
= (int) SWIG_AsInt(obj5
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 arg7
= (int) SWIG_AsInt(obj6
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17619 arg8
= (int) SWIG_AsInt(obj7
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17626 result
= (wxDateTime
*) &_result_ref
;
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17639 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17642 wxDateTime
*result
;
17643 PyObject
* obj0
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17655 result
= (wxDateTime
*) &_result_ref
;
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17668 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17672 wxDateTime
*result
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self",(char *) "year", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 arg2
= (int) SWIG_AsInt(obj1
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17688 result
= (wxDateTime
*) &_result_ref
;
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17701 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17705 wxDateTime
*result
;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "month", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17715 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17721 result
= (wxDateTime
*) &_result_ref
;
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17734 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17738 wxDateTime
*result
;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "day", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 arg2
= (int) SWIG_AsInt(obj1
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17754 result
= (wxDateTime
*) &_result_ref
;
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17767 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17771 wxDateTime
*result
;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "hour", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17781 arg2
= (int) SWIG_AsInt(obj1
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17787 result
= (wxDateTime
*) &_result_ref
;
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17800 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17804 wxDateTime
*result
;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "minute", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17814 arg2
= (int) SWIG_AsInt(obj1
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17820 result
= (wxDateTime
*) &_result_ref
;
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17833 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17837 wxDateTime
*result
;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "second", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 arg2
= (int) SWIG_AsInt(obj1
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17853 result
= (wxDateTime
*) &_result_ref
;
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17866 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17870 wxDateTime
*result
;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "millisecond", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17880 arg2
= (int) SWIG_AsInt(obj1
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17886 result
= (wxDateTime
*) &_result_ref
;
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17899 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17903 int arg3
= (int) wxDateTime::Monday_First
;
17904 wxDateTime
*result
;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 PyObject
* obj2
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17915 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17925 result
= (wxDateTime
*) &_result_ref
;
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17938 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17942 int arg3
= (int) wxDateTime::Monday_First
;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 PyObject
* obj2
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 wxDateTime
* resultptr
;
17969 resultptr
= new wxDateTime((wxDateTime
&) result
);
17970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17978 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17982 wxDateTime
*result
;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "weekday", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17998 result
= (wxDateTime
*) &_result_ref
;
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18011 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "weekday", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 wxDateTime
* resultptr
;
18036 resultptr
= new wxDateTime((wxDateTime
&) result
);
18037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18045 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18049 wxDateTime
*result
;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self",(char *) "weekday", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18059 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18065 result
= (wxDateTime
*) &_result_ref
;
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18078 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "weekday", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 wxDateTime
* resultptr
;
18103 resultptr
= new wxDateTime((wxDateTime
&) result
);
18104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18112 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18116 int arg3
= (int) 1 ;
18117 int arg4
= (int) wxDateTime::Inv_Month
;
18118 int arg5
= (int) wxDateTime::Inv_Year
;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 PyObject
* obj3
= 0 ;
18124 PyObject
* obj4
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 arg3
= (int) SWIG_AsInt(obj2
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 arg5
= (int) SWIG_AsInt(obj4
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18162 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18166 int arg3
= (int) wxDateTime::Inv_Month
;
18167 int arg4
= (int) wxDateTime::Inv_Year
;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 PyObject
* obj2
= 0 ;
18172 PyObject
* obj3
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 arg4
= (int) SWIG_AsInt(obj3
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18206 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18210 int arg3
= (int) wxDateTime::Inv_Month
;
18211 int arg4
= (int) wxDateTime::Inv_Year
;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 PyObject
* obj2
= 0 ;
18216 PyObject
* obj3
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18224 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18231 arg4
= (int) SWIG_AsInt(obj3
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 wxDateTime
* resultptr
;
18243 resultptr
= new wxDateTime((wxDateTime
&) result
);
18244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18252 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18256 int arg3
= (int) wxDateTime::Mon
;
18257 int arg4
= (int) wxDateTime::Monday_First
;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 PyObject
* obj2
= 0 ;
18262 PyObject
* obj3
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 arg2
= (int) SWIG_AsInt(obj1
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18296 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18300 int arg3
= (int) wxDateTime::Mon
;
18301 int arg4
= (int) wxDateTime::Monday_First
;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 PyObject
* obj2
= 0 ;
18306 PyObject
* obj3
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18314 arg2
= (int) SWIG_AsInt(obj1
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18321 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 wxDateTime
* resultptr
;
18333 resultptr
= new wxDateTime((wxDateTime
&) result
);
18334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18342 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18345 int arg2
= (int) wxDateTime::Inv_Month
;
18346 int arg3
= (int) wxDateTime::Inv_Year
;
18347 wxDateTime
*result
;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 PyObject
* obj2
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self",(char *) "month",(char *) "year", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18363 arg3
= (int) SWIG_AsInt(obj2
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18370 result
= (wxDateTime
*) &_result_ref
;
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18383 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18386 int arg2
= (int) wxDateTime::Inv_Month
;
18387 int arg3
= (int) wxDateTime::Inv_Year
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 PyObject
* obj2
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "month",(char *) "year", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 arg3
= (int) SWIG_AsInt(obj2
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 wxDateTime
* resultptr
;
18416 resultptr
= new wxDateTime((wxDateTime
&) result
);
18417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18425 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18429 wxDateTime
*result
;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "yday", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 arg2
= (int) SWIG_AsInt(obj1
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18445 result
= (wxDateTime
*) &_result_ref
;
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18458 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 PyObject
* obj1
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "self",(char *) "yday", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18472 arg2
= (int) SWIG_AsInt(obj1
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (arg1
)->GetYearDay(arg2
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 wxDateTime
* resultptr
;
18483 resultptr
= new wxDateTime((wxDateTime
&) result
);
18484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18492 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (double)(arg1
)->GetJulianDayNumber();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_FromDouble((double)result
);
18518 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (double)(arg1
)->GetJDN();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_FromDouble((double)result
);
18544 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_FromDouble((double)result
);
18570 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (double)(arg1
)->GetMJD();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_FromDouble((double)result
);
18596 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (double)(arg1
)->GetRataDie();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_FromDouble((double)result
);
18622 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18625 wxDateTime::TimeZone
*arg2
= 0 ;
18626 bool arg3
= (bool) False
;
18628 bool temp2
= False
;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 PyObject
* obj2
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18640 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18644 arg3
= (bool) SWIG_AsBool(obj2
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 wxDateTime
* resultptr
;
18656 resultptr
= new wxDateTime((wxDateTime
&) result
);
18657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18660 if (temp2
) delete arg2
;
18665 if (temp2
) delete arg2
;
18671 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18674 wxDateTime::TimeZone
*arg2
= 0 ;
18675 bool arg3
= (bool) False
;
18676 wxDateTime
*result
;
18677 bool temp2
= False
;
18678 PyObject
* obj0
= 0 ;
18679 PyObject
* obj1
= 0 ;
18680 PyObject
* obj2
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18693 arg3
= (bool) SWIG_AsBool(obj2
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18700 result
= (wxDateTime
*) &_result_ref
;
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18708 if (temp2
) delete arg2
;
18713 if (temp2
) delete arg2
;
18719 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18722 bool arg2
= (bool) False
;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self",(char *) "noDST", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 arg2
= (bool) SWIG_AsBool(obj1
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (arg1
)->ToGMT(arg2
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 wxDateTime
* resultptr
;
18746 resultptr
= new wxDateTime((wxDateTime
&) result
);
18747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18755 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18758 bool arg2
= (bool) False
;
18759 wxDateTime
*result
;
18760 PyObject
* obj0
= 0 ;
18761 PyObject
* obj1
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self",(char *) "noDST", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 arg2
= (bool) SWIG_AsBool(obj1
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18777 result
= (wxDateTime
*) &_result_ref
;
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18790 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18793 int arg2
= (int) wxDateTime::Country_Default
;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self",(char *) "country", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_FromInt((int)result
);
18822 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18850 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18876 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18879 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18880 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18882 bool temp2
= False
;
18883 PyObject
* obj0
= 0 ;
18884 PyObject
* obj1
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self",(char *) "tz", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18894 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_FromInt((int)result
);
18907 if (temp2
) delete arg2
;
18912 if (temp2
) delete arg2
;
18918 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18921 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18922 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18924 bool temp2
= False
;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self",(char *) "tz", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18936 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_FromInt((int)result
);
18949 if (temp2
) delete arg2
;
18954 if (temp2
) delete arg2
;
18960 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18963 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18964 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18966 bool temp2
= False
;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self",(char *) "tz", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18978 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_FromInt((int)result
);
18991 if (temp2
) delete arg2
;
18996 if (temp2
) delete arg2
;
19002 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19005 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19006 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19008 bool temp2
= False
;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "tz", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_FromInt((int)result
);
19033 if (temp2
) delete arg2
;
19038 if (temp2
) delete arg2
;
19044 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19047 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19048 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19050 bool temp2
= False
;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "tz", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19062 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_FromInt((int)result
);
19075 if (temp2
) delete arg2
;
19080 if (temp2
) delete arg2
;
19086 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19089 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19090 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19092 bool temp2
= False
;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "tz", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= SWIG_FromInt((int)result
);
19117 if (temp2
) delete arg2
;
19122 if (temp2
) delete arg2
;
19128 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19131 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19132 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19134 bool temp2
= False
;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "tz", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_FromInt((int)result
);
19159 if (temp2
) delete arg2
;
19164 if (temp2
) delete arg2
;
19170 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19173 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19174 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19176 bool temp2
= False
;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "tz", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19188 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_FromInt((int)result
);
19201 if (temp2
) delete arg2
;
19206 if (temp2
) delete arg2
;
19212 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19215 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19216 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19218 bool temp2
= False
;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "tz", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= SWIG_FromInt((int)result
);
19243 if (temp2
) delete arg2
;
19248 if (temp2
) delete arg2
;
19254 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19257 int arg2
= (int) wxDateTime::Monday_First
;
19258 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19259 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19261 bool temp3
= False
;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 PyObject
* obj2
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self",(char *) "flags",(char *) "tz", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19278 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_FromInt((int)result
);
19291 if (temp3
) delete arg3
;
19296 if (temp3
) delete arg3
;
19302 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19305 int arg2
= (int) wxDateTime::Monday_First
;
19306 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19307 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19309 bool temp3
= False
;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 PyObject
* obj2
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self",(char *) "flags",(char *) "tz", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19326 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_FromInt((int)result
);
19339 if (temp3
) delete arg3
;
19344 if (temp3
) delete arg3
;
19350 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19353 int arg2
= (int) wxDateTime::Country_Default
;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self",(char *) "country", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19365 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19384 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19387 wxDateTime
*arg2
= 0 ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self",(char *) "datetime", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19401 if (arg2
== NULL
) {
19402 PyErr_SetString(PyExc_TypeError
,"null reference");
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19421 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19424 wxDateTime
*arg2
= 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "datetime", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19438 if (arg2
== NULL
) {
19439 PyErr_SetString(PyExc_TypeError
,"null reference");
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19458 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19461 wxDateTime
*arg2
= 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "datetime", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19475 if (arg2
== NULL
) {
19476 PyErr_SetString(PyExc_TypeError
,"null reference");
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19495 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19498 wxDateTime
*arg2
= 0 ;
19499 wxDateTime
*arg3
= 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 PyObject
* obj2
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self",(char *) "t1",(char *) "t2", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19514 if (arg2
== NULL
) {
19515 PyErr_SetString(PyExc_TypeError
,"null reference");
19518 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19521 if (arg3
== NULL
) {
19522 PyErr_SetString(PyExc_TypeError
,"null reference");
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19541 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19544 wxDateTime
*arg2
= 0 ;
19545 wxDateTime
*arg3
= 0 ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 PyObject
* obj2
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "t1",(char *) "t2", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19560 if (arg2
== NULL
) {
19561 PyErr_SetString(PyExc_TypeError
,"null reference");
19564 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19567 if (arg3
== NULL
) {
19568 PyErr_SetString(PyExc_TypeError
,"null reference");
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19590 wxDateTime
*arg2
= 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "dt", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19604 if (arg2
== NULL
) {
19605 PyErr_SetString(PyExc_TypeError
,"null reference");
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19624 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19627 wxDateTime
*arg2
= 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self",(char *) "dt", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19641 if (arg2
== NULL
) {
19642 PyErr_SetString(PyExc_TypeError
,"null reference");
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19661 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19664 wxDateTime
*arg2
= 0 ;
19665 wxTimeSpan
*arg3
= 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self",(char *) "dt",(char *) "ts", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19680 if (arg2
== NULL
) {
19681 PyErr_SetString(PyExc_TypeError
,"null reference");
19684 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19687 if (arg3
== NULL
) {
19688 PyErr_SetString(PyExc_TypeError
,"null reference");
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19707 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19710 wxTimeSpan
*arg2
= 0 ;
19711 wxDateTime
*result
;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "diff", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19724 if (arg2
== NULL
) {
19725 PyErr_SetString(PyExc_TypeError
,"null reference");
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19732 result
= (wxDateTime
*) &_result_ref
;
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19745 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19748 wxDateSpan
*arg2
= 0 ;
19749 wxDateTime
*result
;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self",(char *) "diff", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19762 if (arg2
== NULL
) {
19763 PyErr_SetString(PyExc_TypeError
,"null reference");
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19770 result
= (wxDateTime
*) &_result_ref
;
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19783 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19786 wxTimeSpan
*arg2
= 0 ;
19787 wxDateTime
*result
;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self",(char *) "diff", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19800 if (arg2
== NULL
) {
19801 PyErr_SetString(PyExc_TypeError
,"null reference");
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19808 result
= (wxDateTime
*) &_result_ref
;
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19821 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19824 wxDateSpan
*arg2
= 0 ;
19825 wxDateTime
*result
;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self",(char *) "diff", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19838 if (arg2
== NULL
) {
19839 PyErr_SetString(PyExc_TypeError
,"null reference");
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19846 result
= (wxDateTime
*) &_result_ref
;
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19859 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19862 wxDateTime
*arg2
= 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "dt", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19876 if (arg2
== NULL
) {
19877 PyErr_SetString(PyExc_TypeError
,"null reference");
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19888 wxTimeSpan
* resultptr
;
19889 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19898 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19899 PyObject
*resultobj
;
19900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19901 wxTimeSpan
*arg2
= 0 ;
19902 wxDateTime
*result
;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19906 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19912 if (arg2
== NULL
) {
19913 PyErr_SetString(PyExc_TypeError
,"null reference");
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19920 result
= (wxDateTime
*) &_result_ref
;
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19933 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19934 PyObject
*resultobj
;
19935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19936 wxDateSpan
*arg2
= 0 ;
19937 wxDateTime
*result
;
19938 PyObject
* obj0
= 0 ;
19939 PyObject
* obj1
= 0 ;
19941 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19947 if (arg2
== NULL
) {
19948 PyErr_SetString(PyExc_TypeError
,"null reference");
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19955 result
= (wxDateTime
*) &_result_ref
;
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19968 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19973 argc
= PyObject_Length(args
);
19974 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19975 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19981 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19991 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19999 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20007 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20017 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20025 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20030 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20035 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20036 PyObject
*resultobj
;
20037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20038 wxTimeSpan
*arg2
= 0 ;
20039 wxDateTime
*result
;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20043 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20049 if (arg2
== NULL
) {
20050 PyErr_SetString(PyExc_TypeError
,"null reference");
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20057 result
= (wxDateTime
*) &_result_ref
;
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20070 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20071 PyObject
*resultobj
;
20072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20073 wxDateSpan
*arg2
= 0 ;
20074 wxDateTime
*result
;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20078 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20084 if (arg2
== NULL
) {
20085 PyErr_SetString(PyExc_TypeError
,"null reference");
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20092 result
= (wxDateTime
*) &_result_ref
;
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20105 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20110 argc
= PyObject_Length(args
);
20111 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20112 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20128 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20136 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20144 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20154 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20162 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20167 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20172 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20173 PyObject
*resultobj
;
20174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20175 wxTimeSpan
*arg2
= 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20180 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20186 if (arg2
== NULL
) {
20187 PyErr_SetString(PyExc_TypeError
,"null reference");
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20198 wxDateTime
* resultptr
;
20199 resultptr
= new wxDateTime((wxDateTime
&) result
);
20200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20208 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20209 PyObject
*resultobj
;
20210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20211 wxDateSpan
*arg2
= 0 ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20216 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20222 if (arg2
== NULL
) {
20223 PyErr_SetString(PyExc_TypeError
,"null reference");
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 wxDateTime
* resultptr
;
20235 resultptr
= new wxDateTime((wxDateTime
&) result
);
20236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20244 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20249 argc
= PyObject_Length(args
);
20250 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20251 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20257 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20267 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20275 return _wrap_DateTime___add____SWIG_0(self
,args
);
20283 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20293 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20301 return _wrap_DateTime___add____SWIG_1(self
,args
);
20306 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20311 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20312 PyObject
*resultobj
;
20313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20314 wxDateTime
*arg2
= 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20319 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20325 if (arg2
== NULL
) {
20326 PyErr_SetString(PyExc_TypeError
,"null reference");
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 wxTimeSpan
* resultptr
;
20338 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20347 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20348 PyObject
*resultobj
;
20349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20350 wxTimeSpan
*arg2
= 0 ;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20355 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20361 if (arg2
== NULL
) {
20362 PyErr_SetString(PyExc_TypeError
,"null reference");
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 wxDateTime
* resultptr
;
20374 resultptr
= new wxDateTime((wxDateTime
&) result
);
20375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20383 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20384 PyObject
*resultobj
;
20385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20386 wxDateSpan
*arg2
= 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20391 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20397 if (arg2
== NULL
) {
20398 PyErr_SetString(PyExc_TypeError
,"null reference");
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 wxDateTime
* resultptr
;
20410 resultptr
= new wxDateTime((wxDateTime
&) result
);
20411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20419 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20424 argc
= PyObject_Length(args
);
20425 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20426 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20432 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20442 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20450 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20458 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20468 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20476 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20484 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20494 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20502 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20507 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20512 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20513 PyObject
*resultobj
;
20514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20515 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20520 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20541 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20542 PyObject
*resultobj
;
20543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20544 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20549 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20570 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20571 PyObject
*resultobj
;
20572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20573 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20578 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20599 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20600 PyObject
*resultobj
;
20601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20602 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20607 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20628 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20629 PyObject
*resultobj
;
20630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20631 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20636 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20657 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20658 PyObject
*resultobj
;
20659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20660 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20665 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20686 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20689 wxString
*arg2
= 0 ;
20691 bool temp2
= False
;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self",(char *) "date", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 arg2
= wxString_in_helper(obj1
);
20703 if (arg2
== NULL
) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_FromInt((int)result
);
20728 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20731 wxString
*arg2
= 0 ;
20732 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20734 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20735 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20737 bool temp2
= False
;
20738 bool temp3
= False
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 PyObject
* obj2
= 0 ;
20742 PyObject
* obj3
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20751 arg2
= wxString_in_helper(obj1
);
20752 if (arg2
== NULL
) SWIG_fail
;
20757 arg3
= wxString_in_helper(obj2
);
20758 if (arg3
== NULL
) SWIG_fail
;
20763 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20766 if (arg4
== NULL
) {
20767 PyErr_SetString(PyExc_TypeError
,"null reference");
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= SWIG_FromInt((int)result
);
20801 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20804 wxString
*arg2
= 0 ;
20806 bool temp2
= False
;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "datetime", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 arg2
= wxString_in_helper(obj1
);
20818 if (arg2
== NULL
) SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_FromInt((int)result
);
20843 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20846 wxString
*arg2
= 0 ;
20848 bool temp2
= False
;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "date", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 arg2
= wxString_in_helper(obj1
);
20860 if (arg2
== NULL
) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= SWIG_FromInt((int)result
);
20885 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20888 wxString
*arg2
= 0 ;
20890 bool temp2
= False
;
20891 PyObject
* obj0
= 0 ;
20892 PyObject
* obj1
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self",(char *) "time", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20901 arg2
= wxString_in_helper(obj1
);
20902 if (arg2
== NULL
) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_FromInt((int)result
);
20927 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20930 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20931 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20932 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20933 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20935 bool temp2
= False
;
20936 bool temp3
= False
;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self",(char *) "format",(char *) "tz", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 arg2
= wxString_in_helper(obj1
);
20950 if (arg2
== NULL
) SWIG_fail
;
20956 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20979 if (temp3
) delete arg3
;
20988 if (temp3
) delete arg3
;
20994 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21026 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21030 PyObject
* obj0
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21058 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21090 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21122 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21125 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21127 return Py_BuildValue((char *)"");
21129 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "sec", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21139 arg1
= (long) SWIG_AsLong(obj0
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= wxTimeSpan::Seconds(arg1
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 wxTimeSpan
* resultptr
;
21150 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21159 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21162 char *kwnames
[] = {
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= wxTimeSpan::Second();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21175 wxTimeSpan
* resultptr
;
21176 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21185 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21189 PyObject
* obj0
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "min", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21195 arg1
= (long) SWIG_AsLong(obj0
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= wxTimeSpan::Minutes(arg1
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21205 wxTimeSpan
* resultptr
;
21206 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21215 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21218 char *kwnames
[] = {
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= wxTimeSpan::Minute();
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21231 wxTimeSpan
* resultptr
;
21232 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21241 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "hours", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21251 arg1
= (long) SWIG_AsLong(obj0
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= wxTimeSpan::Hours(arg1
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 wxTimeSpan
* resultptr
;
21262 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21271 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21274 char *kwnames
[] = {
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= wxTimeSpan::Hour();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 wxTimeSpan
* resultptr
;
21288 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21297 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "days", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21307 arg1
= (long) SWIG_AsLong(obj0
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= wxTimeSpan::Days(arg1
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 wxTimeSpan
* resultptr
;
21318 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21327 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21330 char *kwnames
[] = {
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= wxTimeSpan::Day();
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 wxTimeSpan
* resultptr
;
21344 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21353 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21357 PyObject
* obj0
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "days", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21363 arg1
= (long) SWIG_AsLong(obj0
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= wxTimeSpan::Weeks(arg1
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 wxTimeSpan
* resultptr
;
21374 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21383 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21386 char *kwnames
[] = {
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= wxTimeSpan::Week();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 wxTimeSpan
* resultptr
;
21400 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21409 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 long arg1
= (long) 0 ;
21412 long arg2
= (long) 0 ;
21413 long arg3
= (long) 0 ;
21414 long arg4
= (long) 0 ;
21415 wxTimeSpan
*result
;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 PyObject
* obj2
= 0 ;
21419 PyObject
* obj3
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21426 arg1
= (long) SWIG_AsLong(obj0
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 arg2
= (long) SWIG_AsLong(obj1
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 arg3
= (long) SWIG_AsLong(obj2
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 arg4
= (long) SWIG_AsLong(obj3
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21455 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 Py_INCREF(Py_None
); resultobj
= Py_None
;
21480 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21483 wxTimeSpan
*arg2
= 0 ;
21484 wxTimeSpan
*result
;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "diff", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21497 if (arg2
== NULL
) {
21498 PyErr_SetString(PyExc_TypeError
,"null reference");
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21505 result
= (wxTimeSpan
*) &_result_ref
;
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21518 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21521 wxTimeSpan
*arg2
= 0 ;
21522 wxTimeSpan
*result
;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "diff", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21535 if (arg2
== NULL
) {
21536 PyErr_SetString(PyExc_TypeError
,"null reference");
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21543 result
= (wxTimeSpan
*) &_result_ref
;
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21556 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21560 wxTimeSpan
*result
;
21561 PyObject
* obj0
= 0 ;
21562 PyObject
* obj1
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self",(char *) "n", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21570 arg2
= (int) SWIG_AsInt(obj1
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21576 result
= (wxTimeSpan
*) &_result_ref
;
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21589 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21592 wxTimeSpan
*result
;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21605 result
= (wxTimeSpan
*) &_result_ref
;
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21618 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21622 PyObject
* obj0
= 0 ;
21623 char *kwnames
[] = {
21624 (char *) "self", NULL
21627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 wxTimeSpan
* resultptr
;
21639 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21648 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21651 wxTimeSpan
*arg2
= 0 ;
21652 wxTimeSpan
*result
;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "diff", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21665 if (arg2
== NULL
) {
21666 PyErr_SetString(PyExc_TypeError
,"null reference");
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21673 result
= (wxTimeSpan
*) &_result_ref
;
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21686 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21689 wxTimeSpan
*arg2
= 0 ;
21690 wxTimeSpan
*result
;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self",(char *) "diff", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21703 if (arg2
== NULL
) {
21704 PyErr_SetString(PyExc_TypeError
,"null reference");
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21711 result
= (wxTimeSpan
*) &_result_ref
;
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21724 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21728 wxTimeSpan
*result
;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "n", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 arg2
= (int) SWIG_AsInt(obj1
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21744 result
= (wxTimeSpan
*) &_result_ref
;
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21757 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21760 wxTimeSpan
*result
;
21761 PyObject
* obj0
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21773 result
= (wxTimeSpan
*) &_result_ref
;
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21786 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21789 wxTimeSpan
*arg2
= 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "other", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21803 if (arg2
== NULL
) {
21804 PyErr_SetString(PyExc_TypeError
,"null reference");
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 wxTimeSpan
* resultptr
;
21816 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21825 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21828 wxTimeSpan
*arg2
= 0 ;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self",(char *) "other", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21842 if (arg2
== NULL
) {
21843 PyErr_SetString(PyExc_TypeError
,"null reference");
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 wxTimeSpan
* resultptr
;
21855 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21864 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "n", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 arg2
= (int) SWIG_AsInt(obj1
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= wxTimeSpan___mul__(arg1
,arg2
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 wxTimeSpan
* resultptr
;
21889 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21898 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "n", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 arg2
= (int) SWIG_AsInt(obj1
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21922 wxTimeSpan
* resultptr
;
21923 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21932 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21935 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "other", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21964 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21967 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "other", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21996 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21999 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "other", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22028 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22031 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "other", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22060 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22063 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "other", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22092 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22095 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "other", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22124 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22152 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22180 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22208 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22211 wxTimeSpan
*arg2
= 0 ;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "ts", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22225 if (arg2
== NULL
) {
22226 PyErr_SetString(PyExc_TypeError
,"null reference");
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22245 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22248 wxTimeSpan
*arg2
= 0 ;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self",(char *) "ts", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22262 if (arg2
== NULL
) {
22263 PyErr_SetString(PyExc_TypeError
,"null reference");
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22282 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22285 wxTimeSpan
*arg2
= 0 ;
22287 PyObject
* obj0
= 0 ;
22288 PyObject
* obj1
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self",(char *) "t", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22299 if (arg2
== NULL
) {
22300 PyErr_SetString(PyExc_TypeError
,"null reference");
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22319 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= SWIG_FromInt((int)result
);
22345 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= SWIG_FromInt((int)result
);
22371 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_FromInt((int)result
);
22397 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_FromInt((int)result
);
22423 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22444 hi
= PyLong_FromLong( (&result
)->GetHi() );
22445 lo
= PyLong_FromLong( (&result
)->GetLo() );
22446 shifter
= PyLong_FromLong(32);
22447 shifted
= PyNumber_Lshift(hi
, shifter
);
22448 resultobj
= PyNumber_Or(shifted
, lo
);
22451 Py_DECREF(shifter
);
22452 Py_DECREF(shifted
);
22460 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22481 hi
= PyLong_FromLong( (&result
)->GetHi() );
22482 lo
= PyLong_FromLong( (&result
)->GetLo() );
22483 shifter
= PyLong_FromLong(32);
22484 shifted
= PyNumber_Lshift(hi
, shifter
);
22485 resultobj
= PyNumber_Or(shifted
, lo
);
22488 Py_DECREF(shifter
);
22489 Py_DECREF(shifted
);
22497 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22500 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22501 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22503 bool temp2
= False
;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self",(char *) "format", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22515 arg2
= wxString_in_helper(obj1
);
22516 if (arg2
== NULL
) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22548 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22551 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22553 return Py_BuildValue((char *)"");
22555 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 int arg1
= (int) 0 ;
22558 int arg2
= (int) 0 ;
22559 int arg3
= (int) 0 ;
22560 int arg4
= (int) 0 ;
22561 wxDateSpan
*result
;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 PyObject
* obj2
= 0 ;
22565 PyObject
* obj3
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22572 arg1
= (int) SWIG_AsInt(obj0
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 arg2
= (int) SWIG_AsInt(obj1
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 arg3
= (int) SWIG_AsInt(obj2
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 arg4
= (int) SWIG_AsInt(obj3
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22601 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 Py_INCREF(Py_None
); resultobj
= Py_None
;
22626 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22630 PyObject
* obj0
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "days", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22636 arg1
= (int) SWIG_AsInt(obj0
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= wxDateSpan::Days(arg1
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 wxDateSpan
* resultptr
;
22647 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22656 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22659 char *kwnames
[] = {
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= wxDateSpan::Day();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 wxDateSpan
* resultptr
;
22673 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22682 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "weeks", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22692 arg1
= (int) SWIG_AsInt(obj0
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= wxDateSpan::Weeks(arg1
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22702 wxDateSpan
* resultptr
;
22703 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22712 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22715 char *kwnames
[] = {
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= wxDateSpan::Week();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22728 wxDateSpan
* resultptr
;
22729 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22738 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22742 PyObject
* obj0
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "mon", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22748 arg1
= (int) SWIG_AsInt(obj0
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= wxDateSpan::Months(arg1
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 wxDateSpan
* resultptr
;
22759 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22768 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22771 char *kwnames
[] = {
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= wxDateSpan::Month();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 wxDateSpan
* resultptr
;
22785 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22794 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "years", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22804 arg1
= (int) SWIG_AsInt(obj0
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= wxDateSpan::Years(arg1
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 wxDateSpan
* resultptr
;
22815 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22824 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22827 char *kwnames
[] = {
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= wxDateSpan::Year();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 wxDateSpan
* resultptr
;
22841 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22850 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22854 wxDateSpan
*result
;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "n", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 arg2
= (int) SWIG_AsInt(obj1
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22870 result
= (wxDateSpan
*) &_result_ref
;
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22883 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22887 wxDateSpan
*result
;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self",(char *) "n", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 arg2
= (int) SWIG_AsInt(obj1
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22903 result
= (wxDateSpan
*) &_result_ref
;
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22916 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22920 wxDateSpan
*result
;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "n", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 arg2
= (int) SWIG_AsInt(obj1
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22936 result
= (wxDateSpan
*) &_result_ref
;
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22949 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22953 wxDateSpan
*result
;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "n", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 arg2
= (int) SWIG_AsInt(obj1
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22969 result
= (wxDateSpan
*) &_result_ref
;
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22982 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22986 PyObject
* obj0
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_FromInt((int)result
);
23008 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23012 PyObject
* obj0
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "self", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_FromInt((int)result
);
23034 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_FromInt((int)result
);
23060 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_FromInt((int)result
);
23086 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_FromInt((int)result
);
23112 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23115 wxDateSpan
*arg2
= 0 ;
23116 wxDateSpan
*result
;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self",(char *) "other", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23129 if (arg2
== NULL
) {
23130 PyErr_SetString(PyExc_TypeError
,"null reference");
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23137 result
= (wxDateSpan
*) &_result_ref
;
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23150 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23153 wxDateSpan
*arg2
= 0 ;
23154 wxDateSpan
*result
;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self",(char *) "other", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23167 if (arg2
== NULL
) {
23168 PyErr_SetString(PyExc_TypeError
,"null reference");
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23175 result
= (wxDateSpan
*) &_result_ref
;
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23188 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23191 wxDateSpan
*result
;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23204 result
= (wxDateSpan
*) &_result_ref
;
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23217 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23221 wxDateSpan
*result
;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "factor", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 arg2
= (int) SWIG_AsInt(obj1
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23237 result
= (wxDateSpan
*) &_result_ref
;
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23250 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23253 wxDateSpan
*arg2
= 0 ;
23254 wxDateSpan
*result
;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self",(char *) "other", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23267 if (arg2
== NULL
) {
23268 PyErr_SetString(PyExc_TypeError
,"null reference");
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23275 result
= (wxDateSpan
*) &_result_ref
;
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23288 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23291 wxDateSpan
*arg2
= 0 ;
23292 wxDateSpan
*result
;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self",(char *) "other", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23305 if (arg2
== NULL
) {
23306 PyErr_SetString(PyExc_TypeError
,"null reference");
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23313 result
= (wxDateSpan
*) &_result_ref
;
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23326 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23329 wxDateSpan
*result
;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23342 result
= (wxDateSpan
*) &_result_ref
;
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23355 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23359 wxDateSpan
*result
;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "factor", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 arg2
= (int) SWIG_AsInt(obj1
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23375 result
= (wxDateSpan
*) &_result_ref
;
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23388 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23391 wxDateSpan
*arg2
= 0 ;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "other", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23405 if (arg2
== NULL
) {
23406 PyErr_SetString(PyExc_TypeError
,"null reference");
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 wxDateSpan
* resultptr
;
23418 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23427 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23430 wxDateSpan
*arg2
= 0 ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self",(char *) "other", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23444 if (arg2
== NULL
) {
23445 PyErr_SetString(PyExc_TypeError
,"null reference");
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23456 wxDateSpan
* resultptr
;
23457 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23466 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "n", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 arg2
= (int) SWIG_AsInt(obj1
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= wxDateSpan___mul__(arg1
,arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 wxDateSpan
* resultptr
;
23491 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23500 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 char *kwnames
[] = {
23508 (char *) "self",(char *) "n", NULL
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23514 arg2
= (int) SWIG_AsInt(obj1
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= wxDateSpan___rmul__(arg1
,arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 wxDateSpan
* resultptr
;
23525 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23534 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23537 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "other", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23566 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23569 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "other", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23598 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23601 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23603 return Py_BuildValue((char *)"");
23605 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23608 char *kwnames
[] = {
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (long)wxGetLocalTime();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_FromLong((long)result
);
23627 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23630 char *kwnames
[] = {
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (long)wxGetUTCTime();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_FromLong((long)result
);
23649 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23652 char *kwnames
[] = {
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (long)wxGetCurrentTime();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= SWIG_FromLong((long)result
);
23671 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23674 char *kwnames
[] = {
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= wxGetLocalTimeMillis();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23688 hi
= PyLong_FromLong( (&result
)->GetHi() );
23689 lo
= PyLong_FromLong( (&result
)->GetLo() );
23690 shifter
= PyLong_FromLong(32);
23691 shifted
= PyNumber_Lshift(hi
, shifter
);
23692 resultobj
= PyNumber_Or(shifted
, lo
);
23695 Py_DECREF(shifter
);
23696 Py_DECREF(shifted
);
23704 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23705 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23710 static PyObject
*_wrap_DefaultDateTime_get() {
23713 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23718 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23721 wxDataFormat
*result
;
23722 PyObject
* obj0
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "type", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23728 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23744 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxString
*arg1
= 0 ;
23747 wxDataFormat
*result
;
23748 bool temp1
= False
;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "format", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23756 arg1
= wxString_in_helper(obj0
);
23757 if (arg1
== NULL
) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23782 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 Py_INCREF(Py_None
); resultobj
= Py_None
;
23807 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23808 PyObject
*resultobj
;
23809 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 PyObject
* obj1
= 0 ;
23815 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23818 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23836 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23837 PyObject
*resultobj
;
23838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23844 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23865 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23866 PyObject
*resultobj
;
23867 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23868 wxDataFormat
*arg2
= 0 ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23873 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23879 if (arg2
== NULL
) {
23880 PyErr_SetString(PyExc_TypeError
,"null reference");
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23899 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23904 argc
= PyObject_Length(args
);
23905 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23906 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23912 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23922 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23930 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23938 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23946 _v
= SWIG_CheckInt(argv
[1]);
23948 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23953 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23958 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23959 PyObject
*resultobj
;
23960 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23961 wxDataFormat
*arg2
= 0 ;
23963 PyObject
* obj0
= 0 ;
23964 PyObject
* obj1
= 0 ;
23966 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23972 if (arg2
== NULL
) {
23973 PyErr_SetString(PyExc_TypeError
,"null reference");
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23992 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23997 argc
= PyObject_Length(args
);
23998 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23999 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24005 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24015 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24023 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24031 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24039 _v
= SWIG_CheckInt(argv
[1]);
24041 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24046 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24051 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self",(char *) "format", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24064 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 (arg1
)->SetType((wxDataFormatId
)arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 Py_INCREF(Py_None
); resultobj
= Py_None
;
24080 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24084 PyObject
* obj0
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_FromInt((int)result
);
24106 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= ((wxDataFormat
const *)arg1
)->GetId();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24138 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24141 wxString
*arg2
= 0 ;
24142 bool temp2
= False
;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self",(char *) "format", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24153 arg2
= wxString_in_helper(obj1
);
24154 if (arg2
== NULL
) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->SetId((wxString
const &)*arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24179 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24182 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24184 return Py_BuildValue((char *)"");
24186 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24187 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24192 static PyObject
*_wrap_FormatInvalid_get() {
24195 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24200 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 Py_INCREF(Py_None
); resultobj
= Py_None
;
24225 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24228 int arg2
= (int) wxDataObject::Get
;
24229 SwigValueWrapper
< wxDataFormat
> result
;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "dir", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 wxDataFormat
* resultptr
;
24252 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24261 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24264 int arg2
= (int) wxDataObject::Get
;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "dir", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24293 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24296 wxDataFormat
*arg2
= 0 ;
24297 int arg3
= (int) wxDataObject::Get
;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 PyObject
* obj2
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self",(char *) "format",(char *) "dir", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24312 if (arg2
== NULL
) {
24313 PyErr_SetString(PyExc_TypeError
,"null reference");
24317 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24336 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24339 wxDataFormat
*arg2
= 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "format", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24353 if (arg2
== NULL
) {
24354 PyErr_SetString(PyExc_TypeError
,"null reference");
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24371 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24374 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24375 int arg3
= (int) wxDataObject::Get
;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 PyObject
* obj2
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "formats",(char *) "dir", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",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) SWIG_fail
;
24389 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 Py_INCREF(Py_None
); resultobj
= Py_None
;
24406 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24409 wxDataFormat
*arg2
= 0 ;
24410 void *arg3
= (void *) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "self",(char *) "format",(char *) "buf", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24425 if (arg2
== NULL
) {
24426 PyErr_SetString(PyExc_TypeError
,"null reference");
24429 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24446 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24449 wxDataFormat
*arg2
= 0 ;
24451 void *arg4
= (void *) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 PyObject
* obj2
= 0 ;
24456 PyObject
* obj3
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24467 if (arg2
== NULL
) {
24468 PyErr_SetString(PyExc_TypeError
,"null reference");
24471 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24473 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24490 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24493 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24495 return Py_BuildValue((char *)"");
24497 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24500 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24501 wxDataObjectSimple
*result
;
24502 PyObject
* obj0
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "format", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24512 if (arg1
== NULL
) {
24513 PyErr_SetString(PyExc_TypeError
,"null reference");
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24531 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24534 wxDataFormat
*result
;
24535 PyObject
* obj0
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24547 result
= (wxDataFormat
*) &_result_ref
;
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24560 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24563 wxDataFormat
*arg2
= 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self",(char *) "format", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24576 if (arg2
== NULL
) {
24577 PyErr_SetString(PyExc_TypeError
,"null reference");
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24597 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24599 return Py_BuildValue((char *)"");
24601 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24604 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24605 wxPyDataObjectSimple
*result
;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "format", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24616 if (arg1
== NULL
) {
24617 PyErr_SetString(PyExc_TypeError
,"null reference");
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24635 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24638 PyObject
*arg2
= (PyObject
*) 0 ;
24639 PyObject
*arg3
= (PyObject
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 PyObject
* obj2
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "self",(char *) "_class", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 Py_INCREF(Py_None
); resultobj
= Py_None
;
24666 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24669 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24671 return Py_BuildValue((char *)"");
24673 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxDataObjectComposite
*result
;
24676 char *kwnames
[] = {
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24695 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24698 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24699 int arg3
= (int) False
;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 PyObject
* obj2
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24711 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24713 arg3
= (int) SWIG_AsInt(obj2
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 (arg1
)->Add(arg2
,arg3
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 Py_INCREF(Py_None
); resultobj
= Py_None
;
24730 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24733 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24735 return Py_BuildValue((char *)"");
24737 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24740 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24741 wxTextDataObject
*result
;
24742 bool temp1
= False
;
24743 PyObject
* obj0
= 0 ;
24744 char *kwnames
[] = {
24745 (char *) "text", NULL
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24751 arg1
= wxString_in_helper(obj0
);
24752 if (arg1
== NULL
) SWIG_fail
;
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24778 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= (size_t)(arg1
)->GetTextLength();
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24804 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (arg1
)->GetText();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24836 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24839 wxString
*arg2
= 0 ;
24840 bool temp2
= False
;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "text", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 arg2
= wxString_in_helper(obj1
);
24852 if (arg2
== NULL
) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 (arg1
)->SetText((wxString
const &)*arg2
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24880 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24882 return Py_BuildValue((char *)"");
24884 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24887 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24888 wxPyTextDataObject
*result
;
24889 bool temp1
= False
;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "text", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24898 arg1
= wxString_in_helper(obj0
);
24899 if (arg1
== NULL
) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24925 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24928 PyObject
*arg2
= (PyObject
*) 0 ;
24929 PyObject
*arg3
= (PyObject
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 PyObject
* obj2
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "self",(char *) "_class", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24959 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24961 return Py_BuildValue((char *)"");
24963 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24966 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24967 wxBitmapDataObject
*result
;
24968 PyObject
* obj0
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "bitmap", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24978 if (arg1
== NULL
) {
24979 PyErr_SetString(PyExc_TypeError
,"null reference");
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24997 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25017 wxBitmap
* resultptr
;
25018 resultptr
= new wxBitmap((wxBitmap
&) result
);
25019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25027 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25030 wxBitmap
*arg2
= 0 ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self",(char *) "bitmap", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25043 if (arg2
== NULL
) {
25044 PyErr_SetString(PyExc_TypeError
,"null reference");
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 Py_INCREF(Py_None
); resultobj
= Py_None
;
25061 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25064 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25066 return Py_BuildValue((char *)"");
25068 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25071 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25072 wxPyBitmapDataObject
*result
;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "bitmap", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25083 if (arg1
== NULL
) {
25084 PyErr_SetString(PyExc_TypeError
,"null reference");
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25102 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
;
25104 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25105 PyObject
*arg2
= (PyObject
*) 0 ;
25106 PyObject
*arg3
= (PyObject
*) 0 ;
25107 PyObject
* obj0
= 0 ;
25108 PyObject
* obj1
= 0 ;
25109 PyObject
* obj2
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "self",(char *) "_class", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 Py_INCREF(Py_None
); resultobj
= Py_None
;
25133 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25136 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25138 return Py_BuildValue((char *)"");
25140 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxFileDataObject
*result
;
25143 char *kwnames
[] = {
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (wxFileDataObject
*)new wxFileDataObject();
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25162 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25165 wxArrayString
*result
;
25166 PyObject
* obj0
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25178 result
= (wxArrayString
*) &_result_ref
;
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= wxArrayString2PyList_helper(*result
);
25193 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25196 wxString
*arg2
= 0 ;
25197 bool temp2
= False
;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "filename", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25208 arg2
= wxString_in_helper(obj1
);
25209 if (arg2
== NULL
) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->AddFile((wxString
const &)*arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 Py_INCREF(Py_None
); resultobj
= Py_None
;
25234 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25237 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25239 return Py_BuildValue((char *)"");
25241 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25244 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25245 wxCustomDataObject
*result
;
25246 PyObject
* obj0
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "format", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25256 if (arg1
== NULL
) {
25257 PyErr_SetString(PyExc_TypeError
,"null reference");
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25275 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25278 PyObject
*arg2
= (PyObject
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char *kwnames
[] = {
25282 (char *) "self",(char *) "data", NULL
25285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 wxCustomDataObject_TakeData(arg1
,arg2
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 Py_INCREF(Py_None
); resultobj
= Py_None
;
25303 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25306 PyObject
*arg2
= (PyObject
*) 0 ;
25308 PyObject
* obj0
= 0 ;
25309 PyObject
* obj1
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self",(char *) "data", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25334 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
;
25336 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (size_t)(arg1
)->GetSize();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25360 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25364 PyObject
* obj0
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= result
;
25386 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25389 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25391 return Py_BuildValue((char *)"");
25393 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
;
25395 wxURLDataObject
*result
;
25396 char *kwnames
[] = {
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 result
= (wxURLDataObject
*)new wxURLDataObject();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25415 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (arg1
)->GetURL();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25447 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
;
25449 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25450 wxString
*arg2
= 0 ;
25451 bool temp2
= False
;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self",(char *) "url", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 arg2
= wxString_in_helper(obj1
);
25463 if (arg2
== NULL
) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 (arg1
)->SetURL((wxString
const &)*arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 Py_INCREF(Py_None
); resultobj
= Py_None
;
25488 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25491 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25493 return Py_BuildValue((char *)"");
25495 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxMetafileDataObject
*result
;
25498 char *kwnames
[] = {
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25517 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25520 wxMetafile
*arg2
= 0 ;
25521 PyObject
* obj0
= 0 ;
25522 PyObject
* obj1
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self",(char *) "metafile", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25533 if (arg2
== NULL
) {
25534 PyErr_SetString(PyExc_TypeError
,"null reference");
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 Py_INCREF(Py_None
); resultobj
= Py_None
;
25551 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25565 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25571 wxMetafile
* resultptr
;
25572 resultptr
= new wxMetafile((wxMetafile
&) result
);
25573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25581 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25584 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25586 return Py_BuildValue((char *)"");
25588 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25592 PyObject
* obj0
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "res", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25598 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25616 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25620 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25621 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25622 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25623 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25624 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25625 wxPyDropSource
*result
;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 PyObject
* obj2
= 0 ;
25629 PyObject
* obj3
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25641 if (arg2
== NULL
) {
25642 PyErr_SetString(PyExc_TypeError
,"null reference");
25647 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25650 if (arg3
== NULL
) {
25651 PyErr_SetString(PyExc_TypeError
,"null reference");
25656 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25659 if (arg4
== NULL
) {
25660 PyErr_SetString(PyExc_TypeError
,"null reference");
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25678 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25681 PyObject
*arg2
= (PyObject
*) 0 ;
25682 PyObject
*arg3
= (PyObject
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 PyObject
* obj2
= 0 ;
25687 PyObject
* obj3
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25697 arg4
= (int) SWIG_AsInt(obj3
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 Py_INCREF(Py_None
); resultobj
= Py_None
;
25713 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25714 PyObject
*resultobj
;
25715 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 Py_INCREF(Py_None
); resultobj
= Py_None
;
25738 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25741 wxDataObject
*arg2
= 0 ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "data", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25754 if (arg2
== NULL
) {
25755 PyErr_SetString(PyExc_TypeError
,"null reference");
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->SetData(*arg2
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 Py_INCREF(Py_None
); resultobj
= Py_None
;
25772 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25775 wxDataObject
*result
;
25776 PyObject
* obj0
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25798 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25802 wxCursor
*arg3
= 0 ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "res",(char *) "cursor", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25818 if (arg3
== NULL
) {
25819 PyErr_SetString(PyExc_TypeError
,"null reference");
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 Py_INCREF(Py_None
); resultobj
= Py_None
;
25836 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25839 int arg2
= (int) wxDrag_CopyOnly
;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "flags", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 arg2
= (int) SWIG_AsInt(obj1
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (int)(arg1
)->DoDragDrop(arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_FromInt((int)result
);
25868 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
;
25870 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self",(char *) "effect", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25903 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25905 return Py_BuildValue((char *)"");
25907 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25910 wxPyDropTarget
*result
;
25911 PyObject
* obj0
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "dataObject", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25919 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25935 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25938 PyObject
*arg2
= (PyObject
*) 0 ;
25939 PyObject
*arg3
= (PyObject
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 PyObject
* obj2
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "self",(char *) "_class", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25994 wxDataObject
*result
;
25995 PyObject
* obj0
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26017 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
;
26019 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26020 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "dataObject", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26031 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 (arg1
)->SetDataObject(arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 PyObject
* obj2
= 0 ;
26056 PyObject
* obj3
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26064 arg2
= (int) SWIG_AsInt(obj1
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26066 arg3
= (int) SWIG_AsInt(obj2
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26068 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_FromInt((int)result
);
26084 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 PyObject
* obj2
= 0 ;
26094 PyObject
* obj3
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 arg2
= (int) SWIG_AsInt(obj1
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26104 arg3
= (int) SWIG_AsInt(obj2
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26106 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_FromInt((int)result
);
26122 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26124 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->base_OnLeave();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "x",(char *) "y", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 arg2
= (int) SWIG_AsInt(obj1
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26165 arg3
= (int) SWIG_AsInt(obj2
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26183 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (bool)(arg1
)->GetData();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26211 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26214 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26216 return Py_BuildValue((char *)"");
26218 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPyTextDropTarget
*result
;
26221 char *kwnames
[] = {
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26240 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26243 PyObject
*arg2
= (PyObject
*) 0 ;
26244 PyObject
*arg3
= (PyObject
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 PyObject
* obj2
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self",(char *) "self",(char *) "_class", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 Py_INCREF(Py_None
); resultobj
= Py_None
;
26271 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 PyObject
* obj2
= 0 ;
26281 PyObject
* obj3
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26289 arg2
= (int) SWIG_AsInt(obj1
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26291 arg3
= (int) SWIG_AsInt(obj2
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26293 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 resultobj
= SWIG_FromInt((int)result
);
26309 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 PyObject
* obj3
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26327 arg2
= (int) SWIG_AsInt(obj1
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26329 arg3
= (int) SWIG_AsInt(obj2
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26331 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_FromInt((int)result
);
26347 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->base_OnLeave();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 Py_INCREF(Py_None
); resultobj
= Py_None
;
26372 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 PyObject
* obj2
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "x",(char *) "y", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 arg2
= (int) SWIG_AsInt(obj1
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26390 arg3
= (int) SWIG_AsInt(obj2
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26408 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 PyObject
* obj2
= 0 ;
26418 PyObject
* obj3
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 arg2
= (int) SWIG_AsInt(obj1
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26428 arg3
= (int) SWIG_AsInt(obj2
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26430 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_FromInt((int)result
);
26446 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26449 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26451 return Py_BuildValue((char *)"");
26453 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxPyFileDropTarget
*result
;
26456 char *kwnames
[] = {
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26475 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26478 PyObject
*arg2
= (PyObject
*) 0 ;
26479 PyObject
*arg3
= (PyObject
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 PyObject
* obj1
= 0 ;
26482 PyObject
* obj2
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self",(char *) "self",(char *) "_class", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 Py_INCREF(Py_None
); resultobj
= Py_None
;
26506 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 PyObject
* obj2
= 0 ;
26516 PyObject
* obj3
= 0 ;
26517 char *kwnames
[] = {
26518 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 arg2
= (int) SWIG_AsInt(obj1
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26526 arg3
= (int) SWIG_AsInt(obj2
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26528 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= SWIG_FromInt((int)result
);
26544 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 PyObject
* obj2
= 0 ;
26554 PyObject
* obj3
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26562 arg2
= (int) SWIG_AsInt(obj1
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26564 arg3
= (int) SWIG_AsInt(obj2
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26566 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 resultobj
= SWIG_FromInt((int)result
);
26582 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->base_OnLeave();
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 Py_INCREF(Py_None
); resultobj
= Py_None
;
26607 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 PyObject
* obj2
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "x",(char *) "y", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 arg2
= (int) SWIG_AsInt(obj1
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26625 arg3
= (int) SWIG_AsInt(obj2
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26643 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26650 PyObject
* obj0
= 0 ;
26651 PyObject
* obj1
= 0 ;
26652 PyObject
* obj2
= 0 ;
26653 PyObject
* obj3
= 0 ;
26654 char *kwnames
[] = {
26655 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26661 arg2
= (int) SWIG_AsInt(obj1
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26663 arg3
= (int) SWIG_AsInt(obj2
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26665 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_FromInt((int)result
);
26681 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26684 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26686 return Py_BuildValue((char *)"");
26688 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxClipboard
*result
;
26691 char *kwnames
[] = {
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (wxClipboard
*)new wxClipboard();
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26710 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 Py_INCREF(Py_None
); resultobj
= Py_None
;
26735 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)(arg1
)->Open();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26763 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 Py_INCREF(Py_None
); resultobj
= Py_None
;
26788 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26792 PyObject
* obj0
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26816 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26819 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "data", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26831 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (bool)(arg1
)->AddData(arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26848 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26851 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "data", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26863 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (bool)(arg1
)->SetData(arg2
);
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26880 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26883 wxDataFormat
*arg2
= 0 ;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "format", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26897 if (arg2
== NULL
) {
26898 PyErr_SetString(PyExc_TypeError
,"null reference");
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26917 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26920 wxDataObject
*arg2
= 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "data", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26934 if (arg2
== NULL
) {
26935 PyErr_SetString(PyExc_TypeError
,"null reference");
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (bool)(arg1
)->GetData(*arg2
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26954 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 Py_INCREF(Py_None
); resultobj
= Py_None
;
26979 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
;
26981 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (bool)(arg1
)->Flush();
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27007 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27010 bool arg2
= (bool) True
;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self",(char *) "primary", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 arg2
= (bool) SWIG_AsBool(obj1
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 (arg1
)->UsePrimarySelection(arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 Py_INCREF(Py_None
); resultobj
= Py_None
;
27038 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27041 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27043 return Py_BuildValue((char *)"");
27045 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27046 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27051 static PyObject
*_wrap_TheClipboard_get() {
27054 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27059 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27062 wxClipboardLocker
*result
;
27063 PyObject
* obj0
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "clipboard", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27087 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
;
27089 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 Py_INCREF(Py_None
); resultobj
= Py_None
;
27112 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27116 PyObject
* obj0
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27140 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27143 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27145 return Py_BuildValue((char *)"");
27147 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 int arg1
= (int) 0 ;
27150 int arg2
= (int) 0 ;
27151 int arg3
= (int) 0 ;
27152 int arg4
= (int) 0 ;
27153 wxVideoMode
*result
;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 PyObject
* obj2
= 0 ;
27157 PyObject
* obj3
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27164 arg1
= (int) SWIG_AsInt(obj0
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 arg2
= (int) SWIG_AsInt(obj1
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 arg3
= (int) SWIG_AsInt(obj2
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 arg4
= (int) SWIG_AsInt(obj3
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27193 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27221 wxVideoMode
*arg2
= 0 ;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self",(char *) "other", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27235 if (arg2
== NULL
) {
27236 PyErr_SetString(PyExc_TypeError
,"null reference");
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27255 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27259 PyObject
* obj0
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= SWIG_FromInt((int)result
);
27281 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 resultobj
= SWIG_FromInt((int)result
);
27307 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_FromInt((int)result
);
27333 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27337 PyObject
* obj0
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27364 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "other", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27393 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27396 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "other", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27425 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27429 PyObject
* obj0
= 0 ;
27430 PyObject
* obj1
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self",(char *) "w", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27438 arg2
= (int) SWIG_AsInt(obj1
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27440 if (arg1
) (arg1
)->w
= arg2
;
27442 Py_INCREF(Py_None
); resultobj
= Py_None
;
27449 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27453 PyObject
* obj0
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 result
= (int) ((arg1
)->w
);
27463 resultobj
= SWIG_FromInt((int)result
);
27470 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "h", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27483 arg2
= (int) SWIG_AsInt(obj1
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27485 if (arg1
) (arg1
)->h
= arg2
;
27487 Py_INCREF(Py_None
); resultobj
= Py_None
;
27494 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27498 PyObject
* obj0
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "self", NULL
27503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27506 result
= (int) ((arg1
)->h
);
27508 resultobj
= SWIG_FromInt((int)result
);
27515 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self",(char *) "bpp", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 arg2
= (int) SWIG_AsInt(obj1
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27530 if (arg1
) (arg1
)->bpp
= arg2
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 result
= (int) ((arg1
)->bpp
);
27553 resultobj
= SWIG_FromInt((int)result
);
27560 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self",(char *) "refresh", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27573 arg2
= (int) SWIG_AsInt(obj1
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27575 if (arg1
) (arg1
)->refresh
= arg2
;
27577 Py_INCREF(Py_None
); resultobj
= Py_None
;
27584 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27596 result
= (int) ((arg1
)->refresh
);
27598 resultobj
= SWIG_FromInt((int)result
);
27605 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27608 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27610 return Py_BuildValue((char *)"");
27612 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27613 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27618 static PyObject
*_wrap_DefaultVideoMode_get() {
27621 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27626 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 size_t arg1
= (size_t) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "index", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27637 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 result
= (wxDisplay
*)new wxDisplay(arg1
);
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27654 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27657 PyObject
* obj0
= 0 ;
27658 char *kwnames
[] = {
27659 (char *) "self", NULL
27662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 Py_INCREF(Py_None
); resultobj
= Py_None
;
27679 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27682 char *kwnames
[] = {
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (size_t)wxDisplay::GetCount();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27701 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxPoint
*arg1
= 0 ;
27706 PyObject
* obj0
= 0 ;
27707 char *kwnames
[] = {
27708 (char *) "pt", NULL
27711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27714 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_FromInt((int)result
);
27730 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxWindow
*arg1
= (wxWindow
*) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "window", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (int)Display_GetFromWindow(arg1
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_FromInt((int)result
);
27756 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27784 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "self", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27804 wxRect
* resultptr
;
27805 resultptr
= new wxRect((wxRect
&) result
);
27806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27814 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 result
= ((wxDisplay
const *)arg1
)->GetName();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27846 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27874 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27877 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27878 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self",(char *) "mode", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27893 if (arg2
== NULL
) {
27894 PyErr_SetString(PyExc_TypeError
,"null reference");
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= result
;
27912 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27915 wxVideoMode result
;
27916 PyObject
* obj0
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 wxVideoMode
* resultptr
;
27933 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27942 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27945 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27946 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27948 PyObject
* obj0
= 0 ;
27949 PyObject
* obj1
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self",(char *) "mode", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27961 if (arg2
== NULL
) {
27962 PyErr_SetString(PyExc_TypeError
,"null reference");
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27982 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27983 PyObject
*resultobj
;
27984 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 (arg1
)->ResetMode();
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 Py_INCREF(Py_None
); resultobj
= Py_None
;
28007 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28010 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28012 return Py_BuildValue((char *)"");
28014 static PyMethodDef SwigMethods
[] = {
28015 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28022 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28029 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28089 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28097 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28113 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28118 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28121 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28124 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28130 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28144 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28150 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28156 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28159 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28173 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28176 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28177 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28180 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28207 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28209 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28211 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28213 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28220 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28226 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28239 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28244 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28247 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28264 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28272 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28318 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28346 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28356 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28372 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28388 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28402 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28411 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28454 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28457 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28460 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28464 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28556 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28557 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28558 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28559 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28560 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28561 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28562 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28563 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28564 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28565 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28576 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28621 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28655 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28663 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28664 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28669 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28678 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28682 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28685 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28688 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28693 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28696 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28700 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28703 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28707 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28713 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28717 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28721 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28731 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28742 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28750 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28758 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28771 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28775 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28793 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28811 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28813 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28816 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28817 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28819 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28820 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28822 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28823 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28825 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28826 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28828 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28829 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28831 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28832 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28834 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28835 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28837 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28840 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28841 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28843 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28846 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28847 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28849 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28850 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28852 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28853 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28855 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28856 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28858 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28859 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28861 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28862 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28864 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28865 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28867 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28868 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28870 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28871 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28873 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28874 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28876 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28877 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28879 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28880 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28882 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28883 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28885 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28886 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28888 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28889 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28891 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28892 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28894 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28895 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28897 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28898 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28900 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28901 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28903 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28904 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28906 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28907 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28909 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28910 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28912 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28913 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28915 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28916 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28918 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28919 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28921 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28922 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28924 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28925 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28927 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28928 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28930 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28931 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28933 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28934 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28936 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28937 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28939 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28940 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28942 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28943 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28945 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28946 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28948 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28949 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28951 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28952 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28954 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28955 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28957 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28958 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28960 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28961 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28963 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28964 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28966 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28967 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28969 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28970 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28972 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28973 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28975 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28976 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28978 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28979 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28981 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28982 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28984 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28985 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28987 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28988 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28990 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28991 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28993 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28994 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28996 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28997 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28999 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29000 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29002 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29003 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29005 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29008 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29009 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29011 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29012 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29014 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29015 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29017 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29018 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29020 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29023 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29024 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29026 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29027 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29029 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29030 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29032 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29035 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29038 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29041 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29044 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29047 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29050 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29053 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) ((wxSizer
*) x
));
29056 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29059 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29062 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29065 static void *_p_wxEventTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) ((wxEvent
*) x
));
29068 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29071 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29074 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29077 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29080 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29083 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29086 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29089 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29092 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29095 static void *_p_wxControlTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29098 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29101 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29104 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29107 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29110 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29113 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29116 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29119 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29122 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29125 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29128 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29131 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29134 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29137 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29140 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29143 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29146 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29149 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29152 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29155 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29158 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29161 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29164 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29167 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29170 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29173 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29176 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29179 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29182 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29185 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29188 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29191 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29194 static void *_p_wxImageTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) ((wxImage
*) x
));
29197 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29200 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29203 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29206 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29209 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29212 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29215 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29218 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29221 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29224 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29227 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29230 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29233 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29236 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29239 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29242 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29245 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29248 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29251 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29254 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29255 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29257 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29258 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29260 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29261 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29263 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29266 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29269 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29272 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29275 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29278 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29281 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29282 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29284 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29285 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29287 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29288 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29290 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29291 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29293 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29294 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29296 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29297 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29299 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29300 return (void *)((wxWindow
*) ((wxControl
*) x
));
29302 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29303 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29305 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29306 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29308 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29309 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29311 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29312 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29401 static swig_type_info
*swig_types_initial
[] = {
29402 _swigt__p_wxLogChain
,
29403 _swigt__p_wxMutexGuiLocker
,
29404 _swigt__p_wxMetafile
,
29405 _swigt__p_wxFileHistory
,
29407 _swigt__p_wxDateTime__TimeZone
,
29410 _swigt__p_wxConfigBase
,
29411 _swigt__p_wxDisplay
,
29412 _swigt__p_wxFileType
,
29413 _swigt__p_wxLogGui
,
29415 _swigt__p_wxDataFormat
,
29416 _swigt__p_wxTimerEvent
,
29420 _swigt__p_wxClipboard
,
29421 _swigt__p_wxStopWatch
,
29423 _swigt__p_wxClipboardLocker
,
29425 _swigt__p_wxLogStderr
,
29426 _swigt__p_wxLogTextCtrl
,
29427 _swigt__p_wxTextCtrl
,
29428 _swigt__p_wxBusyCursor
,
29429 _swigt__p_wxPyBitmapDataObject
,
29430 _swigt__p_wxPyTextDataObject
,
29431 _swigt__p_wxBitmapDataObject
,
29432 _swigt__p_wxTextDataObject
,
29433 _swigt__p_wxDataObject
,
29434 _swigt__p_wxFileDataObject
,
29435 _swigt__p_wxCustomDataObject
,
29436 _swigt__p_wxURLDataObject
,
29437 _swigt__p_wxMetafileDataObject
,
29439 _swigt__p_wxTimerRunner
,
29440 _swigt__p_wxLogWindow
,
29441 _swigt__p_wxTimeSpan
,
29442 _swigt__p_wxArrayString
,
29443 _swigt__p_wxWindowDisabler
,
29444 _swigt__p_wxToolTip
,
29445 _swigt__p_wxDataObjectComposite
,
29446 _swigt__p_wxFileConfig
,
29447 _swigt__p_wxSystemSettings
,
29448 _swigt__p_wxVideoMode
,
29449 _swigt__p_wxPyDataObjectSimple
,
29450 _swigt__p_wxDataObjectSimple
,
29451 _swigt__p_wxEvtHandler
,
29454 _swigt__p_wxSingleInstanceChecker
,
29455 _swigt__p_wxFileTypeInfo
,
29458 _swigt__p_wxMimeTypesManager
,
29459 _swigt__p_wxPyArtProvider
,
29460 _swigt__p_wxPyTipProvider
,
29461 _swigt__p_wxTipProvider
,
29462 _swigt__p_wxJoystick
,
29463 _swigt__p_wxSystemOptions
,
29465 _swigt__p_wxJoystickEvent
,
29466 _swigt__p_wxCursor
,
29467 _swigt__p_wxObject
,
29468 _swigt__p_wxOutputStream
,
29469 _swigt__p_wxDateTime
,
29470 _swigt__p_wxPyDropSource
,
29471 _swigt__p_wxWindow
,
29472 _swigt__p_wxString
,
29473 _swigt__p_wxPyProcess
,
29474 _swigt__p_wxBitmap
,
29475 _swigt__p_wxConfig
,
29477 _swigt__p_wxBusyInfo
,
29478 _swigt__p_wxPyDropTarget
,
29479 _swigt__p_wxPyTextDropTarget
,
29480 _swigt__p_wxPyFileDropTarget
,
29481 _swigt__p_wxProcessEvent
,
29483 _swigt__p_wxLogNull
,
29484 _swigt__p_wxColour
,
29485 _swigt__p_wxConfigPathChanger
,
29486 _swigt__p_wxPyTimer
,
29487 _swigt__p_wxDateSpan
,
29492 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29494 static swig_const_info swig_const_table
[] = {
29495 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29496 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29497 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29498 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29499 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29509 SWIGEXPORT(void) SWIG_init(void) {
29510 static PyObject
*SWIG_globals
= 0;
29511 static int typeinit
= 0;
29514 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29515 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29516 d
= PyModule_GetDict(m
);
29519 for (i
= 0; swig_types_initial
[i
]; i
++) {
29520 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29524 SWIG_InstallConstants(d
,swig_const_table
);
29526 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29527 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29528 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29529 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29530 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29531 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29532 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29533 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29534 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29540 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29541 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29542 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29543 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29544 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29545 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29546 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29547 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29548 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29549 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29550 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29551 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29552 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29553 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29554 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29555 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29556 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29557 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29558 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29559 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29560 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29561 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29562 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29563 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29564 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29565 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29566 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29567 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29568 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29569 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29570 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29571 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29572 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29573 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29574 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29575 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29576 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29577 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29578 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29579 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29580 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29581 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29582 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29583 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29584 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29585 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29586 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29587 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29588 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29589 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29590 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29591 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29592 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29593 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29594 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29595 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29596 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29597 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29598 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29599 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29600 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29601 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29602 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29603 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29604 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29605 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29606 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29607 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29608 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29609 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29610 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29611 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29612 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29613 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29614 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29615 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29616 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29617 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29618 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29619 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29620 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29621 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29622 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29623 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29624 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29625 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29627 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29629 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29630 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29631 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29632 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29633 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29634 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29635 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29636 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29637 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29638 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29639 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29640 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29641 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29642 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29643 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29644 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29645 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29646 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29647 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29648 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29649 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29650 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29651 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29652 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29653 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29654 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29655 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29656 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29657 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29658 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29659 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29660 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29661 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29662 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29663 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29664 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29665 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29666 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29667 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29668 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29669 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29670 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29671 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29672 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29673 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29674 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29675 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29676 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29677 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29678 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29680 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29682 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29683 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29684 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29685 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29686 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29687 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29688 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29689 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29690 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29691 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29692 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29693 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29694 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29695 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29696 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29697 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29698 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29699 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29700 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29701 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29735 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29736 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29737 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29738 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29739 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29741 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29743 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29744 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29745 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29746 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29747 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29748 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29749 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29750 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29751 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29752 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29753 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29754 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29755 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29756 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29757 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29758 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29759 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29760 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29761 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29762 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29763 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29764 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29765 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29766 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29767 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29768 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29769 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29770 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29771 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29772 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29773 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29774 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29775 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29776 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29777 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29778 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29779 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29780 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29781 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29782 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29783 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29784 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29785 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29786 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29787 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29788 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29789 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29790 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29791 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29792 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29793 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29794 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29795 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29796 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29797 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29798 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29799 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29800 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29801 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29802 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29803 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29804 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29805 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29806 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29807 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29836 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29837 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29838 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29839 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29840 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29841 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29842 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29843 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29844 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29845 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29846 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29847 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29848 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29849 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29850 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29851 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29852 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29853 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29854 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29855 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29870 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29872 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29873 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29874 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29875 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29876 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29877 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29878 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29879 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29880 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29881 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29882 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29883 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29884 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29885 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29886 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29887 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29888 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29889 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29890 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29891 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29892 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29893 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29894 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29895 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29896 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29897 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29898 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29899 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29900 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29901 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29902 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29903 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29904 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29905 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29906 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29907 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29908 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29909 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29910 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29911 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29912 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29913 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29914 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29915 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29916 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29917 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29918 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29919 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29920 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29921 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29922 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29923 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29924 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29925 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29926 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29927 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29928 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29929 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29930 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29931 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29932 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29933 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29934 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29935 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29936 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29937 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29938 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29939 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29940 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29941 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29942 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29944 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29945 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29946 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29947 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29949 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29950 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);