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"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
426 #include <wx/stockitem.h>
428 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
429 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
430 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
432 SWIGSTATICINLINE(int)
433 SWIG_CheckLong(PyObject
* obj
)
436 if (PyErr_Occurred()) {
445 SWIGSTATICINLINE(bool)
446 SWIG_AsBool(PyObject
*obj
)
448 return PyObject_IsTrue(obj
) ? true : false;
452 SWIGSTATICINLINE(int)
453 SWIG_CheckBool(PyObject
* obj
)
456 if (PyErr_Occurred()) {
465 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
471 } else if (target
== Py_None
) {
475 if (!PyTuple_Check(target
)) {
477 target
= PyTuple_New(1);
478 PyTuple_SetItem(target
, 0, o2
);
481 PyTuple_SetItem(o3
, 0, o
);
484 target
= PySequence_Concat(o2
, o3
);
492 SWIGSTATICINLINE(unsigned long)
493 SWIG_AsUnsignedLong(PyObject
* obj
)
495 if (PyLong_Check(obj
)) {
496 return PyLong_AsUnsignedLong(obj
);
498 long i
= SWIG_AsLong(obj
);
499 if ( !PyErr_Occurred() && (i
< 0)) {
500 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
507 SWIGSTATICINLINE(int)
508 SWIG_CheckUnsignedLong(PyObject
* obj
)
510 SWIG_AsUnsignedLong(obj
);
511 if (PyErr_Occurred()) {
520 SWIGSTATICINLINE(PyObject
* )
521 SWIG_FromUnsignedLong(unsigned long value
)
523 return (value
> LONG_MAX
) ?
524 PyLong_FromUnsignedLong(value
)
525 : PyInt_FromLong(swig_numeric_cast(long,value
));
529 bool wxThread_IsMain() {
530 #ifdef WXP_WITH_THREAD
531 return wxThread::IsMain();
538 int wxCaret_GetBlinkTime() {
539 return wxCaret::GetBlinkTime();
542 void wxCaret_SetBlinkTime(int milliseconds
) {
543 wxCaret::SetBlinkTime(milliseconds
);
547 #include <wx/snglinst.h>
551 #include <wx/msw/private.h>
552 #include <wx/dynload.h>
557 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
564 // This one only partially works. Appears to be an undocumented
565 // "standard" convention that not all widgets adhear to. For
566 // example, for some widgets backgrounds or non-client areas may
568 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
572 // This one works much better, except for on XP. On Win2k nearly
573 // all widgets and their children are captured correctly[**]. On
574 // XP with Themes activated most native widgets draw only
575 // partially, if at all. Without themes it works just like on
578 // ** For example the radio buttons in a wxRadioBox are not its
579 // children by default, but you can capture it via the panel
580 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
581 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
582 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
583 PRF_ERASEBKGND
| PRF_OWNED
);
587 // This one is only defined in the latest SDK and is only
588 // available on XP. MSDN says it is similar to sending WM_PRINT
589 // so I expect that it will work similar to the above. Since it
590 // is avaialble only on XP, it can't be compiled like this and
591 // will have to be loaded dynamically.
592 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
597 // Use PrintWindow if available, or fallback to WM_PRINT
598 // otherwise. Unfortunately using PrintWindow is even worse than
599 // WM_PRINT. For most native widgets nothing is drawn to the dc
600 // at all, with or without Themes.
601 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
602 static bool s_triedToLoad
= False
;
603 static PrintWindow_t pfnPrintWindow
= NULL
;
604 if ( !s_triedToLoad
)
607 s_triedToLoad
= True
;
608 wxDynamicLibrary
dllUser32(_T("user32.dll"));
609 if ( dllUser32
.IsLoaded() )
611 wxLogNull nolog
; // Don't report errors here
612 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
617 printf("Using PrintWindow\n");
618 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
622 printf("Using WM_PRINT\n");
623 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
624 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
632 #include <wx/tipdlg.h>
635 class wxPyTipProvider
: public wxTipProvider
{
637 wxPyTipProvider(size_t currentTip
)
638 : wxTipProvider(currentTip
) {}
640 DEC_PYCALLBACK_STRING__pure(GetTip
);
641 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
645 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
646 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
649 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
651 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
653 void wxPyTimer::Notify() {
655 bool blocked
= wxPyBeginBlockThreads();
656 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
657 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
658 wxPyEndBlockThreads(blocked
);
662 void wxPyTimer::base_Notify() {
668 SWIGSTATICINLINE(PyObject
*)
669 SWIG_FromCharPtr(const char* cptr
)
671 size_t size
= cptr
? strlen(cptr
) : 0;
673 if (size
> INT_MAX
) {
674 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
675 SWIG_TypeQuery("char *"), 0);
677 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
686 SWIGSTATICINLINE(unsigned long)
687 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
688 unsigned long max_value
)
690 if (!PyErr_Occurred()) {
691 if (value
> max_value
) {
693 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
694 value
, type
, max_value
);
695 PyErr_SetObject(PyExc_OverflowError
, err
);
703 #if UINT_MAX != ULONG_MAX
704 SWIGSTATICINLINE(unsigned int)
705 SWIG_AsUnsignedInt(PyObject
*obj
)
707 return swig_numeric_cast(unsigned int,
708 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
709 "unsigned int", UINT_MAX
));
712 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
716 SWIGSTATICINLINE(int)
717 SWIG_CheckUnsignedInt(PyObject
* obj
)
719 SWIG_AsUnsignedInt(obj
);
720 if (PyErr_Occurred()) {
728 wxString
Log_TimeStamp(){
730 wxLog::TimeStamp(&msg
);
733 void wxLog_Destroy(wxLog
*self
){ delete self
; }
735 // A wxLog class that can be derived from in wxPython
736 class wxPyLog
: public wxLog
{
738 wxPyLog() : wxLog() {}
740 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
742 bool blocked
= wxPyBeginBlockThreads();
743 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
744 PyObject
* s
= wx2PyString(szString
);
745 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
748 wxPyEndBlockThreads(blocked
);
750 wxLog::DoLog(level
, szString
, t
);
753 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
755 bool blocked
= wxPyBeginBlockThreads();
756 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
757 PyObject
* s
= wx2PyString(szString
);
758 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
761 wxPyEndBlockThreads(blocked
);
763 wxLog::DoLogString(szString
, t
);
772 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
775 #include <wx/joystick.h>
778 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
779 // A C++ stub class for wxJoystick for platforms that don't have it.
780 class wxJoystick
: public wxObject
{
782 wxJoystick(int joystick
= wxJOYSTICK1
) {
783 bool blocked
= wxPyBeginBlockThreads();
784 PyErr_SetString(PyExc_NotImplementedError
,
785 "wxJoystick is not available on this platform.");
786 wxPyEndBlockThreads(blocked
);
788 wxPoint
GetPosition() { return wxPoint(-1,-1); }
789 int GetZPosition() { return -1; }
790 int GetButtonState() { return -1; }
791 int GetPOVPosition() { return -1; }
792 int GetPOVCTSPosition() { return -1; }
793 int GetRudderPosition() { return -1; }
794 int GetUPosition() { return -1; }
795 int GetVPosition() { return -1; }
796 int GetMovementThreshold() { return -1; }
797 void SetMovementThreshold(int threshold
) {}
799 bool IsOk(void) { return False
; }
800 int GetNumberJoysticks() { return -1; }
801 int GetManufacturerId() { return -1; }
802 int GetProductId() { return -1; }
803 wxString
GetProductName() { return wxEmptyString
; }
804 int GetXMin() { return -1; }
805 int GetYMin() { return -1; }
806 int GetZMin() { return -1; }
807 int GetXMax() { return -1; }
808 int GetYMax() { return -1; }
809 int GetZMax() { return -1; }
810 int GetNumberButtons() { return -1; }
811 int GetNumberAxes() { return -1; }
812 int GetMaxButtons() { return -1; }
813 int GetMaxAxes() { return -1; }
814 int GetPollingMin() { return -1; }
815 int GetPollingMax() { return -1; }
816 int GetRudderMin() { return -1; }
817 int GetRudderMax() { return -1; }
818 int GetUMin() { return -1; }
819 int GetUMax() { return -1; }
820 int GetVMin() { return -1; }
821 int GetVMax() { return -1; }
823 bool HasRudder() { return False
; }
824 bool HasZ() { return False
; }
825 bool HasU() { return False
; }
826 bool HasV() { return False
; }
827 bool HasPOV() { return False
; }
828 bool HasPOV4Dir() { return False
; }
829 bool HasPOVCTS() { return False
; }
831 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
832 bool ReleaseCapture() { return False
; }
837 #include <wx/sound.h>
841 // A C++ stub class for wxWave for platforms that don't have it.
842 class wxSound
: public wxObject
846 bool blocked
= wxPyBeginBlockThreads();
847 PyErr_SetString(PyExc_NotImplementedError
,
848 "wxSound is not available on this platform.");
849 wxPyEndBlockThreads(blocked
);
851 wxSound(const wxString
&/*, bool*/) {
852 bool blocked
= wxPyBeginBlockThreads();
853 PyErr_SetString(PyExc_NotImplementedError
,
854 "wxSound is not available on this platform.");
855 wxPyEndBlockThreads(blocked
);
857 wxSound(int, const wxByte
*) {
858 bool blocked
= wxPyBeginBlockThreads();
859 PyErr_SetString(PyExc_NotImplementedError
,
860 "wxSound is not available on this platform.");
861 wxPyEndBlockThreads(blocked
);
866 bool Create(const wxString
&/*, bool*/) { return false; }
867 bool Create(int, const wxByte
*) { return false; };
868 bool IsOk() { return false; };
869 bool Play(unsigned) const { return false; }
870 static bool Play(const wxString
&, unsigned) { return false; }
871 static void Stop() {}
876 wxSound
*new_wxSound(wxString
const &fileName
){
877 if (fileName
.Length() == 0)
880 return new wxSound(fileName
);
882 wxSound
*new_wxSound(PyObject
*data
){
883 unsigned char* buffer
; int size
;
884 wxSound
*sound
= NULL
;
886 bool blocked
= wxPyBeginBlockThreads();
887 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
889 sound
= new wxSound(size
, buffer
);
891 wxPyEndBlockThreads(blocked
);
894 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
896 unsigned char* buffer
;
900 bool blocked
= wxPyBeginBlockThreads();
901 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
903 rv
= self
->Create(size
, buffer
);
905 wxPyEndBlockThreads(blocked
);
908 bool blocked
= wxPyBeginBlockThreads();
909 PyErr_SetString(PyExc_NotImplementedError
,
910 "Create from data is not available on this platform.");
911 wxPyEndBlockThreads(blocked
);
916 #include <wx/mimetype.h>
918 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
920 if (self
->GetMimeType(&str
))
921 return wx2PyString(str
);
925 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
927 if (self
->GetMimeTypes(arr
))
928 return wxArrayString2PyList_helper(arr
);
932 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
934 if (self
->GetExtensions(arr
))
935 return wxArrayString2PyList_helper(arr
);
939 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
941 if (self
->GetIcon(&loc
))
942 return new wxIcon(loc
);
946 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
948 if (self
->GetIcon(&loc
)) {
949 wxString iconFile
= loc
.GetFileName();
952 iconIndex
= loc
.GetIndex();
954 // Make a tuple and put the values in it
955 bool blocked
= wxPyBeginBlockThreads();
956 PyObject
* tuple
= PyTuple_New(3);
957 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
958 wxT("wxIcon"), True
));
959 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
960 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
961 wxPyEndBlockThreads(blocked
);
967 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
969 if (self
->GetDescription(&str
))
970 return wx2PyString(str
);
974 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
976 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
977 return wx2PyString(str
);
981 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
983 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
984 return wx2PyString(str
);
988 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
990 wxArrayString commands
;
991 if (self
->GetAllCommands(&verbs
, &commands
,
992 wxFileType::MessageParameters(filename
, mimetype
))) {
993 bool blocked
= wxPyBeginBlockThreads();
994 PyObject
* tuple
= PyTuple_New(2);
995 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
996 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
997 wxPyEndBlockThreads(blocked
);
1003 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1004 return wxFileType::ExpandCommand(command
,
1005 wxFileType::MessageParameters(filename
, mimetype
));
1007 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1009 self
->EnumAllFileTypes(arr
);
1010 return wxArrayString2PyList_helper(arr
);
1013 #include <wx/artprov.h>
1015 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1016 static const wxString
wxPyART_MENU(wxART_MENU
);
1017 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1018 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1019 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1020 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1021 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1022 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1023 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1024 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1025 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1026 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1027 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1028 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1029 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1030 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1031 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1032 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1033 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1034 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1035 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1036 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1037 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1038 static const wxString
wxPyART_HELP(wxART_HELP
);
1039 static const wxString
wxPyART_TIP(wxART_TIP
);
1040 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1041 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1042 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1043 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1044 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1045 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1046 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1047 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1048 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1049 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1050 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1051 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1052 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1053 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1054 // Python aware wxArtProvider
1055 class wxPyArtProvider
: public wxArtProvider
{
1058 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1059 const wxArtClient
& client
,
1060 const wxSize
& size
) {
1061 wxBitmap rval
= wxNullBitmap
;
1062 bool blocked
= wxPyBeginBlockThreads();
1063 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1064 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1068 s1
= wx2PyString(id
);
1069 s2
= wx2PyString(client
);
1070 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1075 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1080 wxPyEndBlockThreads(blocked
);
1087 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1091 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1092 PyObject
* ret
= PyTuple_New(3);
1094 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1095 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1096 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1101 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1106 cont
= self
->GetFirstGroup(value
, index
);
1107 return __EnumerationHelper(cont
, value
, index
);
1109 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1113 cont
= self
->GetNextGroup(value
, index
);
1114 return __EnumerationHelper(cont
, value
, index
);
1116 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1121 cont
= self
->GetFirstEntry(value
, index
);
1122 return __EnumerationHelper(cont
, value
, index
);
1124 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1128 cont
= self
->GetNextEntry(value
, index
);
1129 return __EnumerationHelper(cont
, value
, index
);
1131 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1133 self
->Read(key
, &rv
, defaultVal
);
1137 SWIGSTATICINLINE(double)
1138 SWIG_AsDouble(PyObject
*obj
)
1140 if (PyNumber_Check(obj
))
1141 return PyFloat_AsDouble(obj
);
1143 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1144 obj
->ob_type
->tp_name
);
1145 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1152 SWIGSTATICINLINE(int)
1153 SWIG_CheckDouble(PyObject
* obj
)
1156 if (PyErr_Occurred()) {
1164 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1166 self
->Read(key
, &rv
, defaultVal
);
1169 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1171 self
->Read(key
, &rv
, defaultVal
);
1175 #include <wx/datetime.h>
1178 static const wxString
wxPyDateFormatStr(wxT("%c"));
1179 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1181 #define LOCAL_TZ wxDateTime::Local
1184 #if UINT_MAX < LONG_MAX
1185 #define SWIG_FromUnsignedInt SWIG_FromLong
1187 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1190 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1191 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1192 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1193 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1194 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1195 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1196 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1197 return (*self
< *other
);
1199 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1200 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1201 return (*self
<= *other
);
1203 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1204 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1205 return (*self
> *other
);
1207 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1208 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1209 return (*self
>= *other
);
1211 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1212 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1213 return (*self
== *other
);
1215 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1216 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1217 return (*self
!= *other
);
1219 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1221 const wxChar
* _date
= date
;
1222 rv
= self
->ParseRfc822Date(_date
);
1223 if (rv
== NULL
) return -1;
1226 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1228 const wxChar
* _date
= date
;
1229 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1230 if (rv
== NULL
) return -1;
1233 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1235 const wxChar
* _datetime
= datetime
;
1236 rv
= self
->ParseDateTime(_datetime
);
1237 if (rv
== NULL
) return -1;
1238 return rv
- _datetime
;
1240 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1242 const wxChar
* _date
= date
;
1243 rv
= self
->ParseDate(_date
);
1244 if (rv
== NULL
) return -1;
1247 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1249 const wxChar
* _time
= time
;
1250 rv
= self
->ParseTime(_time
);
1251 if (rv
== NULL
) return -1;
1254 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1255 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1256 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1257 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1258 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1259 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1260 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1261 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1262 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1263 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1264 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1265 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1266 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1267 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1268 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1269 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1271 #include <wx/dataobj.h>
1273 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1274 size_t count
= self
->GetFormatCount(dir
);
1275 wxDataFormat
* formats
= new wxDataFormat
[count
];
1276 self
->GetAllFormats(formats
, dir
);
1278 bool blocked
= wxPyBeginBlockThreads();
1279 PyObject
* list
= PyList_New(count
);
1280 for (size_t i
=0; i
<count
; i
++) {
1281 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1282 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1283 PyList_Append(list
, obj
);
1286 wxPyEndBlockThreads(blocked
);
1290 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1291 PyObject
* rval
= NULL
;
1292 size_t size
= self
->GetDataSize(format
);
1293 bool blocked
= wxPyBeginBlockThreads();
1295 char* buf
= new char[size
];
1296 if (self
->GetDataHere(format
, buf
))
1297 rval
= PyString_FromStringAndSize(buf
, size
);
1304 wxPyEndBlockThreads(blocked
);
1307 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1309 bool blocked
= wxPyBeginBlockThreads();
1310 if (PyString_Check(data
)) {
1311 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1314 // raise a TypeError if not a string
1315 PyErr_SetString(PyExc_TypeError
, "String expected.");
1318 wxPyEndBlockThreads(blocked
);
1321 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1322 PyObject
* rval
= NULL
;
1323 size_t size
= self
->GetDataSize();
1324 bool blocked
= wxPyBeginBlockThreads();
1326 char* buf
= new char[size
];
1327 if (self
->GetDataHere(buf
))
1328 rval
= PyString_FromStringAndSize(buf
, size
);
1335 wxPyEndBlockThreads(blocked
);
1338 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1340 bool blocked
= wxPyBeginBlockThreads();
1341 if (PyString_Check(data
)) {
1342 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1345 // raise a TypeError if not a string
1346 PyErr_SetString(PyExc_TypeError
, "String expected.");
1349 wxPyEndBlockThreads(blocked
);
1352 // Create a new class for wxPython to use
1353 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1355 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1356 : wxDataObjectSimple(format
) {}
1358 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1359 bool GetDataHere(void *buf
) const;
1360 bool SetData(size_t len
, const void *buf
) const;
1364 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1366 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1367 // We need to get the data for this object and write it to buf. I think
1368 // the best way to do this for wxPython is to have the Python method
1369 // return either a string or None and then act appropriately with the
1373 bool blocked
= wxPyBeginBlockThreads();
1374 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1376 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1378 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1380 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1384 wxPyEndBlockThreads(blocked
);
1388 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1389 // For this one we simply need to make a string from buf and len
1390 // and send it to the Python method.
1392 bool blocked
= wxPyBeginBlockThreads();
1393 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1394 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1395 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1398 wxPyEndBlockThreads(blocked
);
1402 // Create a new class for wxPython to use
1403 class wxPyTextDataObject
: public wxTextDataObject
{
1405 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1406 : wxTextDataObject(text
) {}
1408 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1409 DEC_PYCALLBACK_STRING__const(GetText
);
1410 DEC_PYCALLBACK__STRING(SetText
);
1414 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1415 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1416 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1419 // Create a new class for wxPython to use
1420 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1422 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1423 : wxBitmapDataObject(bitmap
) {}
1425 wxBitmap
GetBitmap() const;
1426 void SetBitmap(const wxBitmap
& bitmap
);
1430 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1431 wxBitmap
* rval
= &wxNullBitmap
;
1432 bool blocked
= wxPyBeginBlockThreads();
1433 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1436 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1438 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1443 wxPyEndBlockThreads(blocked
);
1447 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1448 bool blocked
= wxPyBeginBlockThreads();
1449 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1450 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1451 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1454 wxPyEndBlockThreads(blocked
);
1457 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1459 bool blocked
= wxPyBeginBlockThreads();
1460 if (PyString_Check(data
)) {
1461 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1464 // raise a TypeError if not a string
1465 PyErr_SetString(PyExc_TypeError
, "String expected.");
1468 wxPyEndBlockThreads(blocked
);
1471 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1473 bool blocked
= wxPyBeginBlockThreads();
1474 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1475 wxPyEndBlockThreads(blocked
);
1479 #include <wx/metafile.h>
1482 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1485 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1486 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1487 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1488 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1489 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1492 class wxPyTextDropTarget
: public wxTextDropTarget
{
1494 wxPyTextDropTarget() {}
1496 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1498 DEC_PYCALLBACK__(OnLeave
);
1499 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1500 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1501 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1502 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1507 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1508 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1509 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1510 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1511 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1512 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1516 class wxPyFileDropTarget
: public wxFileDropTarget
{
1518 wxPyFileDropTarget() {}
1520 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1522 DEC_PYCALLBACK__(OnLeave
);
1523 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1524 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1525 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1526 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1531 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1532 const wxArrayString
& filenames
) {
1534 bool blocked
= wxPyBeginBlockThreads();
1535 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1536 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1537 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1540 wxPyEndBlockThreads(blocked
);
1546 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1547 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1548 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1549 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1550 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1555 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1557 #include <wx/display.h>
1559 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1560 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1562 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1564 #include <wx/dynarray.h>
1565 #include <wx/vidmode.h>
1567 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1568 #include "wx/arrimpl.cpp"
1569 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1570 const wxVideoMode wxDefaultVideoMode
;
1575 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1578 static size_t GetCount()
1579 { wxPyRaiseNotImplemented(); return 0; }
1581 static int GetFromPoint(const wxPoint
& pt
)
1582 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1583 static int GetFromWindow(wxWindow
*window
)
1584 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1586 virtual bool IsOk() const { return false; }
1587 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1588 virtual wxString
GetName() const { return wxEmptyString
; }
1589 bool IsPrimary() const { return false; }
1591 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1592 { wxArrayVideoModes a
; return a
; }
1594 virtual wxVideoMode
GetCurrentMode() const
1595 { return wxDefaultVideoMode
; }
1597 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1604 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1605 PyObject
* pyList
= NULL
;
1606 wxArrayVideoModes arr
= self
->GetModes(mode
);
1607 bool blocked
= wxPyBeginBlockThreads();
1608 pyList
= PyList_New(0);
1609 for (int i
=0; i
< arr
.GetCount(); i
++) {
1610 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1611 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1612 PyList_Append(pyList
, pyObj
);
1615 wxPyEndBlockThreads(blocked
);
1621 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
*resultobj
;
1625 PyObject
* obj0
= 0 ;
1627 (char *) "index", NULL
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1631 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 if (!wxPyCheckForApp()) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 wxColour
* resultptr
;
1643 resultptr
= new wxColour((wxColour
&) result
);
1644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1652 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1656 PyObject
* obj0
= 0 ;
1658 (char *) "index", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1662 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1665 if (!wxPyCheckForApp()) SWIG_fail
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1674 resultptr
= new wxFont((wxFont
&) result
);
1675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1683 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "index", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1693 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 if (!wxPyCheckForApp()) SWIG_fail
;
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 resultobj
= SWIG_FromInt((int)result
);
1710 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1714 PyObject
* obj0
= 0 ;
1716 (char *) "index", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1720 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 if (!wxPyCheckForApp()) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1739 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1748 if (!wxPyCheckForApp()) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= (int)wxSystemSettings::GetScreenType();
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1755 resultobj
= SWIG_FromInt((int)result
);
1762 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
*resultobj
;
1765 PyObject
* obj0
= 0 ;
1767 (char *) "screen", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1771 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 if (!wxPyCheckForApp()) SWIG_fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 Py_INCREF(Py_None
); resultobj
= Py_None
;
1788 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1791 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1793 return Py_BuildValue((char *)"");
1795 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxSystemOptions
*result
;
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 result
= (wxSystemOptions
*)new wxSystemOptions();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1817 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxString
*arg1
= 0 ;
1820 wxString
*arg2
= 0 ;
1821 bool temp1
= False
;
1822 bool temp2
= False
;
1823 PyObject
* obj0
= 0 ;
1824 PyObject
* obj1
= 0 ;
1826 (char *) "name",(char *) "value", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1831 arg1
= wxString_in_helper(obj0
);
1832 if (arg1
== NULL
) SWIG_fail
;
1836 arg2
= wxString_in_helper(obj1
);
1837 if (arg2
== NULL
) SWIG_fail
;
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 Py_INCREF(Py_None
); resultobj
= Py_None
;
1870 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxString
*arg1
= 0 ;
1874 bool temp1
= False
;
1875 PyObject
* obj0
= 0 ;
1876 PyObject
* obj1
= 0 ;
1878 (char *) "name",(char *) "value", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1883 arg1
= wxString_in_helper(obj0
);
1884 if (arg1
== NULL
) SWIG_fail
;
1887 arg2
= (int) SWIG_AsInt(obj1
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 Py_INCREF(Py_None
); resultobj
= Py_None
;
1911 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
*resultobj
;
1913 wxString
*arg1
= 0 ;
1915 bool temp1
= False
;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "name", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1923 arg1
= wxString_in_helper(obj0
);
1924 if (arg1
== NULL
) SWIG_fail
;
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1955 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxString
*arg1
= 0 ;
1959 bool temp1
= False
;
1960 PyObject
* obj0
= 0 ;
1962 (char *) "name", NULL
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1967 arg1
= wxString_in_helper(obj0
);
1968 if (arg1
== NULL
) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 resultobj
= SWIG_FromInt((int)result
);
1993 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxString
*arg1
= 0 ;
1997 bool temp1
= False
;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "name", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2005 arg1
= wxString_in_helper(obj0
);
2006 if (arg1
== NULL
) SWIG_fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2033 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2036 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2038 return Py_BuildValue((char *)"");
2040 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2041 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2046 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2051 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2053 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2060 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2061 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2066 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2071 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2073 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2080 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2081 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2086 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2091 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2093 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2100 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (long)wxNewId();
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= SWIG_FromLong((long)result
);
2122 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2125 PyObject
* obj0
= 0 ;
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2131 arg1
= (long) SWIG_AsLong(obj0
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 Py_INCREF(Py_None
); resultobj
= Py_None
;
2147 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 result
= (long)wxGetCurrentId();
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 resultobj
= SWIG_FromLong((long)result
);
2169 static PyObject
*_wrap_IsStockID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2173 PyObject
* obj0
= 0 ;
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2179 arg1
= (int) SWIG_AsInt(obj0
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 result
= (bool)wxIsStockID(arg1
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2197 static PyObject
*_wrap_IsStockLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2200 wxString
*arg2
= 0 ;
2202 bool temp2
= False
;
2203 PyObject
* obj0
= 0 ;
2204 PyObject
* obj1
= 0 ;
2206 (char *) "id",(char *) "label", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2210 arg1
= (int) SWIG_AsInt(obj0
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 arg2
= wxString_in_helper(obj1
);
2214 if (arg2
== NULL
) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2241 static PyObject
*_wrap_GetStockLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2245 PyObject
* obj0
= 0 ;
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2251 arg1
= (int) SWIG_AsInt(obj0
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 result
= wxGetStockLabel(arg1
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2273 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2281 if (!wxPyCheckForApp()) SWIG_fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2288 Py_INCREF(Py_None
); resultobj
= Py_None
;
2295 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
*resultobj
;
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2303 if (!wxPyCheckForApp()) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 Py_INCREF(Py_None
); resultobj
= Py_None
;
2317 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
*resultobj
;
2319 bool arg1
= (bool) True
;
2321 PyObject
* obj0
= 0 ;
2323 (char *) "resetTimer", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2328 arg1
= (bool) SWIG_AsBool(obj0
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (long)wxGetElapsedTime(arg1
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= SWIG_FromLong((long)result
);
2345 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 int *arg1
= (int *) 0 ;
2348 int *arg2
= (int *) 0 ;
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2359 if (!wxPyCheckForApp()) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 wxGetMousePosition(arg1
,arg2
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 Py_INCREF(Py_None
); resultobj
= Py_None
;
2368 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2369 resultobj
= t_output_helper(resultobj
,o
);
2372 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2373 resultobj
= t_output_helper(resultobj
,o
);
2381 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 result
= (bool)wxIsBusy();
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2405 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
;
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2433 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2436 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2438 bool temp1
= False
;
2439 PyObject
* obj0
= 0 ;
2441 (char *) "command", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2447 arg1
= wxString_in_helper(obj0
);
2448 if (arg1
== NULL
) SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= (bool)wxShell((wxString
const &)*arg1
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2476 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 Py_INCREF(Py_None
); resultobj
= Py_None
;
2497 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 int *arg1
= (int *) 0 ;
2500 int *arg2
= (int *) 0 ;
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 result
= (int)wxGetOsVersion(arg1
,arg2
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 resultobj
= SWIG_FromInt((int)result
);
2520 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2521 resultobj
= t_output_helper(resultobj
,o
);
2524 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2525 resultobj
= t_output_helper(resultobj
,o
);
2533 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 result
= wxGetOsDescription();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2561 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 result
= (long)wxGetFreeMemory();
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 resultobj
= SWIG_FromLong((long)result
);
2583 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "wFlags", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2593 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 if (!wxPyCheckForApp()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2612 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2615 PyObject
* obj0
= 0 ;
2617 (char *) "secs", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2621 arg1
= (int) SWIG_AsInt(obj0
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 Py_INCREF(Py_None
); resultobj
= Py_None
;
2637 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 unsigned long arg1
;
2640 PyObject
* obj0
= 0 ;
2642 (char *) "milliseconds", NULL
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2646 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 Py_INCREF(Py_None
); resultobj
= Py_None
;
2662 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 unsigned long arg1
;
2665 PyObject
* obj0
= 0 ;
2667 (char *) "microseconds", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2671 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 Py_INCREF(Py_None
); resultobj
= Py_None
;
2687 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2690 PyObject
* obj0
= 0 ;
2692 (char *) "enable", NULL
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2696 arg1
= (bool) SWIG_AsBool(obj0
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 wxEnableTopLevelWindows(arg1
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 Py_INCREF(Py_None
); resultobj
= Py_None
;
2712 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxString
*arg1
= 0 ;
2716 bool temp1
= False
;
2717 PyObject
* obj0
= 0 ;
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2724 arg1
= wxString_in_helper(obj0
);
2725 if (arg1
== NULL
) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2756 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= wxGetEmailAddress();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2784 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 result
= wxGetHostName();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2812 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= wxGetFullHostName();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2840 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= wxGetUserId();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2868 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= wxGetUserName();
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2896 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 result
= wxGetHomeDir();
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2924 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2927 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2929 bool temp1
= False
;
2930 PyObject
* obj0
= 0 ;
2932 (char *) "user", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2938 arg1
= wxString_in_helper(obj0
);
2939 if (arg1
== NULL
) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= wxGetUserHome((wxString
const &)*arg1
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2971 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
*resultobj
;
2973 unsigned long result
;
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (unsigned long)wxGetProcessId();
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2993 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 wxPyEndAllowThreads(__tstate
);
3005 if (PyErr_Occurred()) SWIG_fail
;
3007 Py_INCREF(Py_None
); resultobj
= Py_None
;
3014 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
*resultobj
;
3016 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3017 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3018 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3019 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3020 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3021 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3024 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3025 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3026 int arg6
= (int) 0 ;
3027 wxWindow
*arg7
= (wxWindow
*) NULL
;
3028 int arg8
= (int) -1 ;
3029 int arg9
= (int) -1 ;
3031 bool temp1
= False
;
3032 bool temp2
= False
;
3033 bool temp3
= False
;
3034 bool temp4
= False
;
3035 bool temp5
= False
;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3038 PyObject
* obj2
= 0 ;
3039 PyObject
* obj3
= 0 ;
3040 PyObject
* obj4
= 0 ;
3041 PyObject
* obj5
= 0 ;
3042 PyObject
* obj6
= 0 ;
3043 PyObject
* obj7
= 0 ;
3044 PyObject
* obj8
= 0 ;
3046 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3052 arg1
= wxString_in_helper(obj0
);
3053 if (arg1
== NULL
) SWIG_fail
;
3059 arg2
= wxString_in_helper(obj1
);
3060 if (arg2
== NULL
) SWIG_fail
;
3066 arg3
= wxString_in_helper(obj2
);
3067 if (arg3
== NULL
) SWIG_fail
;
3073 arg4
= wxString_in_helper(obj3
);
3074 if (arg4
== NULL
) SWIG_fail
;
3080 arg5
= wxString_in_helper(obj4
);
3081 if (arg5
== NULL
) SWIG_fail
;
3086 arg6
= (int) SWIG_AsInt(obj5
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3090 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3094 arg8
= (int) SWIG_AsInt(obj7
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3098 arg9
= (int) SWIG_AsInt(obj8
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3102 if (!wxPyCheckForApp()) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3162 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxString
*arg1
= 0 ;
3165 wxString
*arg2
= 0 ;
3166 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3167 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3168 wxWindow
*arg4
= (wxWindow
*) NULL
;
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 ;
3178 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3183 arg1
= wxString_in_helper(obj0
);
3184 if (arg1
== NULL
) SWIG_fail
;
3188 arg2
= wxString_in_helper(obj1
);
3189 if (arg2
== NULL
) SWIG_fail
;
3194 arg3
= wxString_in_helper(obj2
);
3195 if (arg3
== NULL
) SWIG_fail
;
3200 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 if (!wxPyCheckForApp()) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3248 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxString
*arg1
= 0 ;
3251 wxString
*arg2
= 0 ;
3252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3254 wxWindow
*arg4
= (wxWindow
*) NULL
;
3256 bool temp1
= False
;
3257 bool temp2
= False
;
3258 bool temp3
= False
;
3259 PyObject
* obj0
= 0 ;
3260 PyObject
* obj1
= 0 ;
3261 PyObject
* obj2
= 0 ;
3262 PyObject
* obj3
= 0 ;
3264 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3269 arg1
= wxString_in_helper(obj0
);
3270 if (arg1
== NULL
) SWIG_fail
;
3274 arg2
= wxString_in_helper(obj1
);
3275 if (arg2
== NULL
) SWIG_fail
;
3280 arg3
= wxString_in_helper(obj2
);
3281 if (arg3
== NULL
) SWIG_fail
;
3286 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3290 if (!wxPyCheckForApp()) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3334 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3337 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3338 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3339 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3340 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3343 wxWindow
*arg5
= (wxWindow
*) NULL
;
3345 bool temp1
= False
;
3346 bool temp2
= False
;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3350 PyObject
* obj2
= 0 ;
3351 PyObject
* obj3
= 0 ;
3352 PyObject
* obj4
= 0 ;
3354 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3360 arg1
= wxString_in_helper(obj0
);
3361 if (arg1
== NULL
) SWIG_fail
;
3367 arg2
= wxString_in_helper(obj1
);
3368 if (arg2
== NULL
) SWIG_fail
;
3373 arg3
= (long) SWIG_AsLong(obj2
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3379 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3383 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 if (!wxPyCheckForApp()) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3423 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxString
*arg1
= 0 ;
3426 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3427 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3428 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3429 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3430 wxWindow
*arg4
= (wxWindow
*) NULL
;
3431 int arg5
= (int) -1 ;
3432 int arg6
= (int) -1 ;
3433 bool arg7
= (bool) True
;
3435 bool temp1
= False
;
3436 bool temp2
= False
;
3437 bool temp3
= False
;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3440 PyObject
* obj2
= 0 ;
3441 PyObject
* obj3
= 0 ;
3442 PyObject
* obj4
= 0 ;
3443 PyObject
* obj5
= 0 ;
3444 PyObject
* obj6
= 0 ;
3446 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3451 arg1
= wxString_in_helper(obj0
);
3452 if (arg1
== NULL
) SWIG_fail
;
3457 arg2
= wxString_in_helper(obj1
);
3458 if (arg2
== NULL
) SWIG_fail
;
3464 arg3
= wxString_in_helper(obj2
);
3465 if (arg3
== NULL
) SWIG_fail
;
3470 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg5
= (int) SWIG_AsInt(obj4
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 arg6
= (int) SWIG_AsInt(obj5
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 arg7
= (bool) SWIG_AsBool(obj6
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 if (!wxPyCheckForApp()) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3530 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxString
*arg1
= 0 ;
3533 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3534 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3537 wxWindow
*arg4
= (wxWindow
*) NULL
;
3539 bool temp1
= False
;
3540 bool temp2
= False
;
3541 bool temp3
= False
;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3544 PyObject
* obj2
= 0 ;
3545 PyObject
* obj3
= 0 ;
3547 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3552 arg1
= wxString_in_helper(obj0
);
3553 if (arg1
== NULL
) SWIG_fail
;
3558 arg2
= wxString_in_helper(obj1
);
3559 if (arg2
== NULL
) SWIG_fail
;
3565 arg3
= wxString_in_helper(obj2
);
3566 if (arg3
== NULL
) SWIG_fail
;
3571 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3575 if (!wxPyCheckForApp()) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3619 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxString
*arg1
= 0 ;
3622 wxString
*arg2
= 0 ;
3624 wxString
*arg4
= (wxString
*) 0 ;
3625 wxWindow
*arg5
= (wxWindow
*) NULL
;
3626 int arg6
= (int) -1 ;
3627 int arg7
= (int) -1 ;
3628 bool arg8
= (bool) True
;
3629 int arg9
= (int) 150 ;
3630 int arg10
= (int) 200 ;
3632 bool temp1
= False
;
3633 bool temp2
= False
;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3636 PyObject
* obj2
= 0 ;
3637 PyObject
* obj3
= 0 ;
3638 PyObject
* obj4
= 0 ;
3639 PyObject
* obj5
= 0 ;
3640 PyObject
* obj6
= 0 ;
3641 PyObject
* obj7
= 0 ;
3642 PyObject
* obj8
= 0 ;
3644 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3649 arg1
= wxString_in_helper(obj0
);
3650 if (arg1
== NULL
) SWIG_fail
;
3654 arg2
= wxString_in_helper(obj1
);
3655 if (arg2
== NULL
) SWIG_fail
;
3659 arg3
= PyList_Size(obj2
);
3660 arg4
= wxString_LIST_helper(obj2
);
3661 if (arg4
== NULL
) SWIG_fail
;
3664 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3668 arg6
= (int) SWIG_AsInt(obj4
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 arg7
= (int) SWIG_AsInt(obj5
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 arg8
= (bool) SWIG_AsBool(obj6
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3680 arg9
= (int) SWIG_AsInt(obj7
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3684 arg10
= (int) SWIG_AsInt(obj8
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3688 if (!wxPyCheckForApp()) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3711 if (arg4
) delete [] arg4
;
3724 if (arg4
) delete [] arg4
;
3730 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxString
*arg1
= 0 ;
3733 wxString
*arg2
= 0 ;
3735 wxString
*arg4
= (wxString
*) 0 ;
3736 wxWindow
*arg5
= (wxWindow
*) NULL
;
3737 int arg6
= (int) -1 ;
3738 int arg7
= (int) -1 ;
3739 bool arg8
= (bool) True
;
3740 int arg9
= (int) 150 ;
3741 int arg10
= (int) 200 ;
3743 bool temp1
= False
;
3744 bool temp2
= False
;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3747 PyObject
* obj2
= 0 ;
3748 PyObject
* obj3
= 0 ;
3749 PyObject
* obj4
= 0 ;
3750 PyObject
* obj5
= 0 ;
3751 PyObject
* obj6
= 0 ;
3752 PyObject
* obj7
= 0 ;
3753 PyObject
* obj8
= 0 ;
3755 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3760 arg1
= wxString_in_helper(obj0
);
3761 if (arg1
== NULL
) SWIG_fail
;
3765 arg2
= wxString_in_helper(obj1
);
3766 if (arg2
== NULL
) SWIG_fail
;
3770 arg3
= PyList_Size(obj2
);
3771 arg4
= wxString_LIST_helper(obj2
);
3772 if (arg4
== NULL
) SWIG_fail
;
3775 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 arg6
= (int) SWIG_AsInt(obj4
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3783 arg7
= (int) SWIG_AsInt(obj5
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3787 arg8
= (bool) SWIG_AsBool(obj6
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3791 arg9
= (int) SWIG_AsInt(obj7
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3795 arg10
= (int) SWIG_AsInt(obj8
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3799 if (!wxPyCheckForApp()) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_FromInt((int)result
);
3816 if (arg4
) delete [] arg4
;
3829 if (arg4
) delete [] arg4
;
3835 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 wxString
*arg1
= 0 ;
3838 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3839 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3840 int arg3
= (int) wxOK
|wxCENTRE
;
3841 wxWindow
*arg4
= (wxWindow
*) NULL
;
3842 int arg5
= (int) -1 ;
3843 int arg6
= (int) -1 ;
3845 bool temp1
= False
;
3846 bool temp2
= False
;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3849 PyObject
* obj2
= 0 ;
3850 PyObject
* obj3
= 0 ;
3851 PyObject
* obj4
= 0 ;
3852 PyObject
* obj5
= 0 ;
3854 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3859 arg1
= wxString_in_helper(obj0
);
3860 if (arg1
== NULL
) SWIG_fail
;
3865 arg2
= wxString_in_helper(obj1
);
3866 if (arg2
== NULL
) SWIG_fail
;
3871 arg3
= (int) SWIG_AsInt(obj2
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3875 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg5
= (int) SWIG_AsInt(obj4
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3883 arg6
= (int) SWIG_AsInt(obj5
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 if (!wxPyCheckForApp()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_FromInt((int)result
);
3917 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxString
*arg1
= 0 ;
3920 wxString
*arg2
= 0 ;
3921 wxString
*arg3
= 0 ;
3923 long arg5
= (long) 0 ;
3924 long arg6
= (long) 100 ;
3925 wxWindow
*arg7
= (wxWindow
*) NULL
;
3926 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3927 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3929 bool temp1
= False
;
3930 bool temp2
= False
;
3931 bool temp3
= False
;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3935 PyObject
* obj2
= 0 ;
3936 PyObject
* obj3
= 0 ;
3937 PyObject
* obj4
= 0 ;
3938 PyObject
* obj5
= 0 ;
3939 PyObject
* obj6
= 0 ;
3940 PyObject
* obj7
= 0 ;
3942 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3947 arg1
= wxString_in_helper(obj0
);
3948 if (arg1
== NULL
) SWIG_fail
;
3952 arg2
= wxString_in_helper(obj1
);
3953 if (arg2
== NULL
) SWIG_fail
;
3957 arg3
= wxString_in_helper(obj2
);
3958 if (arg3
== NULL
) SWIG_fail
;
3961 arg4
= (long) SWIG_AsLong(obj3
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 arg5
= (long) SWIG_AsLong(obj4
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 arg6
= (long) SWIG_AsLong(obj5
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3972 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3982 if (!wxPyCheckForApp()) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= SWIG_FromLong((long)result
);
4020 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4029 if (!wxPyCheckForApp()) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (bool)wxColourDisplay();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4045 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4054 if (!wxPyCheckForApp()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (int)wxDisplayDepth();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_FromInt((int)result
);
4068 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4077 if (!wxPyCheckForApp()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (int)wxGetDisplayDepth();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= SWIG_FromInt((int)result
);
4091 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 int *arg1
= (int *) 0 ;
4094 int *arg2
= (int *) 0 ;
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 wxDisplaySize(arg1
,arg2
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4114 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4115 resultobj
= t_output_helper(resultobj
,o
);
4118 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4119 resultobj
= t_output_helper(resultobj
,o
);
4127 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4136 if (!wxPyCheckForApp()) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= wxGetDisplaySize();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4145 resultptr
= new wxSize((wxSize
&) result
);
4146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4154 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 int *arg1
= (int *) 0 ;
4157 int *arg2
= (int *) 0 ;
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4168 if (!wxPyCheckForApp()) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 wxDisplaySizeMM(arg1
,arg2
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 Py_INCREF(Py_None
); resultobj
= Py_None
;
4177 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4178 resultobj
= t_output_helper(resultobj
,o
);
4181 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4182 resultobj
= t_output_helper(resultobj
,o
);
4190 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4199 if (!wxPyCheckForApp()) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= wxGetDisplaySizeMM();
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4208 resultptr
= new wxSize((wxSize
&) result
);
4209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4217 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 int *arg1
= (int *) 0 ;
4220 int *arg2
= (int *) 0 ;
4221 int *arg3
= (int *) 0 ;
4222 int *arg4
= (int *) 0 ;
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4237 if (!wxPyCheckForApp()) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 Py_INCREF(Py_None
); resultobj
= Py_None
;
4246 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4247 resultobj
= t_output_helper(resultobj
,o
);
4250 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4251 resultobj
= t_output_helper(resultobj
,o
);
4254 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4255 resultobj
= t_output_helper(resultobj
,o
);
4258 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4259 resultobj
= t_output_helper(resultobj
,o
);
4267 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4276 if (!wxPyCheckForApp()) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= wxGetClientDisplayRect();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4285 resultptr
= new wxRect((wxRect
&) result
);
4286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4294 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxCursor
*arg1
= 0 ;
4297 PyObject
* obj0
= 0 ;
4299 (char *) "cursor", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4307 PyErr_SetString(PyExc_TypeError
,"null reference");
4311 if (!wxPyCheckForApp()) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4325 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4328 PyObject
* obj0
= 0 ;
4330 (char *) "cursor", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 if (!wxPyCheckForApp()) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxBeginBusyCursor(arg1
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4362 if (!wxPyCheckForApp()) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (wxWindow
*)wxGetActiveWindow();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= wxPyMake_wxObject(result
, 0);
4378 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4383 PyObject
* obj0
= 0 ;
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4391 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4394 if (!wxPyCheckForApp()) SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= wxPyMake_wxObject(result
, 0);
4410 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4415 PyObject
* obj0
= 0 ;
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4423 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4426 if (!wxPyCheckForApp()) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= wxPyMake_wxObject(result
, 0);
4442 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxWindow
*arg1
= (wxWindow
*) 0 ;
4446 PyObject
* obj0
= 0 ;
4448 (char *) "win", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4455 if (!wxPyCheckForApp()) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= wxPyMake_wxObject(result
, 0);
4471 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4475 PyObject
* obj0
= 0 ;
4477 (char *) "key", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4481 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 if (!wxPyCheckForApp()) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4500 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4508 if (!wxPyCheckForApp()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxWakeUpMainThread();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 Py_INCREF(Py_None
); resultobj
= Py_None
;
4522 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4530 if (!wxPyCheckForApp()) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 Py_INCREF(Py_None
); resultobj
= Py_None
;
4544 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4552 if (!wxPyCheckForApp()) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxMutexGuiLocker
*result
;
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4575 if (!wxPyCheckForApp()) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4589 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4594 (char *) "self", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4617 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4619 return Py_BuildValue((char *)"");
4621 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (bool)wxThread_IsMain();
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4645 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxString
*arg1
= 0 ;
4649 bool temp1
= False
;
4650 PyObject
* obj0
= 0 ;
4652 (char *) "tip", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4657 arg1
= wxString_in_helper(obj0
);
4658 if (arg1
== NULL
) SWIG_fail
;
4662 if (!wxPyCheckForApp()) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= wxPyMake_wxObject(result
, 1);
4686 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
;
4688 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4689 wxString
*arg2
= 0 ;
4690 bool temp2
= False
;
4691 PyObject
* obj0
= 0 ;
4692 PyObject
* obj1
= 0 ;
4694 (char *) "self",(char *) "tip", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4701 arg2
= wxString_in_helper(obj1
);
4702 if (arg2
== NULL
) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->SetTip((wxString
const &)*arg2
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4727 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (arg1
)->GetTip();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4759 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (wxWindow
*)(arg1
)->GetWindow();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= wxPyMake_wxObject(result
, 0);
4787 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "flag", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4796 arg1
= (bool) SWIG_AsBool(obj0
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxToolTip::Enable(arg1
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 Py_INCREF(Py_None
); resultobj
= Py_None
;
4812 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4815 PyObject
* obj0
= 0 ;
4817 (char *) "milliseconds", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4821 arg1
= (long) SWIG_AsLong(obj0
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 wxToolTip::SetDelay(arg1
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4837 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4840 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4842 return Py_BuildValue((char *)"");
4844 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxWindow
*arg1
= (wxWindow
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4853 (char *) "window",(char *) "size", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4864 if (!wxPyCheckForApp()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4878 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxCaret
*arg1
= (wxCaret
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4883 (char *) "self", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 Py_INCREF(Py_None
); resultobj
= Py_None
;
4903 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxCaret
*arg1
= (wxCaret
*) 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "self", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (bool)(arg1
)->IsOk();
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4931 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxCaret
*arg1
= (wxCaret
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4937 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (bool)(arg1
)->IsVisible();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4959 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxCaret
*arg1
= (wxCaret
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (arg1
)->GetPosition();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 wxPoint
* resultptr
;
4980 resultptr
= new wxPoint((wxPoint
&) result
);
4981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4989 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxCaret
*arg1
= (wxCaret
*) 0 ;
4992 int *arg2
= (int *) 0 ;
4993 int *arg3
= (int *) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->GetPosition(arg2
,arg3
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 Py_INCREF(Py_None
); resultobj
= Py_None
;
5015 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5016 resultobj
= t_output_helper(resultobj
,o
);
5019 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5020 resultobj
= t_output_helper(resultobj
,o
);
5028 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxCaret
*arg1
= (wxCaret
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (arg1
)->GetSize();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5049 resultptr
= new wxSize((wxSize
&) result
);
5050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5058 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxCaret
*arg1
= (wxCaret
*) 0 ;
5061 int *arg2
= (int *) 0 ;
5062 int *arg3
= (int *) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 (arg1
)->GetSize(arg2
,arg3
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 Py_INCREF(Py_None
); resultobj
= Py_None
;
5084 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5085 resultobj
= t_output_helper(resultobj
,o
);
5088 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5089 resultobj
= t_output_helper(resultobj
,o
);
5097 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxCaret
*arg1
= (wxCaret
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (wxWindow
*)(arg1
)->GetWindow();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= wxPyMake_wxObject(result
, 0);
5125 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxCaret
*arg1
= (wxCaret
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5132 PyObject
* obj2
= 0 ;
5134 (char *) "self",(char *) "x",(char *) "y", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5140 arg2
= (int) SWIG_AsInt(obj1
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5142 arg3
= (int) SWIG_AsInt(obj2
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->Move(arg2
,arg3
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxCaret
*arg1
= (wxCaret
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "pt", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->Move((wxPoint
const &)*arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5190 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxCaret
*arg1
= (wxCaret
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5197 PyObject
* obj2
= 0 ;
5199 (char *) "self",(char *) "width",(char *) "height", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 arg2
= (int) SWIG_AsInt(obj1
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5207 arg3
= (int) SWIG_AsInt(obj2
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetSize(arg2
,arg3
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 Py_INCREF(Py_None
); resultobj
= Py_None
;
5223 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxCaret
*arg1
= (wxCaret
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "size", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 (arg1
)->SetSize((wxSize
const &)*arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxCaret
*arg1
= (wxCaret
*) 0 ;
5258 int arg2
= (int) True
;
5259 PyObject
* obj0
= 0 ;
5260 PyObject
* obj1
= 0 ;
5262 (char *) "self",(char *) "show", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 arg2
= (int) SWIG_AsInt(obj1
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 Py_INCREF(Py_None
); resultobj
= Py_None
;
5286 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxCaret
*arg1
= (wxCaret
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5314 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5316 return Py_BuildValue((char *)"");
5318 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (int)wxCaret_GetBlinkTime();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_FromInt((int)result
);
5340 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5343 PyObject
* obj0
= 0 ;
5345 (char *) "milliseconds", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5349 arg1
= (int) SWIG_AsInt(obj0
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxCaret_SetBlinkTime(arg1
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 Py_INCREF(Py_None
); resultobj
= Py_None
;
5365 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5368 wxBusyCursor
*result
;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "cursor", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5380 if (!wxPyCheckForApp()) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5394 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5422 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5424 return Py_BuildValue((char *)"");
5426 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxWindow
*arg1
= (wxWindow
*) NULL
;
5429 wxWindowDisabler
*result
;
5430 PyObject
* obj0
= 0 ;
5432 (char *) "winToSkip", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5441 if (!wxPyCheckForApp()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5455 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5460 (char *) "self", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 Py_INCREF(Py_None
); resultobj
= Py_None
;
5480 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5483 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5485 return Py_BuildValue((char *)"");
5487 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxString
*arg1
= 0 ;
5491 bool temp1
= False
;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "message", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5499 arg1
= wxString_in_helper(obj0
);
5500 if (arg1
== NULL
) SWIG_fail
;
5504 if (!wxPyCheckForApp()) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5526 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5531 (char *) "self", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5554 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5556 return Py_BuildValue((char *)"");
5558 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxStopWatch
*result
;
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (wxStopWatch
*)new wxStopWatch();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5580 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5583 long arg2
= (long) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "t0", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 arg2
= (long) SWIG_AsLong(obj1
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->Start(arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 Py_INCREF(Py_None
); resultobj
= Py_None
;
5611 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5616 (char *) "self", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_FromLong((long)result
);
5687 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5690 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5692 return Py_BuildValue((char *)"");
5694 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 int arg1
= (int) 9 ;
5697 int arg2
= (int) wxID_FILE1
;
5698 wxFileHistory
*result
;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5702 (char *) "maxFiles",(char *) "idBase", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5707 arg1
= (int) SWIG_AsInt(obj0
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 arg2
= (int) SWIG_AsInt(obj1
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5728 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5733 (char *) "self", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 Py_INCREF(Py_None
); resultobj
= Py_None
;
5753 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5756 wxString
*arg2
= 0 ;
5757 bool temp2
= False
;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5761 (char *) "self",(char *) "file", NULL
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 arg2
= wxString_in_helper(obj1
);
5769 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 Py_INCREF(Py_None
); resultobj
= Py_None
;
5794 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "i", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 arg2
= (int) SWIG_AsInt(obj1
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 (arg1
)->RemoveFileFromHistory(arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "self", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= SWIG_FromInt((int)result
);
5849 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5852 wxMenu
*arg2
= (wxMenu
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5856 (char *) "self",(char *) "menu", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 (arg1
)->UseMenu(arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5881 wxMenu
*arg2
= (wxMenu
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5885 (char *) "self",(char *) "menu", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 (arg1
)->RemoveMenu(arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5907 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5910 wxConfigBase
*arg2
= 0 ;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5914 (char *) "self",(char *) "config", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5924 PyErr_SetString(PyExc_TypeError
,"null reference");
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 (arg1
)->Load(*arg2
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 Py_INCREF(Py_None
); resultobj
= Py_None
;
5941 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5944 wxConfigBase
*arg2
= 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "config", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5958 PyErr_SetString(PyExc_TypeError
,"null reference");
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 (arg1
)->Save(*arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5978 PyObject
* obj0
= 0 ;
5980 (char *) "self", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 (arg1
)->AddFilesToMenu();
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 Py_INCREF(Py_None
); resultobj
= Py_None
;
6000 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6003 wxMenu
*arg2
= (wxMenu
*) 0 ;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6007 (char *) "self",(char *) "menu", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 (arg1
)->AddFilesToMenu(arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 Py_INCREF(Py_None
); resultobj
= Py_None
;
6029 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
;
6031 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "i", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 arg2
= (int) SWIG_AsInt(obj1
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6065 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6071 (char *) "self", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_FromInt((int)result
);
6091 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
6093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6094 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6096 return Py_BuildValue((char *)"");
6098 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxString
*arg1
= 0 ;
6101 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6102 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6103 wxSingleInstanceChecker
*result
;
6104 bool temp1
= False
;
6105 bool temp2
= False
;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "name",(char *) "path", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 arg1
= wxString_in_helper(obj0
);
6115 if (arg1
== NULL
) SWIG_fail
;
6120 arg2
= wxString_in_helper(obj1
);
6121 if (arg2
== NULL
) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6155 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxSingleInstanceChecker
*result
;
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6177 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6180 PyObject
* obj0
= 0 ;
6182 (char *) "self", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 Py_INCREF(Py_None
); resultobj
= Py_None
;
6202 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6205 wxString
*arg2
= 0 ;
6206 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6209 bool temp2
= False
;
6210 bool temp3
= False
;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6215 (char *) "self",(char *) "name",(char *) "path", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 arg2
= wxString_in_helper(obj1
);
6223 if (arg2
== NULL
) SWIG_fail
;
6228 arg3
= wxString_in_helper(obj2
);
6229 if (arg3
== NULL
) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6265 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6271 (char *) "self", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6293 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6296 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6298 return Py_BuildValue((char *)"");
6300 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxWindow
*arg1
= (wxWindow
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 PyObject
* obj2
= 0 ;
6309 (char *) "window",(char *) "dc",(char *) "method", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6319 PyErr_SetString(PyExc_TypeError
,"null reference");
6322 arg3
= (int) SWIG_AsInt(obj2
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 Py_INCREF(Py_None
); resultobj
= Py_None
;
6338 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (arg1
)->GetTip();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6395 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "self", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (size_t)(arg1
)->GetCurrentTip();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6421 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6424 wxString
*arg2
= 0 ;
6426 bool temp2
= False
;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "self",(char *) "tip", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 arg2
= wxString_in_helper(obj1
);
6438 if (arg2
== NULL
) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6469 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6472 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6474 return Py_BuildValue((char *)"");
6476 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6479 wxPyTipProvider
*result
;
6480 PyObject
* obj0
= 0 ;
6482 (char *) "currentTip", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6486 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6502 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6505 PyObject
*arg2
= (PyObject
*) 0 ;
6506 PyObject
*arg3
= (PyObject
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6509 PyObject
* obj2
= 0 ;
6511 (char *) "self",(char *) "self",(char *) "_class", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6536 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6538 return Py_BuildValue((char *)"");
6540 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxWindow
*arg1
= (wxWindow
*) 0 ;
6543 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6544 bool arg3
= (bool) True
;
6546 PyObject
* obj0
= 0 ;
6547 PyObject
* obj1
= 0 ;
6548 PyObject
* obj2
= 0 ;
6550 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6559 arg3
= (bool) SWIG_AsBool(obj2
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 if (!wxPyCheckForApp()) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxString
*arg1
= 0 ;
6583 wxTipProvider
*result
;
6584 bool temp1
= False
;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6588 (char *) "filename",(char *) "currentTip", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6593 arg1
= wxString_in_helper(obj0
);
6594 if (arg1
== NULL
) SWIG_fail
;
6597 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 if (!wxPyCheckForApp()) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6622 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6625 int arg2
= (int) -1 ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "owner",(char *) "id", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6639 arg2
= (int) SWIG_AsInt(obj1
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 if (!wxPyCheckForApp()) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6657 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6682 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6685 PyObject
*arg2
= (PyObject
*) 0 ;
6686 PyObject
*arg3
= (PyObject
*) 0 ;
6687 int arg4
= (int) 1 ;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6690 PyObject
* obj2
= 0 ;
6691 PyObject
* obj3
= 0 ;
6693 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 arg4
= (int) SWIG_AsInt(obj3
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 Py_INCREF(Py_None
); resultobj
= Py_None
;
6719 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6722 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6723 int arg3
= (int) -1 ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6726 PyObject
* obj2
= 0 ;
6728 (char *) "self",(char *) "owner",(char *) "id", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 arg3
= (int) SWIG_AsInt(obj2
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 (arg1
)->SetOwner(arg2
,arg3
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 Py_INCREF(Py_None
); resultobj
= Py_None
;
6754 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6757 wxEvtHandler
*result
;
6758 PyObject
* obj0
= 0 ;
6760 (char *) "self", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= wxPyMake_wxObject(result
, 0);
6782 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6785 int arg2
= (int) -1 ;
6786 bool arg3
= (bool) False
;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6792 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6799 arg2
= (int) SWIG_AsInt(obj1
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 arg3
= (bool) SWIG_AsBool(obj2
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6822 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6827 (char *) "self", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6853 (char *) "self", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6875 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6881 (char *) "self", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_FromInt((int)result
);
6901 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
*resultobj
;
6903 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6905 PyObject
* obj0
= 0 ;
6907 (char *) "self", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6929 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 (char *) "self", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_FromInt((int)result
);
6955 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6958 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6960 return Py_BuildValue((char *)"");
6962 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 int arg1
= (int) 0 ;
6965 int arg2
= (int) 0 ;
6966 wxTimerEvent
*result
;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6970 (char *) "timerid",(char *) "interval", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 arg1
= (int) SWIG_AsInt(obj0
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 arg2
= (int) SWIG_AsInt(obj1
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6996 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7002 (char *) "self", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_FromInt((int)result
);
7022 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7025 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7027 return Py_BuildValue((char *)"");
7029 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
7030 PyObject
*resultobj
;
7032 wxTimerRunner
*result
;
7033 PyObject
* obj0
= 0 ;
7035 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7040 PyErr_SetString(PyExc_TypeError
,"null reference");
7044 if (!wxPyCheckForApp()) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7058 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
7059 PyObject
*resultobj
;
7062 bool arg3
= (bool) False
;
7063 wxTimerRunner
*result
;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 PyObject
* obj2
= 0 ;
7068 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7073 PyErr_SetString(PyExc_TypeError
,"null reference");
7076 arg2
= (int) SWIG_AsInt(obj1
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 arg3
= (bool) SWIG_AsBool(obj2
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 if (!wxPyCheckForApp()) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7097 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7102 argc
= PyObject_Length(args
);
7103 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7104 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7110 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7118 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7121 if ((argc
>= 2) && (argc
<= 3)) {
7125 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7133 _v
= SWIG_CheckInt(argv
[1]);
7136 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7138 _v
= SWIG_CheckBool(argv
[2]);
7140 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7146 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7151 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "self", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7176 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7180 bool arg3
= (bool) False
;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7183 PyObject
* obj2
= 0 ;
7185 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 arg2
= (int) SWIG_AsInt(obj1
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 arg3
= (bool) SWIG_AsBool(obj2
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 (arg1
)->Start(arg2
,arg3
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 Py_INCREF(Py_None
); resultobj
= Py_None
;
7211 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7214 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7216 return Py_BuildValue((char *)"");
7218 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (wxLog
*)new wxLog();
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7240 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= (bool)wxLog::IsEnabled();
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7264 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 bool arg1
= (bool) True
;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "doIt", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7275 arg1
= (bool) SWIG_AsBool(obj0
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (bool)wxLog::EnableLogging(arg1
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7294 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7297 wxChar
*arg2
= (wxChar
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 PyObject
* obj2
= 0 ;
7303 (char *) "level",(char *) "szString",(char *) "t", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7307 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 Py_INCREF(Py_None
); resultobj
= Py_None
;
7327 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxLog
*arg1
= (wxLog
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7332 (char *) "self", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 wxLog::FlushActive();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 Py_INCREF(Py_None
); resultobj
= Py_None
;
7373 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (wxLog
*)wxLog::GetActiveTarget();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7395 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxLog
*arg1
= (wxLog
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "pLogger", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7421 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 Py_INCREF(Py_None
); resultobj
= Py_None
;
7442 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 bool arg1
= (bool) True
;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "bVerbose", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7473 arg1
= (bool) SWIG_AsBool(obj0
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 wxLog::SetVerbose(arg1
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 Py_INCREF(Py_None
); resultobj
= Py_None
;
7490 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7493 PyObject
* obj0
= 0 ;
7495 (char *) "logLevel", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7499 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 wxLog::SetLogLevel(arg1
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7515 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 wxLog::DontCreateOnDemand();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 Py_INCREF(Py_None
); resultobj
= Py_None
;
7536 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "ulMask", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7545 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 wxLog::SetTraceMask(arg1
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxString
*arg1
= 0 ;
7564 bool temp1
= False
;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "str", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7572 arg1
= wxString_in_helper(obj0
);
7573 if (arg1
== NULL
) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxLog::AddTraceMask((wxString
const &)*arg1
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxString
*arg1
= 0 ;
7601 bool temp1
= False
;
7602 PyObject
* obj0
= 0 ;
7604 (char *) "str", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7609 arg1
= wxString_in_helper(obj0
);
7610 if (arg1
== NULL
) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7635 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 wxLog::ClearTraceMasks();
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7656 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxArrayString
*result
;
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7668 result
= (wxArrayString
*) &_result_ref
;
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= wxArrayString2PyList_helper(*result
);
7683 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxChar
*arg1
= (wxChar
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 wxLog::SetTimestamp((wxChar
const *)arg1
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7708 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (bool)wxLog::GetVerbose();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7732 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (wxTraceMask
)wxLog::GetTraceMask();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7754 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
;
7756 wxChar
*arg1
= (wxChar
*) 0 ;
7758 PyObject
* obj0
= 0 ;
7760 (char *) "mask", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7782 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (wxLogLevel
)wxLog::GetLogLevel();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7804 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (wxChar
*)wxLog::GetTimestamp();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7826 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= Log_TimeStamp();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7854 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxLog
*arg1
= (wxLog
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7859 (char *) "self", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 wxLog_Destroy(arg1
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 Py_INCREF(Py_None
); resultobj
= Py_None
;
7879 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7882 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7884 return Py_BuildValue((char *)"");
7886 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxLogStderr
*result
;
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxLogStderr
*)new wxLogStderr();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7908 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7911 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7913 return Py_BuildValue((char *)"");
7915 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7918 wxLogTextCtrl
*result
;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "pTextCtrl", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7941 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7944 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7946 return Py_BuildValue((char *)"");
7948 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (wxLogGui
*)new wxLogGui();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7970 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7973 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7975 return Py_BuildValue((char *)"");
7977 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxFrame
*arg1
= (wxFrame
*) 0 ;
7980 wxString
*arg2
= 0 ;
7981 bool arg3
= (bool) True
;
7982 bool arg4
= (bool) True
;
7983 wxLogWindow
*result
;
7984 bool temp2
= False
;
7985 PyObject
* obj0
= 0 ;
7986 PyObject
* obj1
= 0 ;
7987 PyObject
* obj2
= 0 ;
7988 PyObject
* obj3
= 0 ;
7990 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 arg2
= wxString_in_helper(obj1
);
7998 if (arg2
== NULL
) SWIG_fail
;
8002 arg3
= (bool) SWIG_AsBool(obj2
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8006 arg4
= (bool) SWIG_AsBool(obj3
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8031 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8034 bool arg2
= (bool) True
;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8038 (char *) "self",(char *) "bShow", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 arg2
= (bool) SWIG_AsBool(obj1
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 Py_INCREF(Py_None
); resultobj
= Py_None
;
8062 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= wxPyMake_wxObject(result
, 0);
8090 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8094 PyObject
* obj0
= 0 ;
8096 (char *) "self", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8116 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8120 PyObject
* obj0
= 0 ;
8122 (char *) "self", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8144 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8151 (char *) "self",(char *) "bDoPass", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8157 arg2
= (bool) SWIG_AsBool(obj1
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->PassMessages(arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8176 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8178 return Py_BuildValue((char *)"");
8180 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxLog
*arg1
= (wxLog
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "logger", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (wxLogChain
*)new wxLogChain(arg1
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8206 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8209 wxLog
*arg2
= (wxLog
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8213 (char *) "self",(char *) "logger", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 (arg1
)->SetLog(arg2
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 Py_INCREF(Py_None
); resultobj
= Py_None
;
8235 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8242 (char *) "self",(char *) "bDoPass", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 arg2
= (bool) SWIG_AsBool(obj1
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 (arg1
)->PassMessages(arg2
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8264 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)(arg1
)->IsPassingMessages();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8292 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (wxLog
*)(arg1
)->GetOldLog();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8318 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8321 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8323 return Py_BuildValue((char *)"");
8325 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 unsigned long result
;
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (unsigned long)wxSysErrorCode();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8347 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 unsigned long arg1
= (unsigned long) 0 ;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "nErrCode", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8358 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= wxSysErrorMsg(arg1
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8381 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxString
*arg1
= 0 ;
8384 bool temp1
= False
;
8385 PyObject
* obj0
= 0 ;
8387 (char *) "msg", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8392 arg1
= wxString_in_helper(obj0
);
8393 if (arg1
== NULL
) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 wxLogFatalError((wxString
const &)*arg1
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxString
*arg1
= 0 ;
8421 bool temp1
= False
;
8422 PyObject
* obj0
= 0 ;
8424 (char *) "msg", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8429 arg1
= wxString_in_helper(obj0
);
8430 if (arg1
== NULL
) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 wxLogError((wxString
const &)*arg1
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxString
*arg1
= 0 ;
8458 bool temp1
= False
;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "msg", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8466 arg1
= wxString_in_helper(obj0
);
8467 if (arg1
== NULL
) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 wxLogWarning((wxString
const &)*arg1
);
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 Py_INCREF(Py_None
); resultobj
= Py_None
;
8492 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxString
*arg1
= 0 ;
8495 bool temp1
= False
;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "msg", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8503 arg1
= wxString_in_helper(obj0
);
8504 if (arg1
== NULL
) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 wxLogMessage((wxString
const &)*arg1
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxString
*arg1
= 0 ;
8532 bool temp1
= False
;
8533 PyObject
* obj0
= 0 ;
8535 (char *) "msg", NULL
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8540 arg1
= wxString_in_helper(obj0
);
8541 if (arg1
== NULL
) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxLogInfo((wxString
const &)*arg1
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 Py_INCREF(Py_None
); resultobj
= Py_None
;
8566 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxString
*arg1
= 0 ;
8569 bool temp1
= False
;
8570 PyObject
* obj0
= 0 ;
8572 (char *) "msg", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8577 arg1
= wxString_in_helper(obj0
);
8578 if (arg1
== NULL
) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 wxLogDebug((wxString
const &)*arg1
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 Py_INCREF(Py_None
); resultobj
= Py_None
;
8603 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxString
*arg1
= 0 ;
8606 bool temp1
= False
;
8607 PyObject
* obj0
= 0 ;
8609 (char *) "msg", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8614 arg1
= wxString_in_helper(obj0
);
8615 if (arg1
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxLogVerbose((wxString
const &)*arg1
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxString
*arg1
= 0 ;
8643 bool temp1
= False
;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "msg", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8651 arg1
= wxString_in_helper(obj0
);
8652 if (arg1
== NULL
) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxLogStatus((wxString
const &)*arg1
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxFrame
*arg1
= (wxFrame
*) 0 ;
8680 wxString
*arg2
= 0 ;
8681 bool temp2
= False
;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8685 (char *) "pFrame",(char *) "msg", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 arg2
= wxString_in_helper(obj1
);
8693 if (arg2
== NULL
) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxString
*arg1
= 0 ;
8721 bool temp1
= False
;
8722 PyObject
* obj0
= 0 ;
8724 (char *) "msg", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8729 arg1
= wxString_in_helper(obj0
);
8730 if (arg1
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxLogSysError((wxString
const &)*arg1
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8756 PyObject
*resultobj
;
8757 unsigned long arg1
;
8758 wxString
*arg2
= 0 ;
8759 bool temp2
= False
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8764 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 arg2
= wxString_in_helper(obj1
);
8768 if (arg2
== NULL
) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8794 PyObject
*resultobj
;
8795 wxString
*arg1
= 0 ;
8796 wxString
*arg2
= 0 ;
8797 bool temp1
= False
;
8798 bool temp2
= False
;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8802 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8804 arg1
= wxString_in_helper(obj0
);
8805 if (arg1
== NULL
) SWIG_fail
;
8809 arg2
= wxString_in_helper(obj1
);
8810 if (arg2
== NULL
) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8843 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8848 argc
= PyObject_Length(args
);
8849 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8850 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8855 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8859 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8862 return _wrap_LogTrace__SWIG_1(self
,args
);
8868 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8871 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8874 return _wrap_LogTrace__SWIG_0(self
,args
);
8879 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8884 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 unsigned long arg1
;
8887 wxString
*arg2
= 0 ;
8888 bool temp2
= False
;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8892 (char *) "level",(char *) "msg", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8896 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 arg2
= wxString_in_helper(obj1
);
8900 if (arg2
== NULL
) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 Py_INCREF(Py_None
); resultobj
= Py_None
;
8925 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxString
*arg1
= 0 ;
8928 wxString
*arg2
= 0 ;
8929 bool temp1
= False
;
8930 bool temp2
= False
;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8934 (char *) "title",(char *) "text", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8939 arg1
= wxString_in_helper(obj0
);
8940 if (arg1
== NULL
) SWIG_fail
;
8944 arg2
= wxString_in_helper(obj1
);
8945 if (arg2
== NULL
) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (wxLogNull
*)new wxLogNull();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9000 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
9027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9028 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9030 return Py_BuildValue((char *)"");
9032 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (wxPyLog
*)new wxPyLog();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9054 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9057 PyObject
*arg2
= (PyObject
*) 0 ;
9058 PyObject
*arg3
= (PyObject
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9063 (char *) "self",(char *) "self",(char *) "_class", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 Py_INCREF(Py_None
); resultobj
= Py_None
;
9085 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
9087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9088 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9090 return Py_BuildValue((char *)"");
9092 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9095 int arg2
= (int) wxSIGTERM
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9100 (char *) "pid",(char *) "sig", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9104 arg1
= (int) SWIG_AsInt(obj0
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_FromInt((int)result
);
9124 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "pid", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9134 arg1
= (int) SWIG_AsInt(obj0
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (bool)wxPyProcess::Exists(arg1
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9152 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxString
*arg1
= 0 ;
9155 int arg2
= (int) wxEXEC_ASYNC
;
9156 wxPyProcess
*result
;
9157 bool temp1
= False
;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9161 (char *) "cmd",(char *) "flags", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9166 arg1
= wxString_in_helper(obj0
);
9167 if (arg1
== NULL
) SWIG_fail
;
9171 arg2
= (int) SWIG_AsInt(obj1
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9196 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9199 int arg2
= (int) -1 ;
9200 wxPyProcess
*result
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "parent",(char *) "id", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 arg2
= (int) SWIG_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9230 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9233 PyObject
*arg2
= (PyObject
*) 0 ;
9234 PyObject
*arg3
= (PyObject
*) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 PyObject
* obj2
= 0 ;
9239 (char *) "self",(char *) "self",(char *) "_class", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9261 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9268 PyObject
* obj2
= 0 ;
9270 (char *) "self",(char *) "pid",(char *) "status", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 arg2
= (int) SWIG_AsInt(obj1
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9278 arg3
= (int) SWIG_AsInt(obj2
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 (arg1
)->base_OnTerminate(arg2
,arg3
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 Py_INCREF(Py_None
); resultobj
= Py_None
;
9294 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9296 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 Py_INCREF(Py_None
); resultobj
= Py_None
;
9319 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (bool)(arg1
)->IsRedirected();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9347 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9375 wxInputStream
*result
;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "self", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9392 wxPyInputStream
* _ptr
= NULL
;
9395 _ptr
= new wxPyInputStream(result
);
9397 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9405 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9408 wxInputStream
*result
;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 wxPyInputStream
* _ptr
= NULL
;
9428 _ptr
= new wxPyInputStream(result
);
9430 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9438 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9441 wxOutputStream
*result
;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9464 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 (arg1
)->CloseOutput();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9495 (char *) "self", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9517 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9545 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9573 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9578 return Py_BuildValue((char *)"");
9580 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 int arg1
= (int) 0 ;
9583 int arg2
= (int) 0 ;
9584 int arg3
= (int) 0 ;
9585 wxProcessEvent
*result
;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9588 PyObject
* obj2
= 0 ;
9590 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9595 arg1
= (int) SWIG_AsInt(obj0
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 arg2
= (int) SWIG_AsInt(obj1
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9603 arg3
= (int) SWIG_AsInt(obj2
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9620 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (int)(arg1
)->GetPid();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_FromInt((int)result
);
9646 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (int)(arg1
)->GetExitCode();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_FromInt((int)result
);
9672 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9679 (char *) "self",(char *) "m_pid", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 arg2
= (int) SWIG_AsInt(obj1
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9687 if (arg1
) (arg1
)->m_pid
= arg2
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9696 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9702 (char *) "self", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 result
= (int) ((arg1
)->m_pid
);
9710 resultobj
= SWIG_FromInt((int)result
);
9717 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9724 (char *) "self",(char *) "m_exitcode", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9730 arg2
= (int) SWIG_AsInt(obj1
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9732 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9734 Py_INCREF(Py_None
); resultobj
= Py_None
;
9741 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9753 result
= (int) ((arg1
)->m_exitcode
);
9755 resultobj
= SWIG_FromInt((int)result
);
9762 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9765 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9767 return Py_BuildValue((char *)"");
9769 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxString
*arg1
= 0 ;
9772 int arg2
= (int) wxEXEC_ASYNC
;
9773 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9775 bool temp1
= False
;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 PyObject
* obj2
= 0 ;
9780 (char *) "command",(char *) "flags",(char *) "process", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9785 arg1
= wxString_in_helper(obj0
);
9786 if (arg1
== NULL
) SWIG_fail
;
9790 arg2
= (int) SWIG_AsInt(obj1
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 if (!wxPyCheckForApp()) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_FromLong((long)result
);
9820 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 int arg1
= (int) wxJOYSTICK1
;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "joystick", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9831 arg1
= (int) SWIG_AsInt(obj0
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 if (!wxPyCheckForApp()) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (wxJoystick
*)new wxJoystick(arg1
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9849 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 Py_INCREF(Py_None
); resultobj
= Py_None
;
9874 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (arg1
)->GetPosition();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 wxPoint
* resultptr
;
9895 resultptr
= new wxPoint((wxPoint
&) result
);
9896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9904 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (int)(arg1
)->GetZPosition();
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_FromInt((int)result
);
9930 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (int)(arg1
)->GetButtonState();
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_FromInt((int)result
);
9956 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (int)(arg1
)->GetPOVPosition();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_FromInt((int)result
);
9982 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "self", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (int)(arg1
)->GetPOVCTSPosition();
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_FromInt((int)result
);
10008 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (int)(arg1
)->GetRudderPosition();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= SWIG_FromInt((int)result
);
10034 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (int)(arg1
)->GetUPosition();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_FromInt((int)result
);
10060 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (int)(arg1
)->GetVPosition();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_FromInt((int)result
);
10086 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (int)(arg1
)->GetMovementThreshold();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_FromInt((int)result
);
10112 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self",(char *) "threshold", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10125 arg2
= (int) SWIG_AsInt(obj1
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->SetMovementThreshold(arg2
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 Py_INCREF(Py_None
); resultobj
= Py_None
;
10141 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (bool)(arg1
)->IsOk();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10169 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (int)(arg1
)->GetNumberJoysticks();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_FromInt((int)result
);
10195 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "self", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (int)(arg1
)->GetManufacturerId();
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_FromInt((int)result
);
10221 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (int)(arg1
)->GetProductId();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_FromInt((int)result
);
10247 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (arg1
)->GetProductName();
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10279 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (int)(arg1
)->GetXMin();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_FromInt((int)result
);
10305 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (int)(arg1
)->GetYMin();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_FromInt((int)result
);
10331 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (int)(arg1
)->GetZMin();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_FromInt((int)result
);
10357 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (int)(arg1
)->GetXMax();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_FromInt((int)result
);
10383 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (int)(arg1
)->GetYMax();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_FromInt((int)result
);
10409 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= (int)(arg1
)->GetZMax();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_FromInt((int)result
);
10435 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10439 PyObject
* obj0
= 0 ;
10440 char *kwnames
[] = {
10441 (char *) "self", NULL
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (int)(arg1
)->GetNumberButtons();
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= SWIG_FromInt((int)result
);
10461 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (int)(arg1
)->GetNumberAxes();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_FromInt((int)result
);
10487 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (int)(arg1
)->GetMaxButtons();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_FromInt((int)result
);
10513 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (int)(arg1
)->GetMaxAxes();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_FromInt((int)result
);
10539 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (int)(arg1
)->GetPollingMin();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_FromInt((int)result
);
10565 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (int)(arg1
)->GetPollingMax();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_FromInt((int)result
);
10591 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (int)(arg1
)->GetRudderMin();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_FromInt((int)result
);
10617 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (int)(arg1
)->GetRudderMax();
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_FromInt((int)result
);
10643 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (int)(arg1
)->GetUMin();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_FromInt((int)result
);
10669 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 result
= (int)(arg1
)->GetUMax();
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 resultobj
= SWIG_FromInt((int)result
);
10695 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (int)(arg1
)->GetVMin();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_FromInt((int)result
);
10721 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (int)(arg1
)->GetVMax();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_FromInt((int)result
);
10747 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (bool)(arg1
)->HasRudder();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10775 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (bool)(arg1
)->HasZ();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10803 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (bool)(arg1
)->HasU();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10831 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (bool)(arg1
)->HasV();
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10859 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)(arg1
)->HasPOV();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (bool)(arg1
)->HasPOV4Dir();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10915 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= (bool)(arg1
)->HasPOVCTS();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10946 wxWindow
*arg2
= (wxWindow
*) 0 ;
10947 int arg3
= (int) 0 ;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 PyObject
* obj2
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg3
= (int) SWIG_AsInt(obj2
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)(arg1
)->ReleaseCapture();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
11011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11012 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11014 return Py_BuildValue((char *)"");
11016 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11019 wxPoint
*arg2
= (wxPoint
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self",(char *) "m_pos", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11031 if (arg1
) (arg1
)->m_pos
= *arg2
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11061 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self",(char *) "m_zPosition", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11074 arg2
= (int) SWIG_AsInt(obj1
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11076 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11078 Py_INCREF(Py_None
); resultobj
= Py_None
;
11085 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 result
= (int) ((arg1
)->m_zPosition
);
11099 resultobj
= SWIG_FromInt((int)result
);
11106 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "m_buttonChange", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 arg2
= (int) SWIG_AsInt(obj1
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11121 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11123 Py_INCREF(Py_None
); resultobj
= Py_None
;
11130 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 result
= (int) ((arg1
)->m_buttonChange
);
11144 resultobj
= SWIG_FromInt((int)result
);
11151 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "m_buttonState", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 arg2
= (int) SWIG_AsInt(obj1
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11166 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11187 result
= (int) ((arg1
)->m_buttonState
);
11189 resultobj
= SWIG_FromInt((int)result
);
11196 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "m_joyStick", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 arg2
= (int) SWIG_AsInt(obj1
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11211 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 result
= (int) ((arg1
)->m_joyStick
);
11234 resultobj
= SWIG_FromInt((int)result
);
11241 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11244 int arg2
= (int) 0 ;
11245 int arg3
= (int) wxJOYSTICK1
;
11246 int arg4
= (int) 0 ;
11247 wxJoystickEvent
*result
;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 PyObject
* obj2
= 0 ;
11251 PyObject
* obj3
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11258 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11262 arg2
= (int) SWIG_AsInt(obj1
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11266 arg3
= (int) SWIG_AsInt(obj2
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 arg4
= (int) SWIG_AsInt(obj3
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11287 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11307 wxPoint
* resultptr
;
11308 resultptr
= new wxPoint((wxPoint
&) result
);
11309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11317 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11321 PyObject
* obj0
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_FromInt((int)result
);
11343 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_FromInt((int)result
);
11369 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= SWIG_FromInt((int)result
);
11395 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_FromInt((int)result
);
11421 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "stick", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 arg2
= (int) SWIG_AsInt(obj1
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->SetJoystick(arg2
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "state", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 arg2
= (int) SWIG_AsInt(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->SetButtonState(arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "change", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= (int) SWIG_AsInt(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 (arg1
)->SetButtonChange(arg2
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 Py_INCREF(Py_None
); resultobj
= Py_None
;
11508 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11511 wxPoint
*arg2
= 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "pos", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "zPos", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 arg2
= (int) SWIG_AsInt(obj1
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 (arg1
)->SetZPosition(arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 Py_INCREF(Py_None
); resultobj
= Py_None
;
11569 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11625 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11653 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11656 int arg2
= (int) wxJOY_BUTTON_ANY
;
11658 PyObject
* obj0
= 0 ;
11659 PyObject
* obj1
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self",(char *) "but", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11668 arg2
= (int) SWIG_AsInt(obj1
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11687 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11690 int arg2
= (int) wxJOY_BUTTON_ANY
;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "but", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11702 arg2
= (int) SWIG_AsInt(obj1
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11721 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11724 int arg2
= (int) wxJOY_BUTTON_ANY
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "but", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 arg2
= (int) SWIG_AsInt(obj1
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11755 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11758 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11760 return Py_BuildValue((char *)"");
11762 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
;
11764 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11765 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11767 bool temp1
= False
;
11768 PyObject
* obj0
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "fileName", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11776 arg1
= wxString_in_helper(obj0
);
11777 if (arg1
== NULL
) SWIG_fail
;
11782 if (!wxPyCheckForApp()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11804 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 PyObject
*arg1
= (PyObject
*) 0 ;
11808 PyObject
* obj0
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "data", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11816 if (!wxPyCheckForApp()) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxSound
*)new_wxSound(arg1
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11830 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxSound
*arg1
= (wxSound
*) 0 ;
11833 PyObject
* obj0
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxSound
*arg1
= (wxSound
*) 0 ;
11858 wxString
*arg2
= 0 ;
11860 bool temp2
= False
;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "fileName", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 arg2
= wxString_in_helper(obj1
);
11872 if (arg2
== NULL
) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11899 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxSound
*arg1
= (wxSound
*) 0 ;
11902 PyObject
*arg2
= (PyObject
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self",(char *) "data", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxSound
*arg1
= (wxSound
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (bool)(arg1
)->IsOk();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11958 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxSound
*arg1
= (wxSound
*) 0 ;
11961 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self",(char *) "flags", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11973 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11977 if (!wxPyCheckForApp()) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11993 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxString
*arg1
= 0 ;
11996 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11998 bool temp1
= False
;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "filename",(char *) "flags", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12007 arg1
= wxString_in_helper(obj0
);
12008 if (arg1
== NULL
) SWIG_fail
;
12012 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12016 if (!wxPyCheckForApp()) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12040 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 char *kwnames
[] = {
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12048 if (!wxPyCheckForApp()) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 Py_INCREF(Py_None
); resultobj
= Py_None
;
12062 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
12064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12065 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12067 return Py_BuildValue((char *)"");
12069 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxString
*arg1
= 0 ;
12072 wxString
*arg2
= 0 ;
12073 wxString
*arg3
= 0 ;
12074 wxString
*arg4
= 0 ;
12075 wxFileTypeInfo
*result
;
12076 bool temp1
= False
;
12077 bool temp2
= False
;
12078 bool temp3
= False
;
12079 bool temp4
= False
;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 PyObject
* obj2
= 0 ;
12083 PyObject
* obj3
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12090 arg1
= wxString_in_helper(obj0
);
12091 if (arg1
== NULL
) SWIG_fail
;
12095 arg2
= wxString_in_helper(obj1
);
12096 if (arg2
== NULL
) SWIG_fail
;
12100 arg3
= wxString_in_helper(obj2
);
12101 if (arg3
== NULL
) SWIG_fail
;
12105 arg4
= wxString_in_helper(obj3
);
12106 if (arg4
== NULL
) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12155 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxArrayString
*arg1
= 0 ;
12158 wxFileTypeInfo
*result
;
12159 bool temp1
= False
;
12160 PyObject
* obj0
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "sArray", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12167 if (! PySequence_Check(obj0
)) {
12168 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12171 arg1
= new wxArrayString
;
12173 int i
, len
=PySequence_Length(obj0
);
12174 for (i
=0; i
<len
; i
++) {
12175 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12177 PyObject
* str
= PyObject_Unicode(item
);
12179 PyObject
* str
= PyObject_Str(item
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12182 arg1
->Add(Py2wxString(str
));
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12196 if (temp1
) delete arg1
;
12201 if (temp1
) delete arg1
;
12207 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxFileTypeInfo
*result
;
12210 char *kwnames
[] = {
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12229 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12257 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12260 wxString
*arg2
= 0 ;
12261 int arg3
= (int) 0 ;
12262 bool temp2
= False
;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 PyObject
* obj2
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 arg2
= wxString_in_helper(obj1
);
12275 if (arg2
== NULL
) SWIG_fail
;
12279 arg3
= (int) SWIG_AsInt(obj2
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12304 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12307 wxString
*arg2
= 0 ;
12308 bool temp2
= False
;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self",(char *) "shortDesc", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12319 arg2
= wxString_in_helper(obj1
);
12320 if (arg2
== NULL
) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12361 result
= (wxString
*) &_result_ref
;
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12380 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12396 result
= (wxString
*) &_result_ref
;
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12415 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12431 result
= (wxString
*) &_result_ref
;
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12441 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12450 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12466 result
= (wxString
*) &_result_ref
;
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12476 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12485 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12501 result
= (wxString
*) &_result_ref
;
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12511 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12520 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12523 wxArrayString
*result
;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12536 result
= (wxArrayString
*) &_result_ref
;
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= wxArrayString2PyList_helper(*result
);
12551 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_FromInt((int)result
);
12577 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12593 result
= (wxString
*) &_result_ref
;
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12603 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12612 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_FromInt((int)result
);
12638 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12641 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12643 return Py_BuildValue((char *)"");
12645 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxFileTypeInfo
*arg1
= 0 ;
12648 wxFileType
*result
;
12649 PyObject
* obj0
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "ftInfo", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12658 if (arg1
== NULL
) {
12659 PyErr_SetString(PyExc_TypeError
,"null reference");
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12676 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxFileType
*arg1
= (wxFileType
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 Py_INCREF(Py_None
); resultobj
= Py_None
;
12701 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxFileType
*arg1
= (wxFileType
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= result
;
12727 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxFileType
*arg1
= (wxFileType
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
;
12753 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxFileType
*arg1
= (wxFileType
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= result
;
12779 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxFileType
*arg1
= (wxFileType
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12805 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxFileType
*arg1
= (wxFileType
*) 0 ;
12809 PyObject
* obj0
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= result
;
12831 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxFileType
*arg1
= (wxFileType
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
;
12857 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxFileType
*arg1
= (wxFileType
*) 0 ;
12860 wxString
*arg2
= 0 ;
12861 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12862 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12864 bool temp2
= False
;
12865 bool temp3
= False
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 arg2
= wxString_in_helper(obj1
);
12878 if (arg2
== NULL
) SWIG_fail
;
12883 arg3
= wxString_in_helper(obj2
);
12884 if (arg3
== NULL
) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= result
;
12918 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxFileType
*arg1
= (wxFileType
*) 0 ;
12921 wxString
*arg2
= 0 ;
12922 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12925 bool temp2
= False
;
12926 bool temp3
= False
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12938 arg2
= wxString_in_helper(obj1
);
12939 if (arg2
== NULL
) SWIG_fail
;
12944 arg3
= wxString_in_helper(obj2
);
12945 if (arg3
== NULL
) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= result
;
12979 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxFileType
*arg1
= (wxFileType
*) 0 ;
12982 wxString
*arg2
= 0 ;
12983 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12984 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12986 bool temp2
= False
;
12987 bool temp3
= False
;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 PyObject
* obj2
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 arg2
= wxString_in_helper(obj1
);
13000 if (arg2
== NULL
) SWIG_fail
;
13005 arg3
= wxString_in_helper(obj2
);
13006 if (arg3
== NULL
) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= result
;
13040 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxFileType
*arg1
= (wxFileType
*) 0 ;
13043 wxString
*arg2
= 0 ;
13044 wxString
*arg3
= 0 ;
13045 bool arg4
= (bool) True
;
13047 bool temp2
= False
;
13048 bool temp3
= False
;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 PyObject
* obj2
= 0 ;
13052 PyObject
* obj3
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13061 arg2
= wxString_in_helper(obj1
);
13062 if (arg2
== NULL
) SWIG_fail
;
13066 arg3
= wxString_in_helper(obj2
);
13067 if (arg3
== NULL
) SWIG_fail
;
13071 arg4
= (bool) SWIG_AsBool(obj3
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13106 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxFileType
*arg1
= (wxFileType
*) 0 ;
13109 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13110 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13111 int arg3
= (int) 0 ;
13113 bool temp2
= False
;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 PyObject
* obj2
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "cmd",(char *) "index", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 arg2
= wxString_in_helper(obj1
);
13127 if (arg2
== NULL
) SWIG_fail
;
13132 arg3
= (int) SWIG_AsInt(obj2
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13159 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxFileType
*arg1
= (wxFileType
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)(arg1
)->Unassociate();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13187 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxString
*arg1
= 0 ;
13190 wxString
*arg2
= 0 ;
13191 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13194 bool temp1
= False
;
13195 bool temp2
= False
;
13196 bool temp3
= False
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13206 arg1
= wxString_in_helper(obj0
);
13207 if (arg1
== NULL
) SWIG_fail
;
13211 arg2
= wxString_in_helper(obj1
);
13212 if (arg2
== NULL
) SWIG_fail
;
13217 arg3
= wxString_in_helper(obj2
);
13218 if (arg3
== NULL
) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13266 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13269 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13271 return Py_BuildValue((char *)"");
13273 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13274 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13279 static PyObject
*_wrap_TheMimeTypesManager_get() {
13282 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13287 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxString
*arg1
= 0 ;
13290 wxString
*arg2
= 0 ;
13292 bool temp1
= False
;
13293 bool temp2
= False
;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "mimeType",(char *) "wildcard", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13302 arg1
= wxString_in_helper(obj0
);
13303 if (arg1
== NULL
) SWIG_fail
;
13307 arg2
= wxString_in_helper(obj1
);
13308 if (arg2
== NULL
) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13343 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxMimeTypesManager
*result
;
13346 char *kwnames
[] = {
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13365 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13368 int arg2
= (int) wxMAILCAP_ALL
;
13369 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13370 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13371 bool temp3
= False
;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 PyObject
* obj2
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 arg2
= (int) SWIG_AsInt(obj1
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13388 arg3
= wxString_in_helper(obj2
);
13389 if (arg3
== NULL
) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 Py_INCREF(Py_None
); resultobj
= Py_None
;
13415 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->ClearData();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13443 wxString
*arg2
= 0 ;
13444 wxFileType
*result
;
13445 bool temp2
= False
;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "ext", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= wxString_in_helper(obj1
);
13457 if (arg2
== NULL
) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13482 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13485 wxString
*arg2
= 0 ;
13486 wxFileType
*result
;
13487 bool temp2
= False
;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "mimeType", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 arg2
= wxString_in_helper(obj1
);
13499 if (arg2
== NULL
) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13524 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13527 wxString
*arg2
= 0 ;
13528 bool arg3
= (bool) False
;
13530 bool temp2
= False
;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 PyObject
* obj2
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13542 arg2
= wxString_in_helper(obj1
);
13543 if (arg2
== NULL
) SWIG_fail
;
13547 arg3
= (bool) SWIG_AsBool(obj2
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13574 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13577 wxString
*arg2
= 0 ;
13579 bool temp2
= False
;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self",(char *) "filename", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 arg2
= wxString_in_helper(obj1
);
13591 if (arg2
== NULL
) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= result
;
13644 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13647 wxFileTypeInfo
*arg2
= 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "ft", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13660 if (arg2
== NULL
) {
13661 PyErr_SetString(PyExc_TypeError
,"null reference");
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13681 wxFileTypeInfo
*arg2
= 0 ;
13682 wxFileType
*result
;
13683 PyObject
* obj0
= 0 ;
13684 PyObject
* obj1
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "ftInfo", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13695 if (arg2
== NULL
) {
13696 PyErr_SetString(PyExc_TypeError
,"null reference");
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13713 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13716 wxFileType
*arg2
= (wxFileType
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "ft", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= (bool)(arg1
)->Unassociate(arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13745 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
;
13747 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 Py_INCREF(Py_None
); resultobj
= Py_None
;
13770 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13773 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13775 return Py_BuildValue((char *)"");
13777 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13778 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13783 static PyObject
*_wrap_ART_TOOLBAR_get() {
13788 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13790 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13797 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13798 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13803 static PyObject
*_wrap_ART_MENU_get() {
13808 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13810 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13817 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13818 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13823 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13828 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13830 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13837 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13838 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13843 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13848 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13850 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13857 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13858 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13863 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13868 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13870 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13877 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13878 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13883 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13888 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13890 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13897 static int _wrap_ART_BUTTON_set(PyObject
*_val
) {
13898 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
13903 static PyObject
*_wrap_ART_BUTTON_get() {
13908 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13910 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13917 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13918 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13923 static PyObject
*_wrap_ART_OTHER_get() {
13928 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13930 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13937 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13938 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13943 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13948 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13950 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13957 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13958 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13963 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13968 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13970 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13977 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13978 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13983 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13988 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13990 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13997 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13998 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14003 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14008 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14010 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14017 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
14018 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14023 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14028 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14030 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14037 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
14038 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14043 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14048 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14050 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14057 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14063 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14077 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
14078 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14083 static PyObject
*_wrap_ART_GO_BACK_get() {
14088 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14090 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14097 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
14098 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14103 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14108 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14110 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14117 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
14118 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14123 static PyObject
*_wrap_ART_GO_UP_get() {
14128 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14130 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14137 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14138 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14143 static PyObject
*_wrap_ART_GO_DOWN_get() {
14148 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14150 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14157 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14158 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14163 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14168 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14170 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14177 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14178 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14183 static PyObject
*_wrap_ART_GO_HOME_get() {
14188 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14190 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14197 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14198 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14203 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14208 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14210 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14217 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14218 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14223 static PyObject
*_wrap_ART_PRINT_get() {
14228 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14230 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14237 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14238 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14243 static PyObject
*_wrap_ART_HELP_get() {
14248 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14250 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14257 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14258 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14263 static PyObject
*_wrap_ART_TIP_get() {
14268 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14270 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14277 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14278 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14283 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14288 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14290 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14297 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14298 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14303 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14308 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14310 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14317 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14318 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14323 static PyObject
*_wrap_ART_NEW_DIR_get() {
14328 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14330 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14337 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14338 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14343 static PyObject
*_wrap_ART_FOLDER_get() {
14348 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14350 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14357 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14358 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14363 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14368 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14370 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14377 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14378 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14383 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14388 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14390 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14397 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14398 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14403 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14408 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14410 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14417 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14418 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14423 static PyObject
*_wrap_ART_TICK_MARK_get() {
14428 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14430 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14437 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14438 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14443 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14448 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14450 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14457 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14458 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14463 static PyObject
*_wrap_ART_ERROR_get() {
14468 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14470 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14477 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14478 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14483 static PyObject
*_wrap_ART_QUESTION_get() {
14488 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14490 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14497 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14498 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14503 static PyObject
*_wrap_ART_WARNING_get() {
14508 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14510 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14517 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14518 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14523 static PyObject
*_wrap_ART_INFORMATION_get() {
14528 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14530 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14537 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14538 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14543 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14548 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14550 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14557 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxPyArtProvider
*result
;
14560 char *kwnames
[] = {
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14566 if (!wxPyCheckForApp()) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14580 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14583 PyObject
*arg2
= (PyObject
*) 0 ;
14584 PyObject
*arg3
= (PyObject
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 PyObject
* obj2
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "self",(char *) "_class", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14611 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "provider", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 wxPyArtProvider::PushProvider(arg1
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 Py_INCREF(Py_None
); resultobj
= Py_None
;
14636 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14639 char *kwnames
[] = {
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (bool)wxPyArtProvider::PopProvider();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14660 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "provider", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14688 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxString
*arg1
= 0 ;
14691 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14692 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14693 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14694 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14696 bool temp1
= False
;
14697 bool temp2
= False
;
14699 PyObject
* obj0
= 0 ;
14700 PyObject
* obj1
= 0 ;
14701 PyObject
* obj2
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "id",(char *) "client",(char *) "size", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14708 arg1
= wxString_in_helper(obj0
);
14709 if (arg1
== NULL
) SWIG_fail
;
14714 arg2
= wxString_in_helper(obj1
);
14715 if (arg2
== NULL
) SWIG_fail
;
14722 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14726 if (!wxPyCheckForApp()) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 wxBitmap
* resultptr
;
14735 resultptr
= new wxBitmap((wxBitmap
&) result
);
14736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14760 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxString
*arg1
= 0 ;
14763 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14764 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14765 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14766 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14768 bool temp1
= False
;
14769 bool temp2
= False
;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 PyObject
* obj2
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "id",(char *) "client",(char *) "size", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14780 arg1
= wxString_in_helper(obj0
);
14781 if (arg1
== NULL
) SWIG_fail
;
14786 arg2
= wxString_in_helper(obj1
);
14787 if (arg2
== NULL
) SWIG_fail
;
14794 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14798 if (!wxPyCheckForApp()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 wxIcon
* resultptr
;
14807 resultptr
= new wxIcon((wxIcon
&) result
);
14808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14832 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 wxPyArtProvider_Destroy(arg1
);
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 Py_INCREF(Py_None
); resultobj
= Py_None
;
14857 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14860 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14862 return Py_BuildValue((char *)"");
14864 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 Py_INCREF(Py_None
); resultobj
= Py_None
;
14889 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14892 wxConfigBase
*result
;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "config", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14915 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 bool arg1
= (bool) True
;
14918 wxConfigBase
*result
;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "createOnDemand", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14926 arg1
= (bool) SWIG_AsBool(obj0
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14943 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxConfigBase
*result
;
14946 char *kwnames
[] = {
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (wxConfigBase
*)wxConfigBase::Create();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14965 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 char *kwnames
[] = {
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 wxConfigBase::DontCreateOnDemand();
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 Py_INCREF(Py_None
); resultobj
= Py_None
;
14986 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14989 wxString
*arg2
= 0 ;
14990 bool temp2
= False
;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "path", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 arg2
= wxString_in_helper(obj1
);
15002 if (arg2
== NULL
) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 (arg1
)->SetPath((wxString
const &)*arg2
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 Py_INCREF(Py_None
); resultobj
= Py_None
;
15027 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15043 result
= (wxString
*) &_result_ref
;
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15053 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15062 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= result
;
15088 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "index", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 arg2
= (long) SWIG_AsLong(obj1
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= result
;
15118 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
;
15144 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self",(char *) "index", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 arg2
= (long) SWIG_AsLong(obj1
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= result
;
15174 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15177 bool arg2
= (bool) False
;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "recursive", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 arg2
= (bool) SWIG_AsBool(obj1
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15206 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15209 bool arg2
= (bool) False
;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self",(char *) "recursive", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 arg2
= (bool) SWIG_AsBool(obj1
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15238 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15241 wxString
*arg2
= 0 ;
15243 bool temp2
= False
;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "name", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= wxString_in_helper(obj1
);
15255 if (arg2
== NULL
) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15285 wxString
*arg2
= 0 ;
15287 bool temp2
= False
;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "name", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 arg2
= wxString_in_helper(obj1
);
15299 if (arg2
== NULL
) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15329 wxString
*arg2
= 0 ;
15331 bool temp2
= False
;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "name", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 arg2
= wxString_in_helper(obj1
);
15343 if (arg2
== NULL
) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15370 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15373 wxString
*arg2
= 0 ;
15375 bool temp2
= False
;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "name", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15386 arg2
= wxString_in_helper(obj1
);
15387 if (arg2
== NULL
) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_FromInt((int)result
);
15412 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15415 wxString
*arg2
= 0 ;
15416 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15419 bool temp2
= False
;
15420 bool temp3
= False
;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 arg2
= wxString_in_helper(obj1
);
15433 if (arg2
== NULL
) SWIG_fail
;
15438 arg3
= wxString_in_helper(obj2
);
15439 if (arg3
== NULL
) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15479 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15482 wxString
*arg2
= 0 ;
15483 long arg3
= (long) 0 ;
15485 bool temp2
= False
;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 PyObject
* obj2
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15497 arg2
= wxString_in_helper(obj1
);
15498 if (arg2
== NULL
) SWIG_fail
;
15502 arg3
= (long) SWIG_AsLong(obj2
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_FromLong((long)result
);
15527 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15530 wxString
*arg2
= 0 ;
15531 double arg3
= (double) 0.0 ;
15533 bool temp2
= False
;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 PyObject
* obj2
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",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
= (double) SWIG_AsDouble(obj2
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_FromDouble((double)result
);
15575 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15578 wxString
*arg2
= 0 ;
15579 bool arg3
= (bool) False
;
15581 bool temp2
= False
;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 PyObject
* obj2
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 arg2
= wxString_in_helper(obj1
);
15594 if (arg2
== NULL
) SWIG_fail
;
15598 arg3
= (bool) SWIG_AsBool(obj2
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15625 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15628 wxString
*arg2
= 0 ;
15629 wxString
*arg3
= 0 ;
15631 bool temp2
= False
;
15632 bool temp3
= False
;
15633 PyObject
* obj0
= 0 ;
15634 PyObject
* obj1
= 0 ;
15635 PyObject
* obj2
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "key",(char *) "value", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 arg2
= wxString_in_helper(obj1
);
15645 if (arg2
== NULL
) SWIG_fail
;
15649 arg3
= wxString_in_helper(obj2
);
15650 if (arg3
== NULL
) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15685 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15688 wxString
*arg2
= 0 ;
15691 bool temp2
= False
;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 PyObject
* obj2
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self",(char *) "key",(char *) "value", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15703 arg2
= wxString_in_helper(obj1
);
15704 if (arg2
== NULL
) SWIG_fail
;
15707 arg3
= (long) SWIG_AsLong(obj2
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15733 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15736 wxString
*arg2
= 0 ;
15739 bool temp2
= False
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self",(char *) "key",(char *) "value", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 arg2
= wxString_in_helper(obj1
);
15752 if (arg2
== NULL
) SWIG_fail
;
15755 arg3
= (double) SWIG_AsDouble(obj2
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15784 wxString
*arg2
= 0 ;
15787 bool temp2
= False
;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 PyObject
* obj2
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "key",(char *) "value", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 arg2
= wxString_in_helper(obj1
);
15800 if (arg2
== NULL
) SWIG_fail
;
15803 arg3
= (bool) SWIG_AsBool(obj2
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15832 bool arg2
= (bool) False
;
15834 PyObject
* obj0
= 0 ;
15835 PyObject
* obj1
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self",(char *) "currentOnly", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 arg2
= (bool) SWIG_AsBool(obj1
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)(arg1
)->Flush(arg2
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15863 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15866 wxString
*arg2
= 0 ;
15867 wxString
*arg3
= 0 ;
15869 bool temp2
= False
;
15870 bool temp3
= False
;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 PyObject
* obj2
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 arg2
= wxString_in_helper(obj1
);
15883 if (arg2
== NULL
) SWIG_fail
;
15887 arg3
= wxString_in_helper(obj2
);
15888 if (arg3
== NULL
) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15923 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15926 wxString
*arg2
= 0 ;
15927 wxString
*arg3
= 0 ;
15929 bool temp2
= False
;
15930 bool temp3
= False
;
15931 PyObject
* obj0
= 0 ;
15932 PyObject
* obj1
= 0 ;
15933 PyObject
* obj2
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 arg2
= wxString_in_helper(obj1
);
15943 if (arg2
== NULL
) SWIG_fail
;
15947 arg3
= wxString_in_helper(obj2
);
15948 if (arg3
== NULL
) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15986 wxString
*arg2
= 0 ;
15987 bool arg3
= (bool) True
;
15989 bool temp2
= False
;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 arg2
= wxString_in_helper(obj1
);
16002 if (arg2
== NULL
) SWIG_fail
;
16006 arg3
= (bool) SWIG_AsBool(obj2
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16036 wxString
*arg2
= 0 ;
16038 bool temp2
= False
;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self",(char *) "key", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 arg2
= wxString_in_helper(obj1
);
16050 if (arg2
== NULL
) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16077 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (bool)(arg1
)->DeleteAll();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16108 bool arg2
= (bool) True
;
16109 PyObject
* obj0
= 0 ;
16110 PyObject
* obj1
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self",(char *) "doIt", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 arg2
= (bool) SWIG_AsBool(obj1
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 (arg1
)->SetExpandEnvVars(arg2
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 Py_INCREF(Py_None
); resultobj
= Py_None
;
16136 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16140 PyObject
* obj0
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16164 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16167 bool arg2
= (bool) True
;
16168 PyObject
* obj0
= 0 ;
16169 PyObject
* obj1
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self",(char *) "doIt", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 arg2
= (bool) SWIG_AsBool(obj1
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 (arg1
)->SetRecordDefaults(arg2
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 Py_INCREF(Py_None
); resultobj
= Py_None
;
16195 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16223 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16226 wxString
*arg2
= 0 ;
16228 bool temp2
= False
;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "self",(char *) "str", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 arg2
= wxString_in_helper(obj1
);
16240 if (arg2
== NULL
) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16271 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16303 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16335 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16338 wxString
*arg2
= 0 ;
16339 bool temp2
= False
;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "appName", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16350 arg2
= wxString_in_helper(obj1
);
16351 if (arg2
== NULL
) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 (arg1
)->SetAppName((wxString
const &)*arg2
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 Py_INCREF(Py_None
); resultobj
= Py_None
;
16376 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16379 wxString
*arg2
= 0 ;
16380 bool temp2
= False
;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self",(char *) "vendorName", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 arg2
= wxString_in_helper(obj1
);
16392 if (arg2
== NULL
) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self",(char *) "style", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 arg2
= (long) SWIG_AsLong(obj1
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 (arg1
)->SetStyle(arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 Py_INCREF(Py_None
); resultobj
= Py_None
;
16446 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= SWIG_FromLong((long)result
);
16472 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16475 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16477 return Py_BuildValue((char *)"");
16479 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16482 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16483 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16484 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16487 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16488 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16489 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16491 bool temp1
= False
;
16492 bool temp2
= False
;
16493 bool temp3
= False
;
16494 bool temp4
= False
;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 PyObject
* obj3
= 0 ;
16499 PyObject
* obj4
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16507 arg1
= wxString_in_helper(obj0
);
16508 if (arg1
== NULL
) SWIG_fail
;
16514 arg2
= wxString_in_helper(obj1
);
16515 if (arg2
== NULL
) SWIG_fail
;
16521 arg3
= wxString_in_helper(obj2
);
16522 if (arg3
== NULL
) SWIG_fail
;
16528 arg4
= wxString_in_helper(obj3
);
16529 if (arg4
== NULL
) SWIG_fail
;
16534 arg5
= (long) SWIG_AsLong(obj4
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16583 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxConfig
*arg1
= (wxConfig
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16608 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16611 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16613 return Py_BuildValue((char *)"");
16615 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16618 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16619 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16620 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16623 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16624 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16625 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16626 wxFileConfig
*result
;
16627 bool temp1
= False
;
16628 bool temp2
= False
;
16629 bool temp3
= False
;
16630 bool temp4
= False
;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 PyObject
* obj2
= 0 ;
16634 PyObject
* obj3
= 0 ;
16635 PyObject
* obj4
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16643 arg1
= wxString_in_helper(obj0
);
16644 if (arg1
== NULL
) SWIG_fail
;
16650 arg2
= wxString_in_helper(obj1
);
16651 if (arg2
== NULL
) SWIG_fail
;
16657 arg3
= wxString_in_helper(obj2
);
16658 if (arg3
== NULL
) SWIG_fail
;
16664 arg4
= wxString_in_helper(obj3
);
16665 if (arg4
== NULL
) SWIG_fail
;
16670 arg5
= (long) SWIG_AsLong(obj4
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16719 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 Py_INCREF(Py_None
); resultobj
= Py_None
;
16744 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16747 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16749 return Py_BuildValue((char *)"");
16751 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16754 wxString
*arg2
= 0 ;
16755 wxConfigPathChanger
*result
;
16756 bool temp2
= False
;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "config",(char *) "entry", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16767 arg2
= wxString_in_helper(obj1
);
16768 if (arg2
== NULL
) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16793 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 Py_INCREF(Py_None
); resultobj
= Py_None
;
16818 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16834 result
= (wxString
*) &_result_ref
;
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16844 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16853 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16856 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16858 return Py_BuildValue((char *)"");
16860 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxString
*arg1
= 0 ;
16864 bool temp1
= False
;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "sz", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16872 arg1
= wxString_in_helper(obj0
);
16873 if (arg1
== NULL
) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16904 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16905 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16910 static PyObject
*_wrap_DateFormatStr_get() {
16915 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16917 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16924 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16925 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16930 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16935 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16937 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16944 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "country", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16953 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16969 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16972 char *kwnames
[] = {
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (int)wxDateTime::GetCountry();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= SWIG_FromInt((int)result
);
16991 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 int arg1
= (int) wxDateTime::Country_Default
;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "country", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17002 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17021 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 int arg1
= (int) wxDateTime::Gregorian
;
17025 PyObject
* obj0
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "cal", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17032 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_FromInt((int)result
);
17049 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "year", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17059 arg1
= (int) SWIG_AsInt(obj0
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_FromInt((int)result
);
17075 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 int arg1
= (int) wxDateTime::Gregorian
;
17079 PyObject
* obj0
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "cal", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17086 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_FromInt((int)result
);
17103 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 int arg1
= (int) wxDateTime::Inv_Year
;
17106 int arg2
= (int) wxDateTime::Gregorian
;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "year",(char *) "cal", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17116 arg1
= (int) SWIG_AsInt(obj0
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 int arg1
= (int) wxDateTime::Inv_Year
;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "year", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17150 arg1
= (int) SWIG_AsInt(obj0
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (int)wxDateTime::GetCentury(arg1
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= SWIG_FromInt((int)result
);
17167 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17170 int arg2
= (int) wxDateTime::Gregorian
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "year",(char *) "cal", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 arg1
= (int) SWIG_AsInt(obj0
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_FromInt((int)result
);
17199 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17202 int arg2
= (int) wxDateTime::Inv_Year
;
17203 int arg3
= (int) wxDateTime::Gregorian
;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 PyObject
* obj2
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "month",(char *) "year",(char *) "cal", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17213 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 arg2
= (int) SWIG_AsInt(obj1
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17220 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_FromInt((int)result
);
17237 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17240 int arg2
= (int) wxDateTime::Name_Full
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "month",(char *) "flags", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17249 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17275 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17278 int arg2
= (int) wxDateTime::Name_Full
;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "weekday",(char *) "flags", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17287 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17313 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxString
*arg1
= (wxString
*) 0 ;
17316 wxString
*arg2
= (wxString
*) 0 ;
17317 bool temp1
= False
;
17318 bool temp2
= False
;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 arg1
= wxString_in_helper(obj0
);
17328 if (arg1
== NULL
) SWIG_fail
;
17332 arg2
= wxString_in_helper(obj1
);
17333 if (arg2
== NULL
) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 int arg1
= (int) wxDateTime::Inv_Year
;
17369 int arg2
= (int) wxDateTime::Country_Default
;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "year",(char *) "country", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 arg1
= (int) SWIG_AsInt(obj0
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17402 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 int arg1
= (int) wxDateTime::Inv_Year
;
17405 int arg2
= (int) wxDateTime::Country_Default
;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "year",(char *) "country", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 arg1
= (int) SWIG_AsInt(obj0
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 wxDateTime
* resultptr
;
17431 resultptr
= new wxDateTime((wxDateTime
&) result
);
17432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17440 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 int arg1
= (int) wxDateTime::Inv_Year
;
17443 int arg2
= (int) wxDateTime::Country_Default
;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "year",(char *) "country", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17453 arg1
= (int) SWIG_AsInt(obj0
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 wxDateTime
* resultptr
;
17469 resultptr
= new wxDateTime((wxDateTime
&) result
);
17470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17478 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17481 char *kwnames
[] = {
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= wxDateTime::Now();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17494 wxDateTime
* resultptr
;
17495 resultptr
= new wxDateTime((wxDateTime
&) result
);
17496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17504 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17507 char *kwnames
[] = {
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= wxDateTime::UNow();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 wxDateTime
* resultptr
;
17521 resultptr
= new wxDateTime((wxDateTime
&) result
);
17522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17530 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17533 char *kwnames
[] = {
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= wxDateTime::Today();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 wxDateTime
* resultptr
;
17547 resultptr
= new wxDateTime((wxDateTime
&) result
);
17548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17556 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxDateTime
*result
;
17559 char *kwnames
[] = {
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= (wxDateTime
*)new wxDateTime();
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17578 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17581 wxDateTime
*result
;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "timet", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17588 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (wxDateTime
*)new wxDateTime(arg1
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17604 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17607 wxDateTime
*result
;
17608 PyObject
* obj0
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "jdn", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17614 arg1
= (double) SWIG_AsDouble(obj0
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (wxDateTime
*)new wxDateTime(arg1
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17630 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17633 int arg2
= (int) 0 ;
17634 int arg3
= (int) 0 ;
17635 int arg4
= (int) 0 ;
17636 wxDateTime
*result
;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 PyObject
* obj2
= 0 ;
17640 PyObject
* obj3
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17646 arg1
= (int) SWIG_AsInt(obj0
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 arg2
= (int) SWIG_AsInt(obj1
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 arg3
= (int) SWIG_AsInt(obj2
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 arg4
= (int) SWIG_AsInt(obj3
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17674 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17677 int arg2
= (int) wxDateTime::Inv_Month
;
17678 int arg3
= (int) wxDateTime::Inv_Year
;
17679 int arg4
= (int) 0 ;
17680 int arg5
= (int) 0 ;
17681 int arg6
= (int) 0 ;
17682 int arg7
= (int) 0 ;
17683 wxDateTime
*result
;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 PyObject
* obj2
= 0 ;
17687 PyObject
* obj3
= 0 ;
17688 PyObject
* obj4
= 0 ;
17689 PyObject
* obj5
= 0 ;
17690 PyObject
* obj6
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17696 arg1
= (int) SWIG_AsInt(obj0
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 arg3
= (int) SWIG_AsInt(obj2
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 arg4
= (int) SWIG_AsInt(obj3
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 arg5
= (int) SWIG_AsInt(obj4
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17715 arg6
= (int) SWIG_AsInt(obj5
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 arg7
= (int) SWIG_AsInt(obj6
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17736 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 Py_INCREF(Py_None
); resultobj
= Py_None
;
17761 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17764 wxDateTime
*result
;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17777 result
= (wxDateTime
*) &_result_ref
;
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17790 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17794 wxDateTime
*result
;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "timet", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17810 result
= (wxDateTime
*) &_result_ref
;
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17823 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17827 wxDateTime
*result
;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self",(char *) "jdn", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17837 arg2
= (double) SWIG_AsDouble(obj1
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17843 result
= (wxDateTime
*) &_result_ref
;
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17856 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17860 int arg3
= (int) 0 ;
17861 int arg4
= (int) 0 ;
17862 int arg5
= (int) 0 ;
17863 wxDateTime
*result
;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 PyObject
* obj2
= 0 ;
17867 PyObject
* obj3
= 0 ;
17868 PyObject
* obj4
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 arg2
= (int) SWIG_AsInt(obj1
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 arg3
= (int) SWIG_AsInt(obj2
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17883 arg4
= (int) SWIG_AsInt(obj3
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17887 arg5
= (int) SWIG_AsInt(obj4
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17894 result
= (wxDateTime
*) &_result_ref
;
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17907 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17911 int arg3
= (int) wxDateTime::Inv_Month
;
17912 int arg4
= (int) wxDateTime::Inv_Year
;
17913 int arg5
= (int) 0 ;
17914 int arg6
= (int) 0 ;
17915 int arg7
= (int) 0 ;
17916 int arg8
= (int) 0 ;
17917 wxDateTime
*result
;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 PyObject
* obj2
= 0 ;
17921 PyObject
* obj3
= 0 ;
17922 PyObject
* obj4
= 0 ;
17923 PyObject
* obj5
= 0 ;
17924 PyObject
* obj6
= 0 ;
17925 PyObject
* obj7
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 arg2
= (int) SWIG_AsInt(obj1
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 arg4
= (int) SWIG_AsInt(obj3
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 arg5
= (int) SWIG_AsInt(obj4
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 arg6
= (int) SWIG_AsInt(obj5
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 arg7
= (int) SWIG_AsInt(obj6
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 arg8
= (int) SWIG_AsInt(obj7
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17963 result
= (wxDateTime
*) &_result_ref
;
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17976 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17979 wxDateTime
*result
;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17992 result
= (wxDateTime
*) &_result_ref
;
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18005 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18009 wxDateTime
*result
;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "year", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 arg2
= (int) SWIG_AsInt(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18025 result
= (wxDateTime
*) &_result_ref
;
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18038 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18042 wxDateTime
*result
;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "month", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18052 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18058 result
= (wxDateTime
*) &_result_ref
;
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18071 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
;
18073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18075 wxDateTime
*result
;
18076 PyObject
* obj0
= 0 ;
18077 PyObject
* obj1
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self",(char *) "day", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 arg2
= (int) SWIG_AsInt(obj1
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18091 result
= (wxDateTime
*) &_result_ref
;
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18104 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18108 wxDateTime
*result
;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self",(char *) "hour", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 arg2
= (int) SWIG_AsInt(obj1
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18124 result
= (wxDateTime
*) &_result_ref
;
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18137 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18141 wxDateTime
*result
;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self",(char *) "minute", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18151 arg2
= (int) SWIG_AsInt(obj1
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18157 result
= (wxDateTime
*) &_result_ref
;
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18170 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
;
18172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18174 wxDateTime
*result
;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self",(char *) "second", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 arg2
= (int) SWIG_AsInt(obj1
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18190 result
= (wxDateTime
*) &_result_ref
;
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18203 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18207 wxDateTime
*result
;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "millisecond", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18217 arg2
= (int) SWIG_AsInt(obj1
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18223 result
= (wxDateTime
*) &_result_ref
;
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18236 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18240 int arg3
= (int) wxDateTime::Monday_First
;
18241 wxDateTime
*result
;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 PyObject
* obj2
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18262 result
= (wxDateTime
*) &_result_ref
;
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18275 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18279 int arg3
= (int) wxDateTime::Monday_First
;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18291 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 wxDateTime
* resultptr
;
18306 resultptr
= new wxDateTime((wxDateTime
&) result
);
18307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18315 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18319 wxDateTime
*result
;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self",(char *) "weekday", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18329 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18335 result
= (wxDateTime
*) &_result_ref
;
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18348 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "weekday", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 wxDateTime
* resultptr
;
18373 resultptr
= new wxDateTime((wxDateTime
&) result
);
18374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18382 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18386 wxDateTime
*result
;
18387 PyObject
* obj0
= 0 ;
18388 PyObject
* obj1
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self",(char *) "weekday", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18396 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18402 result
= (wxDateTime
*) &_result_ref
;
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18415 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "weekday", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 wxDateTime
* resultptr
;
18440 resultptr
= new wxDateTime((wxDateTime
&) result
);
18441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18449 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18453 int arg3
= (int) 1 ;
18454 int arg4
= (int) wxDateTime::Inv_Month
;
18455 int arg5
= (int) wxDateTime::Inv_Year
;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 PyObject
* obj2
= 0 ;
18460 PyObject
* obj3
= 0 ;
18461 PyObject
* obj4
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 arg3
= (int) SWIG_AsInt(obj2
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 arg5
= (int) SWIG_AsInt(obj4
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18499 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18503 int arg3
= (int) wxDateTime::Inv_Month
;
18504 int arg4
= (int) wxDateTime::Inv_Year
;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 PyObject
* obj3
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18524 arg4
= (int) SWIG_AsInt(obj3
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18543 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18547 int arg3
= (int) wxDateTime::Inv_Month
;
18548 int arg4
= (int) wxDateTime::Inv_Year
;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 PyObject
* obj3
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18568 arg4
= (int) SWIG_AsInt(obj3
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18579 wxDateTime
* resultptr
;
18580 resultptr
= new wxDateTime((wxDateTime
&) result
);
18581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18589 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18593 int arg3
= (int) wxDateTime::Mon
;
18594 int arg4
= (int) wxDateTime::Monday_First
;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 PyObject
* obj2
= 0 ;
18599 PyObject
* obj3
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 arg2
= (int) SWIG_AsInt(obj1
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18633 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18637 int arg3
= (int) wxDateTime::Mon
;
18638 int arg4
= (int) wxDateTime::Monday_First
;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 PyObject
* obj2
= 0 ;
18643 PyObject
* obj3
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 arg2
= (int) SWIG_AsInt(obj1
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 wxDateTime
* resultptr
;
18670 resultptr
= new wxDateTime((wxDateTime
&) result
);
18671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18679 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18682 int arg2
= (int) wxDateTime::Inv_Month
;
18683 int arg3
= (int) wxDateTime::Inv_Year
;
18684 wxDateTime
*result
;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 PyObject
* obj2
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self",(char *) "month",(char *) "year", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18696 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18700 arg3
= (int) SWIG_AsInt(obj2
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18707 result
= (wxDateTime
*) &_result_ref
;
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18720 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18723 int arg2
= (int) wxDateTime::Inv_Month
;
18724 int arg3
= (int) wxDateTime::Inv_Year
;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 PyObject
* obj2
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self",(char *) "month",(char *) "year", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18737 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 arg3
= (int) SWIG_AsInt(obj2
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 wxDateTime
* resultptr
;
18753 resultptr
= new wxDateTime((wxDateTime
&) result
);
18754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18762 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18766 wxDateTime
*result
;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "yday", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 arg2
= (int) SWIG_AsInt(obj1
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18782 result
= (wxDateTime
*) &_result_ref
;
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18795 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self",(char *) "yday", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 arg2
= (int) SWIG_AsInt(obj1
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 result
= (arg1
)->GetYearDay(arg2
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18819 wxDateTime
* resultptr
;
18820 resultptr
= new wxDateTime((wxDateTime
&) result
);
18821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18829 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 result
= (double)(arg1
)->GetJulianDayNumber();
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_FromDouble((double)result
);
18855 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (double)(arg1
)->GetJDN();
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_FromDouble((double)result
);
18881 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_FromDouble((double)result
);
18907 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18911 PyObject
* obj0
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 result
= (double)(arg1
)->GetMJD();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_FromDouble((double)result
);
18933 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (double)(arg1
)->GetRataDie();
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= SWIG_FromDouble((double)result
);
18959 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18962 wxDateTime::TimeZone
*arg2
= 0 ;
18963 bool arg3
= (bool) False
;
18965 bool temp2
= False
;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 PyObject
* obj2
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18981 arg3
= (bool) SWIG_AsBool(obj2
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 wxDateTime
* resultptr
;
18993 resultptr
= new wxDateTime((wxDateTime
&) result
);
18994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18997 if (temp2
) delete arg2
;
19002 if (temp2
) delete arg2
;
19008 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19011 wxDateTime::TimeZone
*arg2
= 0 ;
19012 bool arg3
= (bool) False
;
19013 wxDateTime
*result
;
19014 bool temp2
= False
;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 PyObject
* obj2
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19030 arg3
= (bool) SWIG_AsBool(obj2
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19037 result
= (wxDateTime
*) &_result_ref
;
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19045 if (temp2
) delete arg2
;
19050 if (temp2
) delete arg2
;
19056 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19059 bool arg2
= (bool) False
;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "noDST", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19071 arg2
= (bool) SWIG_AsBool(obj1
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (arg1
)->ToGMT(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 wxDateTime
* resultptr
;
19083 resultptr
= new wxDateTime((wxDateTime
&) result
);
19084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19092 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19095 bool arg2
= (bool) False
;
19096 wxDateTime
*result
;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "noDST", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 arg2
= (bool) SWIG_AsBool(obj1
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19114 result
= (wxDateTime
*) &_result_ref
;
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19127 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19130 int arg2
= (int) wxDateTime::Country_Default
;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "country", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_FromInt((int)result
);
19159 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19187 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19191 PyObject
* obj0
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19213 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19216 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19217 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19219 bool temp2
= False
;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self",(char *) "tz", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19231 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= SWIG_FromInt((int)result
);
19244 if (temp2
) delete arg2
;
19249 if (temp2
) delete arg2
;
19255 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19258 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19259 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19261 bool temp2
= False
;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "tz", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_FromInt((int)result
);
19286 if (temp2
) delete arg2
;
19291 if (temp2
) delete arg2
;
19297 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19300 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19301 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19303 bool temp2
= False
;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self",(char *) "tz", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_FromInt((int)result
);
19328 if (temp2
) delete arg2
;
19333 if (temp2
) delete arg2
;
19339 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19342 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19343 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19345 bool temp2
= False
;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self",(char *) "tz", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= SWIG_FromInt((int)result
);
19370 if (temp2
) delete arg2
;
19375 if (temp2
) delete arg2
;
19381 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19384 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19385 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19387 bool temp2
= False
;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "tz", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= SWIG_FromInt((int)result
);
19412 if (temp2
) delete arg2
;
19417 if (temp2
) delete arg2
;
19423 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19426 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19427 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19429 bool temp2
= False
;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "tz", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_FromInt((int)result
);
19454 if (temp2
) delete arg2
;
19459 if (temp2
) delete arg2
;
19465 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19468 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19469 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19471 bool temp2
= False
;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "tz", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19483 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_FromInt((int)result
);
19496 if (temp2
) delete arg2
;
19501 if (temp2
) delete arg2
;
19507 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19510 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19511 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19513 bool temp2
= False
;
19514 PyObject
* obj0
= 0 ;
19515 PyObject
* obj1
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "tz", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_FromInt((int)result
);
19538 if (temp2
) delete arg2
;
19543 if (temp2
) delete arg2
;
19549 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19552 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19553 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19555 bool temp2
= False
;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self",(char *) "tz", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_FromInt((int)result
);
19580 if (temp2
) delete arg2
;
19585 if (temp2
) delete arg2
;
19591 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19594 int arg2
= (int) wxDateTime::Monday_First
;
19595 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19596 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19598 bool temp3
= False
;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "flags",(char *) "tz", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19615 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_FromInt((int)result
);
19628 if (temp3
) delete arg3
;
19633 if (temp3
) delete arg3
;
19639 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19642 int arg2
= (int) wxDateTime::Monday_First
;
19643 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19644 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19646 bool temp3
= False
;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 PyObject
* obj2
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "flags",(char *) "tz", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19663 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_FromInt((int)result
);
19676 if (temp3
) delete arg3
;
19681 if (temp3
) delete arg3
;
19687 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19690 int arg2
= (int) wxDateTime::Country_Default
;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self",(char *) "country", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19721 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19724 wxDateTime
*arg2
= 0 ;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "datetime", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19738 if (arg2
== NULL
) {
19739 PyErr_SetString(PyExc_TypeError
,"null reference");
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19758 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19761 wxDateTime
*arg2
= 0 ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "datetime", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19775 if (arg2
== NULL
) {
19776 PyErr_SetString(PyExc_TypeError
,"null reference");
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19795 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19798 wxDateTime
*arg2
= 0 ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "datetime", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19812 if (arg2
== NULL
) {
19813 PyErr_SetString(PyExc_TypeError
,"null reference");
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19832 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19835 wxDateTime
*arg2
= 0 ;
19836 wxDateTime
*arg3
= 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 PyObject
* obj2
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "t1",(char *) "t2", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19851 if (arg2
== NULL
) {
19852 PyErr_SetString(PyExc_TypeError
,"null reference");
19855 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19858 if (arg3
== NULL
) {
19859 PyErr_SetString(PyExc_TypeError
,"null reference");
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19878 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19881 wxDateTime
*arg2
= 0 ;
19882 wxDateTime
*arg3
= 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 PyObject
* obj2
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "t1",(char *) "t2", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19897 if (arg2
== NULL
) {
19898 PyErr_SetString(PyExc_TypeError
,"null reference");
19901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19904 if (arg3
== NULL
) {
19905 PyErr_SetString(PyExc_TypeError
,"null reference");
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19924 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19927 wxDateTime
*arg2
= 0 ;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "self",(char *) "dt", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19941 if (arg2
== NULL
) {
19942 PyErr_SetString(PyExc_TypeError
,"null reference");
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19961 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19964 wxDateTime
*arg2
= 0 ;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "dt", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19978 if (arg2
== NULL
) {
19979 PyErr_SetString(PyExc_TypeError
,"null reference");
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19998 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20001 wxDateTime
*arg2
= 0 ;
20002 wxTimeSpan
*arg3
= 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 PyObject
* obj2
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "dt",(char *) "ts", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20017 if (arg2
== NULL
) {
20018 PyErr_SetString(PyExc_TypeError
,"null reference");
20021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20024 if (arg3
== NULL
) {
20025 PyErr_SetString(PyExc_TypeError
,"null reference");
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20044 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20047 wxTimeSpan
*arg2
= 0 ;
20048 wxDateTime
*result
;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self",(char *) "diff", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20061 if (arg2
== NULL
) {
20062 PyErr_SetString(PyExc_TypeError
,"null reference");
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20069 result
= (wxDateTime
*) &_result_ref
;
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20082 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20085 wxDateSpan
*arg2
= 0 ;
20086 wxDateTime
*result
;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 char *kwnames
[] = {
20090 (char *) "self",(char *) "diff", NULL
20093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20099 if (arg2
== NULL
) {
20100 PyErr_SetString(PyExc_TypeError
,"null reference");
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20107 result
= (wxDateTime
*) &_result_ref
;
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20120 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20123 wxTimeSpan
*arg2
= 0 ;
20124 wxDateTime
*result
;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "diff", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20137 if (arg2
== NULL
) {
20138 PyErr_SetString(PyExc_TypeError
,"null reference");
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20145 result
= (wxDateTime
*) &_result_ref
;
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20158 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20161 wxDateSpan
*arg2
= 0 ;
20162 wxDateTime
*result
;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "diff", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20175 if (arg2
== NULL
) {
20176 PyErr_SetString(PyExc_TypeError
,"null reference");
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20183 result
= (wxDateTime
*) &_result_ref
;
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20196 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20199 wxDateTime
*arg2
= 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "dt", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20213 if (arg2
== NULL
) {
20214 PyErr_SetString(PyExc_TypeError
,"null reference");
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 wxTimeSpan
* resultptr
;
20226 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20235 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20236 PyObject
*resultobj
;
20237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20238 wxTimeSpan
*arg2
= 0 ;
20239 wxDateTime
*result
;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20243 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20249 if (arg2
== NULL
) {
20250 PyErr_SetString(PyExc_TypeError
,"null reference");
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20257 result
= (wxDateTime
*) &_result_ref
;
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20270 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20271 PyObject
*resultobj
;
20272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20273 wxDateSpan
*arg2
= 0 ;
20274 wxDateTime
*result
;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20278 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20284 if (arg2
== NULL
) {
20285 PyErr_SetString(PyExc_TypeError
,"null reference");
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20292 result
= (wxDateTime
*) &_result_ref
;
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20305 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20310 argc
= PyObject_Length(args
);
20311 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20312 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20318 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20328 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20336 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20344 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20354 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20362 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20367 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20372 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20373 PyObject
*resultobj
;
20374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20375 wxTimeSpan
*arg2
= 0 ;
20376 wxDateTime
*result
;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20380 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20386 if (arg2
== NULL
) {
20387 PyErr_SetString(PyExc_TypeError
,"null reference");
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20394 result
= (wxDateTime
*) &_result_ref
;
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20407 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20408 PyObject
*resultobj
;
20409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20410 wxDateSpan
*arg2
= 0 ;
20411 wxDateTime
*result
;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20415 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20421 if (arg2
== NULL
) {
20422 PyErr_SetString(PyExc_TypeError
,"null reference");
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20429 result
= (wxDateTime
*) &_result_ref
;
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20442 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20447 argc
= PyObject_Length(args
);
20448 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20449 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20455 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20465 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20473 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20481 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20491 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20499 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20504 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20509 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20510 PyObject
*resultobj
;
20511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20512 wxTimeSpan
*arg2
= 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20517 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20523 if (arg2
== NULL
) {
20524 PyErr_SetString(PyExc_TypeError
,"null reference");
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20535 wxDateTime
* resultptr
;
20536 resultptr
= new wxDateTime((wxDateTime
&) result
);
20537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20545 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20546 PyObject
*resultobj
;
20547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20548 wxDateSpan
*arg2
= 0 ;
20550 PyObject
* obj0
= 0 ;
20551 PyObject
* obj1
= 0 ;
20553 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20559 if (arg2
== NULL
) {
20560 PyErr_SetString(PyExc_TypeError
,"null reference");
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 wxDateTime
* resultptr
;
20572 resultptr
= new wxDateTime((wxDateTime
&) result
);
20573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20581 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20586 argc
= PyObject_Length(args
);
20587 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20588 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20594 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20604 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20612 return _wrap_DateTime___add____SWIG_0(self
,args
);
20620 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20630 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20638 return _wrap_DateTime___add____SWIG_1(self
,args
);
20643 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20648 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20649 PyObject
*resultobj
;
20650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20651 wxDateTime
*arg2
= 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20656 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20662 if (arg2
== NULL
) {
20663 PyErr_SetString(PyExc_TypeError
,"null reference");
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20674 wxTimeSpan
* resultptr
;
20675 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20684 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20685 PyObject
*resultobj
;
20686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20687 wxTimeSpan
*arg2
= 0 ;
20689 PyObject
* obj0
= 0 ;
20690 PyObject
* obj1
= 0 ;
20692 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20698 if (arg2
== NULL
) {
20699 PyErr_SetString(PyExc_TypeError
,"null reference");
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 wxDateTime
* resultptr
;
20711 resultptr
= new wxDateTime((wxDateTime
&) result
);
20712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20720 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20721 PyObject
*resultobj
;
20722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20723 wxDateSpan
*arg2
= 0 ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20728 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20734 if (arg2
== NULL
) {
20735 PyErr_SetString(PyExc_TypeError
,"null reference");
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20746 wxDateTime
* resultptr
;
20747 resultptr
= new wxDateTime((wxDateTime
&) result
);
20748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20756 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20761 argc
= PyObject_Length(args
);
20762 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20763 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20769 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20779 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20787 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20795 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20805 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20813 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20839 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20844 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20849 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20850 PyObject
*resultobj
;
20851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20852 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20857 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20878 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20879 PyObject
*resultobj
;
20880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20881 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20886 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20907 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20908 PyObject
*resultobj
;
20909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20910 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20915 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20936 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20937 PyObject
*resultobj
;
20938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20939 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20944 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20965 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20966 PyObject
*resultobj
;
20967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20968 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20973 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20994 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20995 PyObject
*resultobj
;
20996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20997 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21002 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21026 wxString
*arg2
= 0 ;
21028 bool temp2
= False
;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self",(char *) "date", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 arg2
= wxString_in_helper(obj1
);
21040 if (arg2
== NULL
) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_FromInt((int)result
);
21065 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21068 wxString
*arg2
= 0 ;
21069 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21071 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21072 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21074 bool temp2
= False
;
21075 bool temp3
= False
;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 PyObject
* obj2
= 0 ;
21079 PyObject
* obj3
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 arg2
= wxString_in_helper(obj1
);
21089 if (arg2
== NULL
) SWIG_fail
;
21094 arg3
= wxString_in_helper(obj2
);
21095 if (arg3
== NULL
) SWIG_fail
;
21100 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21103 if (arg4
== NULL
) {
21104 PyErr_SetString(PyExc_TypeError
,"null reference");
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_FromInt((int)result
);
21138 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21141 wxString
*arg2
= 0 ;
21143 bool temp2
= False
;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self",(char *) "datetime", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 arg2
= wxString_in_helper(obj1
);
21155 if (arg2
== NULL
) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_FromInt((int)result
);
21180 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21183 wxString
*arg2
= 0 ;
21185 bool temp2
= False
;
21186 PyObject
* obj0
= 0 ;
21187 PyObject
* obj1
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self",(char *) "date", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 arg2
= wxString_in_helper(obj1
);
21197 if (arg2
== NULL
) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_FromInt((int)result
);
21222 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21225 wxString
*arg2
= 0 ;
21227 bool temp2
= False
;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self",(char *) "time", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 arg2
= wxString_in_helper(obj1
);
21239 if (arg2
== NULL
) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_FromInt((int)result
);
21264 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21267 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21268 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21269 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21270 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21272 bool temp2
= False
;
21273 bool temp3
= False
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "format",(char *) "tz", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21286 arg2
= wxString_in_helper(obj1
);
21287 if (arg2
== NULL
) SWIG_fail
;
21293 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21316 if (temp3
) delete arg3
;
21325 if (temp3
) delete arg3
;
21331 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21335 PyObject
* obj0
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21363 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21395 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21427 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21459 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21462 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21464 return Py_BuildValue((char *)"");
21466 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "sec", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21476 arg1
= (long) SWIG_AsLong(obj0
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= wxTimeSpan::Seconds(arg1
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21486 wxTimeSpan
* resultptr
;
21487 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21496 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21499 char *kwnames
[] = {
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= wxTimeSpan::Second();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 wxTimeSpan
* resultptr
;
21513 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21522 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21526 PyObject
* obj0
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "min", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21532 arg1
= (long) SWIG_AsLong(obj0
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= wxTimeSpan::Minutes(arg1
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 wxTimeSpan
* resultptr
;
21543 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21552 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21555 char *kwnames
[] = {
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= wxTimeSpan::Minute();
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 wxTimeSpan
* resultptr
;
21569 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21578 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "hours", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21588 arg1
= (long) SWIG_AsLong(obj0
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= wxTimeSpan::Hours(arg1
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 wxTimeSpan
* resultptr
;
21599 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21608 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21611 char *kwnames
[] = {
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= wxTimeSpan::Hour();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21624 wxTimeSpan
* resultptr
;
21625 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21634 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
;
21638 PyObject
* obj0
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "days", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21644 arg1
= (long) SWIG_AsLong(obj0
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= wxTimeSpan::Days(arg1
);
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21654 wxTimeSpan
* resultptr
;
21655 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21664 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21667 char *kwnames
[] = {
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= wxTimeSpan::Day();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 wxTimeSpan
* resultptr
;
21681 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21690 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21694 PyObject
* obj0
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "days", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21700 arg1
= (long) SWIG_AsLong(obj0
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= wxTimeSpan::Weeks(arg1
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21710 wxTimeSpan
* resultptr
;
21711 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21720 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21723 char *kwnames
[] = {
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= wxTimeSpan::Week();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 wxTimeSpan
* resultptr
;
21737 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21746 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 long arg1
= (long) 0 ;
21749 long arg2
= (long) 0 ;
21750 long arg3
= (long) 0 ;
21751 long arg4
= (long) 0 ;
21752 wxTimeSpan
*result
;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 PyObject
* obj3
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21763 arg1
= (long) SWIG_AsLong(obj0
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 arg2
= (long) SWIG_AsLong(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 arg3
= (long) SWIG_AsLong(obj2
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 arg4
= (long) SWIG_AsLong(obj3
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21792 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21795 PyObject
* obj0
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 Py_INCREF(Py_None
); resultobj
= Py_None
;
21817 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21820 wxTimeSpan
*arg2
= 0 ;
21821 wxTimeSpan
*result
;
21822 PyObject
* obj0
= 0 ;
21823 PyObject
* obj1
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self",(char *) "diff", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21834 if (arg2
== NULL
) {
21835 PyErr_SetString(PyExc_TypeError
,"null reference");
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21842 result
= (wxTimeSpan
*) &_result_ref
;
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21855 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21858 wxTimeSpan
*arg2
= 0 ;
21859 wxTimeSpan
*result
;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "diff", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21872 if (arg2
== NULL
) {
21873 PyErr_SetString(PyExc_TypeError
,"null reference");
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21880 result
= (wxTimeSpan
*) &_result_ref
;
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21893 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21897 wxTimeSpan
*result
;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self",(char *) "n", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21907 arg2
= (int) SWIG_AsInt(obj1
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21913 result
= (wxTimeSpan
*) &_result_ref
;
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21926 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21929 wxTimeSpan
*result
;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21942 result
= (wxTimeSpan
*) &_result_ref
;
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21955 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 wxTimeSpan
* resultptr
;
21976 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21985 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21988 wxTimeSpan
*arg2
= 0 ;
21989 wxTimeSpan
*result
;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "diff", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22002 if (arg2
== NULL
) {
22003 PyErr_SetString(PyExc_TypeError
,"null reference");
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22010 result
= (wxTimeSpan
*) &_result_ref
;
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22023 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22026 wxTimeSpan
*arg2
= 0 ;
22027 wxTimeSpan
*result
;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "diff", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22040 if (arg2
== NULL
) {
22041 PyErr_SetString(PyExc_TypeError
,"null reference");
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22048 result
= (wxTimeSpan
*) &_result_ref
;
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22061 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22065 wxTimeSpan
*result
;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "n", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 arg2
= (int) SWIG_AsInt(obj1
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22081 result
= (wxTimeSpan
*) &_result_ref
;
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22094 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22097 wxTimeSpan
*result
;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22110 result
= (wxTimeSpan
*) &_result_ref
;
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22123 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22126 wxTimeSpan
*arg2
= 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "other", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22140 if (arg2
== NULL
) {
22141 PyErr_SetString(PyExc_TypeError
,"null reference");
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 wxTimeSpan
* resultptr
;
22153 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22162 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22165 wxTimeSpan
*arg2
= 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "other", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22179 if (arg2
== NULL
) {
22180 PyErr_SetString(PyExc_TypeError
,"null reference");
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 wxTimeSpan
* resultptr
;
22192 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22201 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "n", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 arg2
= (int) SWIG_AsInt(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= wxTimeSpan___mul__(arg1
,arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 wxTimeSpan
* resultptr
;
22226 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22235 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self",(char *) "n", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22249 arg2
= (int) SWIG_AsInt(obj1
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 wxTimeSpan
* resultptr
;
22260 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22269 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22272 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self",(char *) "other", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22301 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22304 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self",(char *) "other", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22333 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22336 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self",(char *) "other", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22365 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22368 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self",(char *) "other", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22397 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22400 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "other", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22429 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22432 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self",(char *) "other", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22461 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22465 PyObject
* obj0
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22489 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22517 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22545 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
;
22547 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22548 wxTimeSpan
*arg2
= 0 ;
22550 PyObject
* obj0
= 0 ;
22551 PyObject
* obj1
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "ts", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22562 if (arg2
== NULL
) {
22563 PyErr_SetString(PyExc_TypeError
,"null reference");
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22582 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22585 wxTimeSpan
*arg2
= 0 ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "ts", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22599 if (arg2
== NULL
) {
22600 PyErr_SetString(PyExc_TypeError
,"null reference");
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22619 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22622 wxTimeSpan
*arg2
= 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self",(char *) "t", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22636 if (arg2
== NULL
) {
22637 PyErr_SetString(PyExc_TypeError
,"null reference");
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22656 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_FromInt((int)result
);
22682 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_FromInt((int)result
);
22708 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_FromInt((int)result
);
22734 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= SWIG_FromInt((int)result
);
22760 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22781 hi
= PyLong_FromLong( (&result
)->GetHi() );
22782 lo
= PyLong_FromLong( (&result
)->GetLo() );
22783 shifter
= PyLong_FromLong(32);
22784 shifted
= PyNumber_Lshift(hi
, shifter
);
22785 resultobj
= PyNumber_Or(shifted
, lo
);
22788 Py_DECREF(shifter
);
22789 Py_DECREF(shifted
);
22797 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22818 hi
= PyLong_FromLong( (&result
)->GetHi() );
22819 lo
= PyLong_FromLong( (&result
)->GetLo() );
22820 shifter
= PyLong_FromLong(32);
22821 shifted
= PyNumber_Lshift(hi
, shifter
);
22822 resultobj
= PyNumber_Or(shifted
, lo
);
22825 Py_DECREF(shifter
);
22826 Py_DECREF(shifted
);
22834 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22837 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22838 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22840 bool temp2
= False
;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self",(char *) "format", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 arg2
= wxString_in_helper(obj1
);
22853 if (arg2
== NULL
) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22885 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22888 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22890 return Py_BuildValue((char *)"");
22892 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 int arg1
= (int) 0 ;
22895 int arg2
= (int) 0 ;
22896 int arg3
= (int) 0 ;
22897 int arg4
= (int) 0 ;
22898 wxDateSpan
*result
;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 PyObject
* obj2
= 0 ;
22902 PyObject
* obj3
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22909 arg1
= (int) SWIG_AsInt(obj0
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 arg2
= (int) SWIG_AsInt(obj1
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 arg3
= (int) SWIG_AsInt(obj2
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 arg4
= (int) SWIG_AsInt(obj3
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22938 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 Py_INCREF(Py_None
); resultobj
= Py_None
;
22963 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "days", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22973 arg1
= (int) SWIG_AsInt(obj0
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= wxDateSpan::Days(arg1
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22983 wxDateSpan
* resultptr
;
22984 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22993 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22996 char *kwnames
[] = {
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= wxDateSpan::Day();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23009 wxDateSpan
* resultptr
;
23010 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23019 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "weeks", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23029 arg1
= (int) SWIG_AsInt(obj0
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= wxDateSpan::Weeks(arg1
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 wxDateSpan
* resultptr
;
23040 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23049 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23052 char *kwnames
[] = {
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= wxDateSpan::Week();
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23065 wxDateSpan
* resultptr
;
23066 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23075 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23079 PyObject
* obj0
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "mon", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23085 arg1
= (int) SWIG_AsInt(obj0
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= wxDateSpan::Months(arg1
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 wxDateSpan
* resultptr
;
23096 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23105 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23108 char *kwnames
[] = {
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= wxDateSpan::Month();
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 wxDateSpan
* resultptr
;
23122 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23131 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "years", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23141 arg1
= (int) SWIG_AsInt(obj0
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= wxDateSpan::Years(arg1
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 wxDateSpan
* resultptr
;
23152 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23161 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23164 char *kwnames
[] = {
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= wxDateSpan::Year();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23177 wxDateSpan
* resultptr
;
23178 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23187 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23191 wxDateSpan
*result
;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "n", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 arg2
= (int) SWIG_AsInt(obj1
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23207 result
= (wxDateSpan
*) &_result_ref
;
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23220 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23224 wxDateSpan
*result
;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self",(char *) "n", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 arg2
= (int) SWIG_AsInt(obj1
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23240 result
= (wxDateSpan
*) &_result_ref
;
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23253 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23257 wxDateSpan
*result
;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "n", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 arg2
= (int) SWIG_AsInt(obj1
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23273 result
= (wxDateSpan
*) &_result_ref
;
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23286 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23290 wxDateSpan
*result
;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "n", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 arg2
= (int) SWIG_AsInt(obj1
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23306 result
= (wxDateSpan
*) &_result_ref
;
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23319 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= SWIG_FromInt((int)result
);
23345 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
;
23347 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_FromInt((int)result
);
23371 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_FromInt((int)result
);
23397 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_FromInt((int)result
);
23423 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_FromInt((int)result
);
23449 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23452 wxDateSpan
*arg2
= 0 ;
23453 wxDateSpan
*result
;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "other", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23466 if (arg2
== NULL
) {
23467 PyErr_SetString(PyExc_TypeError
,"null reference");
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23474 result
= (wxDateSpan
*) &_result_ref
;
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23487 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23490 wxDateSpan
*arg2
= 0 ;
23491 wxDateSpan
*result
;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self",(char *) "other", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23504 if (arg2
== NULL
) {
23505 PyErr_SetString(PyExc_TypeError
,"null reference");
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23512 result
= (wxDateSpan
*) &_result_ref
;
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23525 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23528 wxDateSpan
*result
;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23541 result
= (wxDateSpan
*) &_result_ref
;
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23554 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23558 wxDateSpan
*result
;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self",(char *) "factor", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23568 arg2
= (int) SWIG_AsInt(obj1
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23574 result
= (wxDateSpan
*) &_result_ref
;
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23587 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23590 wxDateSpan
*arg2
= 0 ;
23591 wxDateSpan
*result
;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "other", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23604 if (arg2
== NULL
) {
23605 PyErr_SetString(PyExc_TypeError
,"null reference");
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23612 result
= (wxDateSpan
*) &_result_ref
;
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23625 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23628 wxDateSpan
*arg2
= 0 ;
23629 wxDateSpan
*result
;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "other", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23642 if (arg2
== NULL
) {
23643 PyErr_SetString(PyExc_TypeError
,"null reference");
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23650 result
= (wxDateSpan
*) &_result_ref
;
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23663 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23666 wxDateSpan
*result
;
23667 PyObject
* obj0
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23679 result
= (wxDateSpan
*) &_result_ref
;
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23692 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23696 wxDateSpan
*result
;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self",(char *) "factor", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23706 arg2
= (int) SWIG_AsInt(obj1
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23712 result
= (wxDateSpan
*) &_result_ref
;
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23725 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23728 wxDateSpan
*arg2
= 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "other", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23742 if (arg2
== NULL
) {
23743 PyErr_SetString(PyExc_TypeError
,"null reference");
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 wxDateSpan
* resultptr
;
23755 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23764 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23767 wxDateSpan
*arg2
= 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self",(char *) "other", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23781 if (arg2
== NULL
) {
23782 PyErr_SetString(PyExc_TypeError
,"null reference");
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 wxDateSpan
* resultptr
;
23794 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23803 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23808 PyObject
* obj0
= 0 ;
23809 PyObject
* obj1
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self",(char *) "n", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23817 arg2
= (int) SWIG_AsInt(obj1
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= wxDateSpan___mul__(arg1
,arg2
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23827 wxDateSpan
* resultptr
;
23828 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23837 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self",(char *) "n", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23851 arg2
= (int) SWIG_AsInt(obj1
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= wxDateSpan___rmul__(arg1
,arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 wxDateSpan
* resultptr
;
23862 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23871 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23874 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "other", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23903 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23906 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self",(char *) "other", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23935 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23938 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23940 return Py_BuildValue((char *)"");
23942 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23945 char *kwnames
[] = {
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (long)wxGetLocalTime();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_FromLong((long)result
);
23964 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23967 char *kwnames
[] = {
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (long)wxGetUTCTime();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= SWIG_FromLong((long)result
);
23986 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23989 char *kwnames
[] = {
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (long)wxGetCurrentTime();
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= SWIG_FromLong((long)result
);
24008 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24011 char *kwnames
[] = {
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= wxGetLocalTimeMillis();
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24025 hi
= PyLong_FromLong( (&result
)->GetHi() );
24026 lo
= PyLong_FromLong( (&result
)->GetLo() );
24027 shifter
= PyLong_FromLong(32);
24028 shifted
= PyNumber_Lshift(hi
, shifter
);
24029 resultobj
= PyNumber_Or(shifted
, lo
);
24032 Py_DECREF(shifter
);
24033 Py_DECREF(shifted
);
24041 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
24042 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24047 static PyObject
*_wrap_DefaultDateTime_get() {
24050 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24055 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24058 wxDataFormat
*result
;
24059 PyObject
* obj0
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "type", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24065 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24081 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxString
*arg1
= 0 ;
24084 wxDataFormat
*result
;
24085 bool temp1
= False
;
24086 PyObject
* obj0
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "format", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24093 arg1
= wxString_in_helper(obj0
);
24094 if (arg1
== NULL
) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24119 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 Py_INCREF(Py_None
); resultobj
= Py_None
;
24144 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24145 PyObject
*resultobj
;
24146 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24152 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24155 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24173 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24174 PyObject
*resultobj
;
24175 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24178 PyObject
* obj0
= 0 ;
24179 PyObject
* obj1
= 0 ;
24181 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24184 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24202 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24203 PyObject
*resultobj
;
24204 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24205 wxDataFormat
*arg2
= 0 ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24210 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24216 if (arg2
== NULL
) {
24217 PyErr_SetString(PyExc_TypeError
,"null reference");
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24236 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24241 argc
= PyObject_Length(args
);
24242 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24243 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24249 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24259 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24267 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24275 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24283 _v
= SWIG_CheckInt(argv
[1]);
24285 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24290 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24295 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24296 PyObject
*resultobj
;
24297 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24298 wxDataFormat
*arg2
= 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24303 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24309 if (arg2
== NULL
) {
24310 PyErr_SetString(PyExc_TypeError
,"null reference");
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24329 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24334 argc
= PyObject_Length(args
);
24335 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24336 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24342 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24352 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24360 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24368 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24376 _v
= SWIG_CheckInt(argv
[1]);
24378 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24383 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24388 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 PyObject
* obj1
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "format", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->SetType((wxDataFormatId
)arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 Py_INCREF(Py_None
); resultobj
= Py_None
;
24417 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_FromInt((int)result
);
24443 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= ((wxDataFormat
const *)arg1
)->GetId();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24475 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24478 wxString
*arg2
= 0 ;
24479 bool temp2
= False
;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "format", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 arg2
= wxString_in_helper(obj1
);
24491 if (arg2
== NULL
) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->SetId((wxString
const &)*arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24516 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24519 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24521 return Py_BuildValue((char *)"");
24523 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24524 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24529 static PyObject
*_wrap_FormatInvalid_get() {
24532 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24537 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
;
24539 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 Py_INCREF(Py_None
); resultobj
= Py_None
;
24562 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24565 int arg2
= (int) wxDataObject::Get
;
24566 SwigValueWrapper
< wxDataFormat
> result
;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "dir", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24577 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 wxDataFormat
* resultptr
;
24589 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24598 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24601 int arg2
= (int) wxDataObject::Get
;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "dir", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24613 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24630 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24633 wxDataFormat
*arg2
= 0 ;
24634 int arg3
= (int) wxDataObject::Get
;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 PyObject
* obj2
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "format",(char *) "dir", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24649 if (arg2
== NULL
) {
24650 PyErr_SetString(PyExc_TypeError
,"null reference");
24654 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24673 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24676 wxDataFormat
*arg2
= 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "format", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24690 if (arg2
== NULL
) {
24691 PyErr_SetString(PyExc_TypeError
,"null reference");
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24708 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24711 int arg2
= (int) wxDataObject::Get
;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "dir", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= result
;
24740 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24743 wxDataFormat
*arg2
= 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self",(char *) "format", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24757 if (arg2
== NULL
) {
24758 PyErr_SetString(PyExc_TypeError
,"null reference");
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= result
;
24775 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24778 wxDataFormat
*arg2
= 0 ;
24779 PyObject
*arg3
= (PyObject
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 PyObject
* obj2
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "format",(char *) "data", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24794 if (arg2
== NULL
) {
24795 PyErr_SetString(PyExc_TypeError
,"null reference");
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24815 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24818 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24820 return Py_BuildValue((char *)"");
24822 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24825 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24826 wxDataObjectSimple
*result
;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "format", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24837 if (arg1
== NULL
) {
24838 PyErr_SetString(PyExc_TypeError
,"null reference");
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24856 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24859 wxDataFormat
*result
;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24872 result
= (wxDataFormat
*) &_result_ref
;
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24885 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24888 wxDataFormat
*arg2
= 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "format", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24901 if (arg2
== NULL
) {
24902 PyErr_SetString(PyExc_TypeError
,"null reference");
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 Py_INCREF(Py_None
); resultobj
= Py_None
;
24919 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24945 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= result
;
24971 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24974 PyObject
*arg2
= (PyObject
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "data", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25002 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
25004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25005 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25007 return Py_BuildValue((char *)"");
25009 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25012 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25013 wxPyDataObjectSimple
*result
;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "format", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25024 if (arg1
== NULL
) {
25025 PyErr_SetString(PyExc_TypeError
,"null reference");
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25043 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25046 PyObject
*arg2
= (PyObject
*) 0 ;
25047 PyObject
*arg3
= (PyObject
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "self",(char *) "_class", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 Py_INCREF(Py_None
); resultobj
= Py_None
;
25074 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
25076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25077 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25079 return Py_BuildValue((char *)"");
25081 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxDataObjectComposite
*result
;
25084 char *kwnames
[] = {
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25103 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25106 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25107 bool arg3
= (bool) False
;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 PyObject
* obj2
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25119 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25121 arg3
= (bool) SWIG_AsBool(obj2
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->Add(arg2
,arg3
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 Py_INCREF(Py_None
); resultobj
= Py_None
;
25138 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25141 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25143 return Py_BuildValue((char *)"");
25145 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25148 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25149 wxTextDataObject
*result
;
25150 bool temp1
= False
;
25151 PyObject
* obj0
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "text", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25159 arg1
= wxString_in_helper(obj0
);
25160 if (arg1
== NULL
) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25186 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25190 PyObject
* obj0
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 result
= (size_t)(arg1
)->GetTextLength();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25212 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (arg1
)->GetText();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25244 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25247 wxString
*arg2
= 0 ;
25248 bool temp2
= False
;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "text", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25259 arg2
= wxString_in_helper(obj1
);
25260 if (arg2
== NULL
) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 (arg1
)->SetText((wxString
const &)*arg2
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25288 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25290 return Py_BuildValue((char *)"");
25292 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25295 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25296 wxPyTextDataObject
*result
;
25297 bool temp1
= False
;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "text", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25306 arg1
= wxString_in_helper(obj0
);
25307 if (arg1
== NULL
) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25333 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25336 PyObject
*arg2
= (PyObject
*) 0 ;
25337 PyObject
*arg3
= (PyObject
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 PyObject
* obj2
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self",(char *) "self",(char *) "_class", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25367 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25369 return Py_BuildValue((char *)"");
25371 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25374 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25375 wxBitmapDataObject
*result
;
25376 PyObject
* obj0
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "bitmap", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25386 if (arg1
== NULL
) {
25387 PyErr_SetString(PyExc_TypeError
,"null reference");
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25405 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 wxBitmap
* resultptr
;
25426 resultptr
= new wxBitmap((wxBitmap
&) result
);
25427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25435 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25438 wxBitmap
*arg2
= 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "bitmap", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25451 if (arg2
== NULL
) {
25452 PyErr_SetString(PyExc_TypeError
,"null reference");
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25472 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25474 return Py_BuildValue((char *)"");
25476 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25479 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25480 wxPyBitmapDataObject
*result
;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "bitmap", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25491 if (arg1
== NULL
) {
25492 PyErr_SetString(PyExc_TypeError
,"null reference");
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25510 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25513 PyObject
*arg2
= (PyObject
*) 0 ;
25514 PyObject
*arg3
= (PyObject
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 PyObject
* obj2
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "self",(char *) "_class", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25544 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25546 return Py_BuildValue((char *)"");
25548 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxFileDataObject
*result
;
25551 char *kwnames
[] = {
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (wxFileDataObject
*)new wxFileDataObject();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25570 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25573 wxArrayString
*result
;
25574 PyObject
* obj0
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25586 result
= (wxArrayString
*) &_result_ref
;
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= wxArrayString2PyList_helper(*result
);
25601 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25604 wxString
*arg2
= 0 ;
25605 bool temp2
= False
;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self",(char *) "filename", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 arg2
= wxString_in_helper(obj1
);
25617 if (arg2
== NULL
) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 (arg1
)->AddFile((wxString
const &)*arg2
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 Py_INCREF(Py_None
); resultobj
= Py_None
;
25642 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25645 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25647 return Py_BuildValue((char *)"");
25649 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25652 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25653 wxCustomDataObject
*result
;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "format", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25664 if (arg1
== NULL
) {
25665 PyErr_SetString(PyExc_TypeError
,"null reference");
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25683 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25686 PyObject
*arg2
= (PyObject
*) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self",(char *) "data", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25714 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25715 PyObject
*resultobj
;
25716 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25718 PyObject
* obj0
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (size_t)(arg1
)->GetSize();
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25740 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= result
;
25766 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25769 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25771 return Py_BuildValue((char *)"");
25773 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxURLDataObject
*result
;
25776 char *kwnames
[] = {
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (wxURLDataObject
*)new wxURLDataObject();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25795 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25799 PyObject
* obj0
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 result
= (arg1
)->GetURL();
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25827 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25830 wxString
*arg2
= 0 ;
25831 bool temp2
= False
;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "url", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 arg2
= wxString_in_helper(obj1
);
25843 if (arg2
== NULL
) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 (arg1
)->SetURL((wxString
const &)*arg2
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 Py_INCREF(Py_None
); resultobj
= Py_None
;
25868 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25871 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25873 return Py_BuildValue((char *)"");
25875 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxMetafileDataObject
*result
;
25878 char *kwnames
[] = {
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25897 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25900 wxMetafile
*arg2
= 0 ;
25901 PyObject
* obj0
= 0 ;
25902 PyObject
* obj1
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self",(char *) "metafile", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25913 if (arg2
== NULL
) {
25914 PyErr_SetString(PyExc_TypeError
,"null reference");
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 Py_INCREF(Py_None
); resultobj
= Py_None
;
25931 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25935 PyObject
* obj0
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25951 wxMetafile
* resultptr
;
25952 resultptr
= new wxMetafile((wxMetafile
&) result
);
25953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25961 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25964 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25966 return Py_BuildValue((char *)"");
25968 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25972 PyObject
* obj0
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "res", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25978 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25996 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25999 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26000 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26001 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26002 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26003 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26004 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26005 wxPyDropSource
*result
;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 PyObject
* obj2
= 0 ;
26009 PyObject
* obj3
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26021 if (arg2
== NULL
) {
26022 PyErr_SetString(PyExc_TypeError
,"null reference");
26027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26030 if (arg3
== NULL
) {
26031 PyErr_SetString(PyExc_TypeError
,"null reference");
26036 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26039 if (arg4
== NULL
) {
26040 PyErr_SetString(PyExc_TypeError
,"null reference");
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26058 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26061 PyObject
*arg2
= (PyObject
*) 0 ;
26062 PyObject
*arg3
= (PyObject
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 PyObject
* obj3
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26077 arg4
= (int) SWIG_AsInt(obj3
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 Py_INCREF(Py_None
); resultobj
= Py_None
;
26093 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26095 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26096 PyObject
* obj0
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 Py_INCREF(Py_None
); resultobj
= Py_None
;
26118 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
;
26120 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26121 wxDataObject
*arg2
= 0 ;
26122 PyObject
* obj0
= 0 ;
26123 PyObject
* obj1
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self",(char *) "data", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26134 if (arg2
== NULL
) {
26135 PyErr_SetString(PyExc_TypeError
,"null reference");
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 (arg1
)->SetData(*arg2
);
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 Py_INCREF(Py_None
); resultobj
= Py_None
;
26152 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26153 PyObject
*resultobj
;
26154 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26155 wxDataObject
*result
;
26156 PyObject
* obj0
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26178 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26182 wxCursor
*arg3
= 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 PyObject
* obj2
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self",(char *) "res",(char *) "cursor", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26198 if (arg3
== NULL
) {
26199 PyErr_SetString(PyExc_TypeError
,"null reference");
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26219 int arg2
= (int) wxDrag_CopyOnly
;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self",(char *) "flags", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26231 arg2
= (int) SWIG_AsInt(obj1
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (int)(arg1
)->DoDragDrop(arg2
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_FromInt((int)result
);
26248 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "effect", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26280 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26283 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26285 return Py_BuildValue((char *)"");
26287 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26289 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26290 wxPyDropTarget
*result
;
26291 PyObject
* obj0
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "dataObject", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26299 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26315 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26318 PyObject
*arg2
= (PyObject
*) 0 ;
26319 PyObject
*arg3
= (PyObject
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 PyObject
* obj2
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "self",(char *) "_class", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 Py_INCREF(Py_None
); resultobj
= Py_None
;
26346 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 Py_INCREF(Py_None
); resultobj
= Py_None
;
26371 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26374 wxDataObject
*result
;
26375 PyObject
* obj0
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26397 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26400 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "dataObject", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26411 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 (arg1
)->SetDataObject(arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 Py_INCREF(Py_None
); resultobj
= Py_None
;
26426 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 PyObject
* obj2
= 0 ;
26436 PyObject
* obj3
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 arg2
= (int) SWIG_AsInt(obj1
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26446 arg3
= (int) SWIG_AsInt(obj2
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26448 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_FromInt((int)result
);
26464 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 PyObject
* obj2
= 0 ;
26474 PyObject
* obj3
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26482 arg2
= (int) SWIG_AsInt(obj1
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26484 arg3
= (int) SWIG_AsInt(obj2
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26486 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_FromInt((int)result
);
26502 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->base_OnLeave();
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 Py_INCREF(Py_None
); resultobj
= Py_None
;
26527 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 PyObject
* obj2
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "x",(char *) "y", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 arg2
= (int) SWIG_AsInt(obj1
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26545 arg3
= (int) SWIG_AsInt(obj2
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26563 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (bool)(arg1
)->GetData();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26591 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26594 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26596 return Py_BuildValue((char *)"");
26598 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
;
26600 wxPyTextDropTarget
*result
;
26601 char *kwnames
[] = {
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26620 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26623 PyObject
*arg2
= (PyObject
*) 0 ;
26624 PyObject
*arg3
= (PyObject
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 PyObject
* obj2
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "self",(char *) "_class", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 Py_INCREF(Py_None
); resultobj
= Py_None
;
26651 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 PyObject
* obj2
= 0 ;
26661 PyObject
* obj3
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 arg2
= (int) SWIG_AsInt(obj1
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26671 arg3
= (int) SWIG_AsInt(obj2
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26673 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= SWIG_FromInt((int)result
);
26689 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 PyObject
* obj2
= 0 ;
26699 PyObject
* obj3
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26707 arg2
= (int) SWIG_AsInt(obj1
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26709 arg3
= (int) SWIG_AsInt(obj2
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26711 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= SWIG_FromInt((int)result
);
26727 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26730 PyObject
* obj0
= 0 ;
26731 char *kwnames
[] = {
26732 (char *) "self", NULL
26735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->base_OnLeave();
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 Py_INCREF(Py_None
); resultobj
= Py_None
;
26752 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 PyObject
* obj2
= 0 ;
26761 char *kwnames
[] = {
26762 (char *) "self",(char *) "x",(char *) "y", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26768 arg2
= (int) SWIG_AsInt(obj1
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26770 arg3
= (int) SWIG_AsInt(obj2
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26788 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 PyObject
* obj2
= 0 ;
26798 PyObject
* obj3
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 arg2
= (int) SWIG_AsInt(obj1
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26808 arg3
= (int) SWIG_AsInt(obj2
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26810 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_FromInt((int)result
);
26826 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26829 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26831 return Py_BuildValue((char *)"");
26833 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxPyFileDropTarget
*result
;
26836 char *kwnames
[] = {
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26855 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26858 PyObject
*arg2
= (PyObject
*) 0 ;
26859 PyObject
*arg3
= (PyObject
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 PyObject
* obj2
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self",(char *) "self",(char *) "_class", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 Py_INCREF(Py_None
); resultobj
= Py_None
;
26886 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 PyObject
* obj2
= 0 ;
26896 PyObject
* obj3
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26904 arg2
= (int) SWIG_AsInt(obj1
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26906 arg3
= (int) SWIG_AsInt(obj2
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26908 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_FromInt((int)result
);
26924 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 PyObject
* obj1
= 0 ;
26933 PyObject
* obj2
= 0 ;
26934 PyObject
* obj3
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26942 arg2
= (int) SWIG_AsInt(obj1
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26944 arg3
= (int) SWIG_AsInt(obj2
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26946 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_FromInt((int)result
);
26962 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->base_OnLeave();
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 PyObject
* obj2
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "x",(char *) "y", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27003 arg2
= (int) SWIG_AsInt(obj1
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27005 arg3
= (int) SWIG_AsInt(obj2
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27023 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 PyObject
* obj2
= 0 ;
27033 PyObject
* obj3
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27041 arg2
= (int) SWIG_AsInt(obj1
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27043 arg3
= (int) SWIG_AsInt(obj2
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27045 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_FromInt((int)result
);
27061 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
27063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27064 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27066 return Py_BuildValue((char *)"");
27068 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxClipboard
*result
;
27071 char *kwnames
[] = {
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (wxClipboard
*)new wxClipboard();
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27090 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 Py_INCREF(Py_None
); resultobj
= Py_None
;
27115 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (bool)(arg1
)->Open();
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27143 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27168 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27172 PyObject
* obj0
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27196 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
;
27198 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27199 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "data", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27211 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (bool)(arg1
)->AddData(arg2
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27228 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27231 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 PyObject
* obj1
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self",(char *) "data", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27243 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (bool)(arg1
)->SetData(arg2
);
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27260 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27263 wxDataFormat
*arg2
= 0 ;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "format", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27277 if (arg2
== NULL
) {
27278 PyErr_SetString(PyExc_TypeError
,"null reference");
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27297 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27300 wxDataObject
*arg2
= 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self",(char *) "data", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27314 if (arg2
== NULL
) {
27315 PyErr_SetString(PyExc_TypeError
,"null reference");
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (bool)(arg1
)->GetData(*arg2
);
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27334 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27337 PyObject
* obj0
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 Py_INCREF(Py_None
); resultobj
= Py_None
;
27359 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (bool)(arg1
)->Flush();
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27387 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27390 bool arg2
= (bool) True
;
27391 PyObject
* obj0
= 0 ;
27392 PyObject
* obj1
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "self",(char *) "primary", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27401 arg2
= (bool) SWIG_AsBool(obj1
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 (arg1
)->UsePrimarySelection(arg2
);
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27411 Py_INCREF(Py_None
); resultobj
= Py_None
;
27418 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxClipboard
*result
;
27421 char *kwnames
[] = {
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (wxClipboard
*)wxClipboard::Get();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27440 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27443 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27445 return Py_BuildValue((char *)"");
27447 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27450 wxClipboardLocker
*result
;
27451 PyObject
* obj0
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "clipboard", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27475 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
;
27477 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 Py_INCREF(Py_None
); resultobj
= Py_None
;
27500 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27504 PyObject
* obj0
= 0 ;
27505 char *kwnames
[] = {
27506 (char *) "self", NULL
27509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27528 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27531 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27533 return Py_BuildValue((char *)"");
27535 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 int arg1
= (int) 0 ;
27538 int arg2
= (int) 0 ;
27539 int arg3
= (int) 0 ;
27540 int arg4
= (int) 0 ;
27541 wxVideoMode
*result
;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 PyObject
* obj2
= 0 ;
27545 PyObject
* obj3
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27552 arg1
= (int) SWIG_AsInt(obj0
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 arg2
= (int) SWIG_AsInt(obj1
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27560 arg3
= (int) SWIG_AsInt(obj2
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27564 arg4
= (int) SWIG_AsInt(obj3
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27581 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27584 PyObject
* obj0
= 0 ;
27585 char *kwnames
[] = {
27586 (char *) "self", NULL
27589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 Py_INCREF(Py_None
); resultobj
= Py_None
;
27606 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27609 wxVideoMode
*arg2
= 0 ;
27611 PyObject
* obj0
= 0 ;
27612 PyObject
* obj1
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self",(char *) "other", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27623 if (arg2
== NULL
) {
27624 PyErr_SetString(PyExc_TypeError
,"null reference");
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27643 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27647 PyObject
* obj0
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= SWIG_FromInt((int)result
);
27669 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= SWIG_FromInt((int)result
);
27695 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_FromInt((int)result
);
27721 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27749 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
;
27751 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27752 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "self",(char *) "other", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27781 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27784 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "other", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27813 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self",(char *) "w", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27826 arg2
= (int) SWIG_AsInt(obj1
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27828 if (arg1
) (arg1
)->w
= arg2
;
27830 Py_INCREF(Py_None
); resultobj
= Py_None
;
27837 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 result
= (int) ((arg1
)->w
);
27851 resultobj
= SWIG_FromInt((int)result
);
27858 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 char *kwnames
[] = {
27865 (char *) "self",(char *) "h", NULL
27868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27871 arg2
= (int) SWIG_AsInt(obj1
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27873 if (arg1
) (arg1
)->h
= arg2
;
27875 Py_INCREF(Py_None
); resultobj
= Py_None
;
27882 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 result
= (int) ((arg1
)->h
);
27896 resultobj
= SWIG_FromInt((int)result
);
27903 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27904 PyObject
*resultobj
;
27905 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self",(char *) "bpp", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 arg2
= (int) SWIG_AsInt(obj1
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27918 if (arg1
) (arg1
)->bpp
= arg2
;
27920 Py_INCREF(Py_None
); resultobj
= Py_None
;
27927 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27931 PyObject
* obj0
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27939 result
= (int) ((arg1
)->bpp
);
27941 resultobj
= SWIG_FromInt((int)result
);
27948 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self",(char *) "refresh", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 arg2
= (int) SWIG_AsInt(obj1
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27963 if (arg1
) (arg1
)->refresh
= arg2
;
27965 Py_INCREF(Py_None
); resultobj
= Py_None
;
27972 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
;
27974 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 result
= (int) ((arg1
)->refresh
);
27986 resultobj
= SWIG_FromInt((int)result
);
27993 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27996 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27998 return Py_BuildValue((char *)"");
28000 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
28001 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28006 static PyObject
*_wrap_DefaultVideoMode_get() {
28009 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28014 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 size_t arg1
= (size_t) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "index", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28025 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (wxDisplay
*)new wxDisplay(arg1
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28042 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
;
28044 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28045 PyObject
* obj0
= 0 ;
28046 char *kwnames
[] = {
28047 (char *) "self", NULL
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 Py_INCREF(Py_None
); resultobj
= Py_None
;
28067 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28070 char *kwnames
[] = {
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 result
= (size_t)wxDisplay::GetCount();
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28089 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
;
28091 wxPoint
*arg1
= 0 ;
28094 PyObject
* obj0
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "pt", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28102 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= SWIG_FromInt((int)result
);
28118 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxWindow
*arg1
= (wxWindow
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "window", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (int)wxDisplay::GetFromWindow(arg1
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_FromInt((int)result
);
28144 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 char *kwnames
[] = {
28178 (char *) "self", NULL
28181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28192 wxRect
* resultptr
;
28193 resultptr
= new wxRect((wxRect
&) result
);
28194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28202 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= ((wxDisplay
const *)arg1
)->GetName();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28234 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28238 PyObject
* obj0
= 0 ;
28239 char *kwnames
[] = {
28240 (char *) "self", NULL
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28262 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28265 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28266 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28268 PyObject
* obj0
= 0 ;
28269 PyObject
* obj1
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self",(char *) "mode", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28281 if (arg2
== NULL
) {
28282 PyErr_SetString(PyExc_TypeError
,"null reference");
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= result
;
28300 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28303 wxVideoMode result
;
28304 PyObject
* obj0
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28320 wxVideoMode
* resultptr
;
28321 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28330 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28333 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28334 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28336 PyObject
* obj0
= 0 ;
28337 PyObject
* obj1
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "mode", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28349 if (arg2
== NULL
) {
28350 PyErr_SetString(PyExc_TypeError
,"null reference");
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28370 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->ResetMode();
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 Py_INCREF(Py_None
); resultobj
= Py_None
;
28395 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28398 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28400 return Py_BuildValue((char *)"");
28402 static PyMethodDef SwigMethods
[] = {
28403 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28410 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28417 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28481 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28489 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28505 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28510 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28513 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28516 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28522 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28536 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28542 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28548 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28551 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28565 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28568 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28569 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28572 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28599 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28601 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28603 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28605 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28612 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28618 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28631 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28636 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28639 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28656 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28664 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28710 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28738 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28748 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28764 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28780 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28794 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28803 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28846 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28849 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28852 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28856 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28948 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28949 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28950 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28951 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28952 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28953 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28954 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28955 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28956 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28957 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28968 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
29013 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
29042 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
29047 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
29051 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
29055 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
29056 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
29061 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29065 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
29067 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
29070 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
29072 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
29073 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
29077 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
29078 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
29080 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
29081 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
29082 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
29083 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29084 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
29088 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29089 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
29091 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
29095 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29097 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
29098 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
29100 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
29101 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
29102 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
29107 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
29110 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
29111 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
29115 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
29116 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29121 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
29125 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29127 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29128 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29130 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29131 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29133 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29134 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
29136 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29139 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
29144 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29146 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29147 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29148 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29149 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29150 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29151 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
29152 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
29158 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29159 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29162 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29163 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29165 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29166 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29169 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29170 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29173 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29175 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29176 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29177 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29179 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29180 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29181 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29183 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29184 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29186 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29188 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29193 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29194 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29199 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29200 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29206 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29208 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29211 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29212 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29214 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29215 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29217 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29218 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29220 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29221 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29223 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29224 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29226 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29227 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29229 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29230 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29232 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29235 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29236 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29238 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29241 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29242 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29244 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29245 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29247 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29250 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29251 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29253 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29254 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29256 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29257 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29259 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29260 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29262 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29263 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29265 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29266 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29268 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29269 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29271 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29272 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29274 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29277 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29278 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29280 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29281 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29283 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29284 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29286 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29287 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29289 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29290 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29292 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29293 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29295 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29298 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29299 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29301 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29302 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29304 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29305 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29307 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29310 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29313 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29314 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29316 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29317 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29319 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29320 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29322 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29323 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29325 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29326 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29328 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29329 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29331 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29332 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29334 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29335 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29337 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29338 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29340 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29341 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29343 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29344 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29346 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29347 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29349 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29350 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29352 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29353 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29355 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29356 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29358 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29359 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29361 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29362 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29364 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29365 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29367 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29368 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29370 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29371 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29373 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29374 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29376 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29377 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29379 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29380 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29382 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29383 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29385 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29386 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29388 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29389 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29391 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29392 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29394 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29397 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29398 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29400 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29403 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29404 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29406 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29407 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29409 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29410 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29412 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29413 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29415 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29418 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29419 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29421 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29422 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29424 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29425 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29427 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29428 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29430 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29431 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29433 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29434 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29436 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29437 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29439 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29440 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29442 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29443 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29445 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29446 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29448 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29449 return (void *)((wxObject
*) ((wxSizer
*) x
));
29451 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29452 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29454 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29455 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29457 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29460 static void *_p_wxEventTo_p_wxObject(void *x
) {
29461 return (void *)((wxObject
*) ((wxEvent
*) x
));
29463 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29464 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29466 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29467 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29469 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29470 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29472 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29473 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29475 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29476 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29478 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29479 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29481 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29482 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29484 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29485 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29487 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29488 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29490 static void *_p_wxControlTo_p_wxObject(void *x
) {
29491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29493 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29494 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29496 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29497 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29499 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29500 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29502 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29503 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29505 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29506 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29508 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29509 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29511 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29514 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29515 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29517 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29518 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29520 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29521 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29523 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29524 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29526 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29529 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29530 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29532 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29533 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29535 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29536 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29538 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29539 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29541 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29542 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29544 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29545 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29547 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29550 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29553 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29556 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29559 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29562 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29563 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29565 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29568 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29569 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29571 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29572 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29574 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29577 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29578 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29580 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29583 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29584 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29586 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29587 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29589 static void *_p_wxImageTo_p_wxObject(void *x
) {
29590 return (void *)((wxObject
*) ((wxImage
*) x
));
29592 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29593 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29595 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29596 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29598 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29599 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29601 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29604 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29605 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29607 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29608 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29610 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29611 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29613 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29614 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29616 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29619 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29620 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29622 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29623 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29625 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29628 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29629 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29631 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29632 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29634 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29635 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29637 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29638 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29640 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29641 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29643 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29644 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29646 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29649 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29650 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29652 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29653 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29655 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29656 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29658 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29661 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29662 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29664 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29667 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29670 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29671 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29673 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29676 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29677 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29679 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29680 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29682 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29683 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29685 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29686 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29688 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29689 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29691 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29692 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29694 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29695 return (void *)((wxWindow
*) ((wxControl
*) x
));
29697 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29698 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29700 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29701 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29703 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29704 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29706 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29707 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29709 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}};
29710 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}};
29711 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}};
29712 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}};
29713 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}};
29714 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}};
29715 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}};
29716 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}};
29717 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}};
29718 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}};
29719 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}};
29720 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}};
29721 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}};
29722 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}};
29723 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}};
29724 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}};
29725 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}};
29726 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}};
29727 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}};
29728 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}};
29729 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}};
29730 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}};
29731 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}};
29732 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}};
29733 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}};
29734 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}};
29735 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}};
29736 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}};
29737 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}};
29738 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}};
29739 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}};
29740 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}};
29741 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}};
29742 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}};
29743 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}};
29744 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}};
29745 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}};
29746 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}};
29747 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}};
29748 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}};
29749 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}};
29750 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}};
29751 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}};
29752 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}};
29753 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}};
29754 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}};
29755 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}};
29756 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}};
29757 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}};
29758 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}};
29759 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}};
29760 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}};
29761 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}};
29762 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}};
29763 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}};
29764 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}};
29765 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}};
29766 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}};
29767 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}};
29768 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}};
29769 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}};
29770 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}};
29771 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}};
29772 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}};
29773 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}};
29774 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}};
29775 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}};
29776 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}};
29777 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}};
29778 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}};
29779 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}};
29780 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}};
29781 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}};
29782 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}};
29783 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}};
29784 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}};
29785 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}};
29786 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}};
29787 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}};
29788 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}};
29789 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}};
29790 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}};
29791 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}};
29792 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}};
29793 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}};
29794 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}};
29796 static swig_type_info
*swig_types_initial
[] = {
29797 _swigt__p_wxLogChain
,
29798 _swigt__p_wxMutexGuiLocker
,
29799 _swigt__p_wxMetafile
,
29800 _swigt__p_wxFileHistory
,
29802 _swigt__p_wxDateTime__TimeZone
,
29805 _swigt__p_wxConfigBase
,
29806 _swigt__p_wxDisplay
,
29807 _swigt__p_wxFileType
,
29808 _swigt__p_wxLogGui
,
29810 _swigt__p_wxDataFormat
,
29811 _swigt__p_wxTimerEvent
,
29815 _swigt__p_wxClipboard
,
29816 _swigt__p_wxStopWatch
,
29818 _swigt__p_wxClipboardLocker
,
29820 _swigt__p_wxLogStderr
,
29821 _swigt__p_wxLogTextCtrl
,
29822 _swigt__p_wxTextCtrl
,
29823 _swigt__p_wxBusyCursor
,
29824 _swigt__p_wxPyBitmapDataObject
,
29825 _swigt__p_wxPyTextDataObject
,
29826 _swigt__p_wxBitmapDataObject
,
29827 _swigt__p_wxTextDataObject
,
29828 _swigt__p_wxDataObject
,
29829 _swigt__p_wxFileDataObject
,
29830 _swigt__p_wxCustomDataObject
,
29831 _swigt__p_wxURLDataObject
,
29832 _swigt__p_wxMetafileDataObject
,
29834 _swigt__p_wxTimerRunner
,
29835 _swigt__p_wxLogWindow
,
29836 _swigt__p_wxTimeSpan
,
29837 _swigt__p_wxArrayString
,
29838 _swigt__p_wxWindowDisabler
,
29839 _swigt__p_wxToolTip
,
29840 _swigt__p_wxDataObjectComposite
,
29841 _swigt__p_wxFileConfig
,
29842 _swigt__p_wxSystemSettings
,
29843 _swigt__p_wxVideoMode
,
29844 _swigt__p_wxPyDataObjectSimple
,
29845 _swigt__p_wxDataObjectSimple
,
29846 _swigt__p_wxEvtHandler
,
29849 _swigt__p_wxSingleInstanceChecker
,
29850 _swigt__p_wxFileTypeInfo
,
29853 _swigt__p_wxMimeTypesManager
,
29854 _swigt__p_wxPyArtProvider
,
29855 _swigt__p_wxPyTipProvider
,
29856 _swigt__p_wxTipProvider
,
29857 _swigt__p_wxJoystick
,
29858 _swigt__p_wxSystemOptions
,
29860 _swigt__p_wxJoystickEvent
,
29861 _swigt__p_wxCursor
,
29862 _swigt__p_wxObject
,
29863 _swigt__p_wxOutputStream
,
29864 _swigt__p_wxDateTime
,
29865 _swigt__p_wxPyDropSource
,
29866 _swigt__p_wxWindow
,
29867 _swigt__p_wxString
,
29868 _swigt__p_wxPyProcess
,
29869 _swigt__p_wxBitmap
,
29870 _swigt__p_wxConfig
,
29872 _swigt__p_wxBusyInfo
,
29873 _swigt__p_wxPyDropTarget
,
29874 _swigt__p_wxPyTextDropTarget
,
29875 _swigt__p_wxPyFileDropTarget
,
29876 _swigt__p_wxProcessEvent
,
29878 _swigt__p_wxLogNull
,
29879 _swigt__p_wxColour
,
29880 _swigt__p_wxConfigPathChanger
,
29881 _swigt__p_wxPyTimer
,
29882 _swigt__p_wxDateSpan
,
29887 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29889 static swig_const_info swig_const_table
[] = {
29890 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29891 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29892 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29893 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29894 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29904 SWIGEXPORT(void) SWIG_init(void) {
29905 static PyObject
*SWIG_globals
= 0;
29906 static int typeinit
= 0;
29909 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29910 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29911 d
= PyModule_GetDict(m
);
29914 for (i
= 0; swig_types_initial
[i
]; i
++) {
29915 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29919 SWIG_InstallConstants(d
,swig_const_table
);
29921 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29922 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29923 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29924 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29925 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29926 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29927 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29928 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29929 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29930 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29931 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29932 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29933 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29934 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29935 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29936 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29937 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29938 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29939 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29940 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29941 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29942 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29943 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29944 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29945 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29946 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29947 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29948 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29949 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29950 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29951 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29952 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29953 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29954 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29955 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29956 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29957 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29958 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29959 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29960 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29961 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29962 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29963 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29964 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29965 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29966 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29967 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29968 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29969 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29970 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29971 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29972 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29973 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29974 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29975 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29976 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29977 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29978 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29979 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29980 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29981 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29982 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29983 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29984 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29985 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29986 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29987 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29988 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29989 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29990 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29991 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29992 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29993 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29994 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29995 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29996 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29997 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29998 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29999 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
30000 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
30001 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
30002 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
30003 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
30004 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
30005 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30006 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
30007 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
30008 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
30009 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
30010 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
30011 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
30012 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30013 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30014 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30015 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30016 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
30017 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
30018 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
30019 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
30020 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30022 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30024 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
30025 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
30026 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
30027 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
30028 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
30029 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
30030 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
30031 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
30032 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
30033 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
30034 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
30035 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30036 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30037 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30038 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30039 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30040 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
30041 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
30042 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
30043 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
30044 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
30045 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
30046 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
30047 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
30048 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
30049 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
30050 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
30051 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
30052 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
30053 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
30054 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
30055 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
30056 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
30057 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
30058 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
30059 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
30060 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
30061 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
30062 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
30063 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
30064 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
30065 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
30066 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
30067 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
30068 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
30069 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30070 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
30071 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
30072 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
30073 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
30075 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30077 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
30078 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
30079 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
30080 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
30081 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
30082 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
30083 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
30084 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30085 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30086 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30087 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30088 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
30089 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
30090 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
30091 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
30092 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
30093 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
30094 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
30095 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
30096 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30097 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30098 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30099 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30100 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30101 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30102 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30103 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30104 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30105 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30106 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30107 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30108 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30109 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30110 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30111 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30112 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30113 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30114 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30115 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30116 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30117 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30118 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30119 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30120 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30121 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30122 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30123 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30124 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30125 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30126 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30127 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30128 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30129 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30130 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30131 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30132 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30133 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30134 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30135 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30137 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30139 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
30140 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
30141 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
30142 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30143 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
30144 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
30145 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
30146 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
30147 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
30148 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30149 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30150 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
30151 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
30152 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
30153 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
30154 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
30155 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
30156 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
30157 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
30158 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
30159 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
30160 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
30161 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30162 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30163 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30164 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30165 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30166 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30167 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30168 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30169 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30170 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30171 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30172 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30173 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30174 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30175 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30176 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30177 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30178 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30179 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30180 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30181 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30182 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30183 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30184 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30185 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30186 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30187 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30188 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30189 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30190 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30191 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30192 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30193 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30194 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30195 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30196 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30197 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30198 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30199 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30200 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30201 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30202 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30203 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30204 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30205 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30206 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30207 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30208 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30209 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30210 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30211 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30212 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30213 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30214 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30215 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30216 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30217 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30218 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30219 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30220 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30221 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30222 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30223 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30224 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30225 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30226 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30227 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30228 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30229 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30230 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30231 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30232 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30233 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30234 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30235 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30236 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30237 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30238 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30239 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30240 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30241 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30242 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30243 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30244 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30245 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30246 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30247 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30248 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30249 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30250 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30251 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30252 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30253 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30254 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30255 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30256 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30257 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30258 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30259 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30260 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30261 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30262 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30263 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30264 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30265 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30266 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30267 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30268 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30269 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30270 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30271 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30272 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30273 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30274 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30275 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30276 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30277 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30278 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30279 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30280 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30281 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30282 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30283 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30284 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30285 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30286 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30287 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30288 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30289 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30290 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30291 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30292 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30293 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30294 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30295 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30296 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30297 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30298 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30299 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30300 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30301 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30302 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30303 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30304 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30305 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30306 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30307 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30308 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30309 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30310 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30311 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30312 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30313 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30314 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30315 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30316 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30317 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30318 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30319 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30320 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30321 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30322 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30323 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30324 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30325 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30326 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30327 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30328 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30329 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30330 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30331 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30332 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30333 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30334 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30335 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30336 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30337 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30338 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30340 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30341 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30342 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30343 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30345 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);