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_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _misc_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc_
304 #define SWIG_name "_misc_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value
, const char* type
,
362 long min_value
, long max_value
)
364 if (!PyErr_Occurred()) {
365 if (value
< min_value
) {
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value
, type
, min_value
);
370 PyErr_SetObject(PyExc_OverflowError
, err
);
372 } else if (value
> max_value
) {
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value
, type
, max_value
);
376 PyErr_SetObject(PyExc_OverflowError
, err
);
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject
* obj
)
387 if (PyNumber_Check(obj
))
388 return PyInt_AsLong(obj
);
390 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
391 obj
->ob_type
->tp_name
);
392 PyErr_SetObject(PyExc_TypeError
, errmsg
);
399 #if INT_MAX != LONG_MAX
400 SWIGSTATICINLINE(int)
401 SWIG_AsInt(PyObject
*obj
)
403 return swig_numeric_cast(int,
404 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
405 "int", INT_MIN
, INT_MAX
));
408 #define SWIG_AsInt SWIG_AsLong
412 SWIGSTATICINLINE(int)
413 SWIG_CheckInt(PyObject
* obj
)
416 if (PyErr_Occurred()) {
424 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
425 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
426 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 long wxGetFreeMemory()
489 { wxPyRaiseNotImplemented(); return 0; }
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 void wxWakeUpMainThread() {}
532 bool wxThread_IsMain() {
533 #ifdef WXP_WITH_THREAD
534 return wxThread::IsMain();
541 int wxCaret_GetBlinkTime() {
542 return wxCaret::GetBlinkTime();
545 void wxCaret_SetBlinkTime(int milliseconds
) {
546 wxCaret::SetBlinkTime(milliseconds
);
550 #include <wx/snglinst.h>
554 #include <wx/msw/private.h>
555 #include <wx/dynload.h>
560 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
567 // This one only partially works. Appears to be an undocumented
568 // "standard" convention that not all widgets adhear to. For
569 // example, for some widgets backgrounds or non-client areas may
571 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
575 // This one works much better, except for on XP. On Win2k nearly
576 // all widgets and their children are captured correctly[**]. On
577 // XP with Themes activated most native widgets draw only
578 // partially, if at all. Without themes it works just like on
581 // ** For example the radio buttons in a wxRadioBox are not its
582 // children by default, but you can capture it via the panel
583 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
584 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
585 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
586 PRF_ERASEBKGND
| PRF_OWNED
);
590 // This one is only defined in the latest SDK and is only
591 // available on XP. MSDN says it is similar to sending WM_PRINT
592 // so I expect that it will work similar to the above. Since it
593 // is avaialble only on XP, it can't be compiled like this and
594 // will have to be loaded dynamically.
595 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
600 // Use PrintWindow if available, or fallback to WM_PRINT
601 // otherwise. Unfortunately using PrintWindow is even worse than
602 // WM_PRINT. For most native widgets nothing is drawn to the dc
603 // at all, with or without Themes.
604 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
605 static bool s_triedToLoad
= False
;
606 static PrintWindow_t pfnPrintWindow
= NULL
;
607 if ( !s_triedToLoad
)
610 s_triedToLoad
= True
;
611 wxDynamicLibrary
dllUser32(_T("user32.dll"));
612 if ( dllUser32
.IsLoaded() )
614 wxLogNull nolog
; // Don't report errors here
615 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
620 printf("Using PrintWindow\n");
621 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
625 printf("Using WM_PRINT\n");
626 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
627 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
635 #include <wx/tipdlg.h>
638 class wxPyTipProvider
: public wxTipProvider
{
640 wxPyTipProvider(size_t currentTip
)
641 : wxTipProvider(currentTip
) {}
643 DEC_PYCALLBACK_STRING__pure(GetTip
);
644 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
648 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
649 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
652 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
654 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
656 void wxPyTimer::Notify() {
658 bool blocked
= wxPyBeginBlockThreads();
659 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
660 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
661 wxPyEndBlockThreads(blocked
);
665 void wxPyTimer::base_Notify() {
671 SWIGSTATICINLINE(PyObject
*)
672 SWIG_FromCharPtr(const char* cptr
)
674 size_t size
= cptr
? strlen(cptr
) : 0;
676 if (size
> INT_MAX
) {
677 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
678 SWIG_TypeQuery("char *"), 0);
680 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
689 SWIGSTATICINLINE(unsigned long)
690 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
691 unsigned long max_value
)
693 if (!PyErr_Occurred()) {
694 if (value
> max_value
) {
696 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
697 value
, type
, max_value
);
698 PyErr_SetObject(PyExc_OverflowError
, err
);
706 #if UINT_MAX != ULONG_MAX
707 SWIGSTATICINLINE(unsigned int)
708 SWIG_AsUnsignedInt(PyObject
*obj
)
710 return swig_numeric_cast(unsigned int,
711 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
712 "unsigned int", UINT_MAX
));
715 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
719 SWIGSTATICINLINE(int)
720 SWIG_CheckUnsignedInt(PyObject
* obj
)
722 SWIG_AsUnsignedInt(obj
);
723 if (PyErr_Occurred()) {
731 wxString
Log_TimeStamp(){
733 wxLog::TimeStamp(&msg
);
736 void wxLog_Destroy(wxLog
*self
){ delete self
; }
738 // A wxLog class that can be derived from in wxPython
739 class wxPyLog
: public wxLog
{
741 wxPyLog() : wxLog() {}
743 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
745 bool blocked
= wxPyBeginBlockThreads();
746 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
747 PyObject
* s
= wx2PyString(szString
);
748 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
751 wxPyEndBlockThreads(blocked
);
753 wxLog::DoLog(level
, szString
, t
);
756 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
758 bool blocked
= wxPyBeginBlockThreads();
759 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
760 PyObject
* s
= wx2PyString(szString
);
761 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
764 wxPyEndBlockThreads(blocked
);
766 wxLog::DoLogString(szString
, t
);
775 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
778 #include <wx/joystick.h>
781 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
782 // A C++ stub class for wxJoystick for platforms that don't have it.
783 class wxJoystick
: public wxObject
{
785 wxJoystick(int joystick
= wxJOYSTICK1
) {
786 bool blocked
= wxPyBeginBlockThreads();
787 PyErr_SetString(PyExc_NotImplementedError
,
788 "wxJoystick is not available on this platform.");
789 wxPyEndBlockThreads(blocked
);
791 wxPoint
GetPosition() { return wxPoint(-1,-1); }
792 int GetZPosition() { return -1; }
793 int GetButtonState() { return -1; }
794 int GetPOVPosition() { return -1; }
795 int GetPOVCTSPosition() { return -1; }
796 int GetRudderPosition() { return -1; }
797 int GetUPosition() { return -1; }
798 int GetVPosition() { return -1; }
799 int GetMovementThreshold() { return -1; }
800 void SetMovementThreshold(int threshold
) {}
802 bool IsOk(void) { return False
; }
803 int GetNumberJoysticks() { return -1; }
804 int GetManufacturerId() { return -1; }
805 int GetProductId() { return -1; }
806 wxString
GetProductName() { return wxEmptyString
; }
807 int GetXMin() { return -1; }
808 int GetYMin() { return -1; }
809 int GetZMin() { return -1; }
810 int GetXMax() { return -1; }
811 int GetYMax() { return -1; }
812 int GetZMax() { return -1; }
813 int GetNumberButtons() { return -1; }
814 int GetNumberAxes() { return -1; }
815 int GetMaxButtons() { return -1; }
816 int GetMaxAxes() { return -1; }
817 int GetPollingMin() { return -1; }
818 int GetPollingMax() { return -1; }
819 int GetRudderMin() { return -1; }
820 int GetRudderMax() { return -1; }
821 int GetUMin() { return -1; }
822 int GetUMax() { return -1; }
823 int GetVMin() { return -1; }
824 int GetVMax() { return -1; }
826 bool HasRudder() { return False
; }
827 bool HasZ() { return False
; }
828 bool HasU() { return False
; }
829 bool HasV() { return False
; }
830 bool HasPOV() { return False
; }
831 bool HasPOV4Dir() { return False
; }
832 bool HasPOVCTS() { return False
; }
834 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
835 bool ReleaseCapture() { return False
; }
840 #include <wx/sound.h>
844 // A C++ stub class for wxWave for platforms that don't have it.
845 class wxSound
: public wxObject
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(const wxString
&/*, bool*/) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
860 wxSound(int, const wxByte
*) {
861 bool blocked
= wxPyBeginBlockThreads();
862 PyErr_SetString(PyExc_NotImplementedError
,
863 "wxSound is not available on this platform.");
864 wxPyEndBlockThreads(blocked
);
869 bool Create(const wxString
&/*, bool*/) { return false; }
870 bool Create(int, const wxByte
*) { return false; };
871 bool IsOk() { return false; };
872 bool Play(unsigned) const { return false; }
873 static bool Play(const wxString
&, unsigned) { return false; }
874 static void Stop() {}
879 wxSound
*new_wxSound(wxString
const &fileName
){
880 if (fileName
.Length() == 0)
883 return new wxSound(fileName
);
885 wxSound
*new_wxSound(PyObject
*data
){
886 unsigned char* buffer
; int size
;
887 wxSound
*sound
= NULL
;
889 bool blocked
= wxPyBeginBlockThreads();
890 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
892 sound
= new wxSound(size
, buffer
);
894 wxPyEndBlockThreads(blocked
);
897 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
899 unsigned char* buffer
;
903 bool blocked
= wxPyBeginBlockThreads();
904 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
906 rv
= self
->Create(size
, buffer
);
908 wxPyEndBlockThreads(blocked
);
911 bool blocked
= wxPyBeginBlockThreads();
912 PyErr_SetString(PyExc_NotImplementedError
,
913 "Create from data is not available on this platform.");
914 wxPyEndBlockThreads(blocked
);
919 #include <wx/mimetype.h>
921 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
923 if (self
->GetMimeType(&str
))
924 return wx2PyString(str
);
928 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
930 if (self
->GetMimeTypes(arr
))
931 return wxArrayString2PyList_helper(arr
);
935 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
937 if (self
->GetExtensions(arr
))
938 return wxArrayString2PyList_helper(arr
);
942 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
944 if (self
->GetIcon(&loc
))
945 return new wxIcon(loc
);
949 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
951 if (self
->GetIcon(&loc
)) {
952 wxString iconFile
= loc
.GetFileName();
957 // Make a tuple and put the values in it
958 bool blocked
= wxPyBeginBlockThreads();
959 PyObject
* tuple
= PyTuple_New(3);
960 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
961 wxT("wxIcon"), True
));
962 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
963 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
964 wxPyEndBlockThreads(blocked
);
970 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
972 if (self
->GetDescription(&str
))
973 return wx2PyString(str
);
977 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
979 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
980 return wx2PyString(str
);
984 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
986 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
987 return wx2PyString(str
);
991 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
993 wxArrayString commands
;
994 if (self
->GetAllCommands(&verbs
, &commands
,
995 wxFileType::MessageParameters(filename
, mimetype
))) {
996 bool blocked
= wxPyBeginBlockThreads();
997 PyObject
* tuple
= PyTuple_New(2);
998 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
999 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1000 wxPyEndBlockThreads(blocked
);
1006 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1007 return wxFileType::ExpandCommand(command
,
1008 wxFileType::MessageParameters(filename
, mimetype
));
1010 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1012 self
->EnumAllFileTypes(arr
);
1013 return wxArrayString2PyList_helper(arr
);
1016 #include <wx/artprov.h>
1018 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1019 static const wxString
wxPyART_MENU(wxART_MENU
);
1020 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1021 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1022 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1023 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1024 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1025 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1026 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1027 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1028 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1029 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1030 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1031 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1032 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1033 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1034 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1035 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1036 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1037 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1038 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1039 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1040 static const wxString
wxPyART_HELP(wxART_HELP
);
1041 static const wxString
wxPyART_TIP(wxART_TIP
);
1042 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1043 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1044 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1045 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1046 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1047 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1048 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1049 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1050 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1051 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1052 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1053 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1054 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1055 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1056 // Python aware wxArtProvider
1057 class wxPyArtProvider
: public wxArtProvider
{
1060 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1061 const wxArtClient
& client
,
1062 const wxSize
& size
) {
1063 wxBitmap rval
= wxNullBitmap
;
1064 bool blocked
= wxPyBeginBlockThreads();
1065 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1066 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1070 s1
= wx2PyString(id
);
1071 s2
= wx2PyString(client
);
1072 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1077 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1082 wxPyEndBlockThreads(blocked
);
1089 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1093 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1094 PyObject
* ret
= PyTuple_New(3);
1096 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1097 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1098 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1103 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1108 cont
= self
->GetFirstGroup(value
, index
);
1109 return __EnumerationHelper(cont
, value
, index
);
1111 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1115 cont
= self
->GetNextGroup(value
, index
);
1116 return __EnumerationHelper(cont
, value
, index
);
1118 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1123 cont
= self
->GetFirstEntry(value
, index
);
1124 return __EnumerationHelper(cont
, value
, index
);
1126 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1130 cont
= self
->GetNextEntry(value
, index
);
1131 return __EnumerationHelper(cont
, value
, index
);
1133 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1135 self
->Read(key
, &rv
, defaultVal
);
1139 SWIGSTATICINLINE(double)
1140 SWIG_AsDouble(PyObject
*obj
)
1142 if (PyNumber_Check(obj
))
1143 return PyFloat_AsDouble(obj
);
1145 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1146 obj
->ob_type
->tp_name
);
1147 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1154 SWIGSTATICINLINE(int)
1155 SWIG_CheckDouble(PyObject
* obj
)
1158 if (PyErr_Occurred()) {
1166 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1168 self
->Read(key
, &rv
, defaultVal
);
1171 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1173 self
->Read(key
, &rv
, defaultVal
);
1177 #include <wx/datetime.h>
1180 static const wxString
wxPyDateFormatStr(wxT("%c"));
1181 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1183 #define LOCAL_TZ wxDateTime::Local
1186 #if UINT_MAX < LONG_MAX
1187 #define SWIG_FromUnsignedInt SWIG_FromLong
1189 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1192 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1193 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1194 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1195 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1196 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1197 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1198 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1199 return (*self
< *other
);
1201 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1202 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1203 return (*self
<= *other
);
1205 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1206 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1207 return (*self
> *other
);
1209 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1210 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1211 return (*self
>= *other
);
1213 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1214 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1215 return (*self
== *other
);
1217 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1218 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1219 return (*self
!= *other
);
1221 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1223 const wxChar
* _date
= date
;
1224 rv
= self
->ParseRfc822Date(_date
);
1225 if (rv
== NULL
) return -1;
1228 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1230 const wxChar
* _date
= date
;
1231 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1232 if (rv
== NULL
) return -1;
1235 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1237 const wxChar
* _datetime
= datetime
;
1238 rv
= self
->ParseDateTime(_datetime
);
1239 if (rv
== NULL
) return -1;
1240 return rv
- _datetime
;
1242 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1244 const wxChar
* _date
= date
;
1245 rv
= self
->ParseDate(_date
);
1246 if (rv
== NULL
) return -1;
1249 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1251 const wxChar
* _time
= time
;
1252 rv
= self
->ParseTime(_time
);
1253 if (rv
== NULL
) return -1;
1256 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1257 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1258 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1259 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1260 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1261 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1262 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1263 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1264 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1265 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1266 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1267 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1268 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1269 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1270 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1271 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1273 #include <wx/dataobj.h>
1275 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1276 size_t count
= self
->GetFormatCount(dir
);
1277 wxDataFormat
* formats
= new wxDataFormat
[count
];
1278 self
->GetAllFormats(formats
, dir
);
1280 bool blocked
= wxPyBeginBlockThreads();
1281 PyObject
* list
= PyList_New(count
);
1282 for (size_t i
=0; i
<count
; i
++) {
1283 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1284 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1285 PyList_Append(list
, obj
);
1288 wxPyEndBlockThreads(blocked
);
1292 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1293 PyObject
* rval
= NULL
;
1294 size_t size
= self
->GetDataSize(format
);
1295 bool blocked
= wxPyBeginBlockThreads();
1297 char* buf
= new char[size
];
1298 if (self
->GetDataHere(format
, buf
))
1299 rval
= PyString_FromStringAndSize(buf
, size
);
1306 wxPyEndBlockThreads(blocked
);
1309 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1311 bool blocked
= wxPyBeginBlockThreads();
1312 if (PyString_Check(data
)) {
1313 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1316 // raise a TypeError if not a string
1317 PyErr_SetString(PyExc_TypeError
, "String expected.");
1320 wxPyEndBlockThreads(blocked
);
1323 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1324 PyObject
* rval
= NULL
;
1325 size_t size
= self
->GetDataSize();
1326 bool blocked
= wxPyBeginBlockThreads();
1328 char* buf
= new char[size
];
1329 if (self
->GetDataHere(buf
))
1330 rval
= PyString_FromStringAndSize(buf
, size
);
1337 wxPyEndBlockThreads(blocked
);
1340 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1342 bool blocked
= wxPyBeginBlockThreads();
1343 if (PyString_Check(data
)) {
1344 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1347 // raise a TypeError if not a string
1348 PyErr_SetString(PyExc_TypeError
, "String expected.");
1351 wxPyEndBlockThreads(blocked
);
1354 // Create a new class for wxPython to use
1355 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1357 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1358 : wxDataObjectSimple(format
) {}
1360 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1361 bool GetDataHere(void *buf
) const;
1362 bool SetData(size_t len
, const void *buf
) const;
1366 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1368 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1369 // We need to get the data for this object and write it to buf. I think
1370 // the best way to do this for wxPython is to have the Python method
1371 // return either a string or None and then act appropriately with the
1375 bool blocked
= wxPyBeginBlockThreads();
1376 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1378 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1380 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1382 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1386 wxPyEndBlockThreads(blocked
);
1390 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1391 // For this one we simply need to make a string from buf and len
1392 // and send it to the Python method.
1394 bool blocked
= wxPyBeginBlockThreads();
1395 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1396 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1397 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1400 wxPyEndBlockThreads(blocked
);
1404 // Create a new class for wxPython to use
1405 class wxPyTextDataObject
: public wxTextDataObject
{
1407 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1408 : wxTextDataObject(text
) {}
1410 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1411 DEC_PYCALLBACK_STRING__const(GetText
);
1412 DEC_PYCALLBACK__STRING(SetText
);
1416 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1417 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1418 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1421 // Create a new class for wxPython to use
1422 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1424 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1425 : wxBitmapDataObject(bitmap
) {}
1427 wxBitmap
GetBitmap() const;
1428 void SetBitmap(const wxBitmap
& bitmap
);
1432 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1433 wxBitmap
* rval
= &wxNullBitmap
;
1434 bool blocked
= wxPyBeginBlockThreads();
1435 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1438 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1440 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1445 wxPyEndBlockThreads(blocked
);
1449 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1450 bool blocked
= wxPyBeginBlockThreads();
1451 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1452 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1453 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1456 wxPyEndBlockThreads(blocked
);
1459 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1461 bool blocked
= wxPyBeginBlockThreads();
1462 if (PyString_Check(data
)) {
1463 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1466 // raise a TypeError if not a string
1467 PyErr_SetString(PyExc_TypeError
, "String expected.");
1470 wxPyEndBlockThreads(blocked
);
1473 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1475 bool blocked
= wxPyBeginBlockThreads();
1476 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1477 wxPyEndBlockThreads(blocked
);
1481 class wxMetafileDataObject
: public wxDataObjectSimple
1484 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1488 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1491 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1492 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1493 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1494 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1495 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1498 class wxPyTextDropTarget
: public wxTextDropTarget
{
1500 wxPyTextDropTarget() {}
1502 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1504 DEC_PYCALLBACK__(OnLeave
);
1505 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1506 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1507 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1508 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1513 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1514 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1515 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1516 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1517 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1518 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1522 class wxPyFileDropTarget
: public wxFileDropTarget
{
1524 wxPyFileDropTarget() {}
1526 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1528 DEC_PYCALLBACK__(OnLeave
);
1529 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1530 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1531 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1532 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1537 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1538 const wxArrayString
& filenames
) {
1540 bool blocked
= wxPyBeginBlockThreads();
1541 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1542 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1543 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1546 wxPyEndBlockThreads(blocked
);
1552 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1553 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1554 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1555 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1556 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1561 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1563 #include "wx/display.h"
1565 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1566 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1567 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1568 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1569 PyObject
* pyList
= NULL
;
1570 wxArrayVideoModes arr
= self
->GetModes(mode
);
1571 bool blocked
= wxPyBeginBlockThreads();
1572 pyList
= PyList_New(0);
1573 for (int i
=0; i
< arr
.GetCount(); i
++) {
1574 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1575 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1576 PyList_Append(pyList
, pyObj
);
1579 wxPyEndBlockThreads(blocked
);
1585 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1589 PyObject
* obj0
= 0 ;
1591 (char *) "index", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1595 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1598 if (!wxPyCheckForApp()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1606 wxColour
* resultptr
;
1607 resultptr
= new wxColour((wxColour
&) result
);
1608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1616 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1620 PyObject
* obj0
= 0 ;
1622 (char *) "index", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1626 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 if (!wxPyCheckForApp()) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1638 resultptr
= new wxFont((wxFont
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1647 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "index", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1657 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 if (!wxPyCheckForApp()) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= SWIG_FromInt((int)result
);
1674 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1678 PyObject
* obj0
= 0 ;
1680 (char *) "index", NULL
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1684 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 if (!wxPyCheckForApp()) SWIG_fail
;
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1703 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1712 if (!wxPyCheckForApp()) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 result
= (int)wxSystemSettings::GetScreenType();
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 resultobj
= SWIG_FromInt((int)result
);
1726 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
*resultobj
;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "screen", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1735 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 if (!wxPyCheckForApp()) SWIG_fail
;
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1745 Py_INCREF(Py_None
); resultobj
= Py_None
;
1752 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1755 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1757 return Py_BuildValue((char *)"");
1759 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxSystemOptions
*result
;
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (wxSystemOptions
*)new wxSystemOptions();
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1781 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxString
*arg1
= 0 ;
1784 wxString
*arg2
= 0 ;
1785 bool temp1
= False
;
1786 bool temp2
= False
;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1790 (char *) "name",(char *) "value", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1795 arg1
= wxString_in_helper(obj0
);
1796 if (arg1
== NULL
) SWIG_fail
;
1800 arg2
= wxString_in_helper(obj1
);
1801 if (arg2
== NULL
) SWIG_fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxString
*arg1
= 0 ;
1838 bool temp1
= False
;
1839 PyObject
* obj0
= 0 ;
1840 PyObject
* obj1
= 0 ;
1842 (char *) "name",(char *) "value", NULL
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1847 arg1
= wxString_in_helper(obj0
);
1848 if (arg1
== NULL
) SWIG_fail
;
1851 arg2
= (int) SWIG_AsInt(obj1
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1860 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxString
*arg1
= 0 ;
1879 bool temp1
= False
;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "name", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1887 arg1
= wxString_in_helper(obj0
);
1888 if (arg1
== NULL
) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1919 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxString
*arg1
= 0 ;
1923 bool temp1
= False
;
1924 PyObject
* obj0
= 0 ;
1926 (char *) "name", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1931 arg1
= wxString_in_helper(obj0
);
1932 if (arg1
== NULL
) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 resultobj
= SWIG_FromInt((int)result
);
1957 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxString
*arg1
= 0 ;
1961 bool temp1
= False
;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "name", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1969 arg1
= wxString_in_helper(obj0
);
1970 if (arg1
== NULL
) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1997 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2000 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2002 return Py_BuildValue((char *)"");
2004 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2005 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2010 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2015 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2017 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2024 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2025 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2030 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2035 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2037 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2044 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2045 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2050 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2055 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2057 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2064 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (long)wxNewId();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_FromLong((long)result
);
2086 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2089 PyObject
* obj0
= 0 ;
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2095 arg1
= (long) SWIG_AsLong(obj0
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2111 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 result
= (long)wxGetCurrentId();
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= SWIG_FromLong((long)result
);
2133 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2141 if (!wxPyCheckForApp()) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2163 if (!wxPyCheckForApp()) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 Py_INCREF(Py_None
); resultobj
= Py_None
;
2177 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 bool arg1
= (bool) True
;
2181 PyObject
* obj0
= 0 ;
2183 (char *) "resetTimer", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2188 arg1
= (bool) SWIG_AsBool(obj0
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (long)wxGetElapsedTime(arg1
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= SWIG_FromLong((long)result
);
2205 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 int *arg1
= (int *) 0 ;
2208 int *arg2
= (int *) 0 ;
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2219 if (!wxPyCheckForApp()) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 wxGetMousePosition(arg1
,arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2228 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2229 resultobj
= t_output_helper(resultobj
,o
);
2232 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2233 resultobj
= t_output_helper(resultobj
,o
);
2241 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (bool)wxIsBusy();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2265 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2293 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2296 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2298 bool temp1
= False
;
2299 PyObject
* obj0
= 0 ;
2301 (char *) "command", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2307 arg1
= wxString_in_helper(obj0
);
2308 if (arg1
== NULL
) SWIG_fail
;
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 result
= (bool)wxShell((wxString
const &)*arg1
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2336 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
*resultobj
;
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 Py_INCREF(Py_None
); resultobj
= Py_None
;
2357 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 int *arg1
= (int *) 0 ;
2360 int *arg2
= (int *) 0 ;
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 result
= (int)wxGetOsVersion(arg1
,arg2
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 resultobj
= SWIG_FromInt((int)result
);
2380 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2381 resultobj
= t_output_helper(resultobj
,o
);
2384 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2385 resultobj
= t_output_helper(resultobj
,o
);
2393 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= wxGetOsDescription();
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2421 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= (long)wxGetFreeMemory();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 resultobj
= SWIG_FromLong((long)result
);
2443 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2447 PyObject
* obj0
= 0 ;
2449 (char *) "wFlags", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2453 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 if (!wxPyCheckForApp()) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2472 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2475 PyObject
* obj0
= 0 ;
2477 (char *) "secs", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2481 arg1
= (int) SWIG_AsInt(obj0
);
2482 if (PyErr_Occurred()) SWIG_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_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 unsigned long arg1
;
2500 PyObject
* obj0
= 0 ;
2502 (char *) "milliseconds", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2506 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2525 PyObject
* obj0
= 0 ;
2527 (char *) "enable", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2531 arg1
= (bool) SWIG_AsBool(obj0
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 wxEnableTopLevelWindows(arg1
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 Py_INCREF(Py_None
); resultobj
= Py_None
;
2547 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxString
*arg1
= 0 ;
2551 bool temp1
= False
;
2552 PyObject
* obj0
= 0 ;
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2559 arg1
= wxString_in_helper(obj0
);
2560 if (arg1
== NULL
) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2591 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= wxGetEmailAddress();
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2619 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= wxGetHostName();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2647 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 result
= wxGetFullHostName();
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2675 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= wxGetUserId();
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2703 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= wxGetUserName();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2731 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= wxGetHomeDir();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2759 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2762 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2764 bool temp1
= False
;
2765 PyObject
* obj0
= 0 ;
2767 (char *) "user", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2773 arg1
= wxString_in_helper(obj0
);
2774 if (arg1
== NULL
) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 result
= wxGetUserHome((wxString
const &)*arg1
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2806 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 unsigned long result
;
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 result
= (unsigned long)wxGetProcessId();
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2828 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 Py_INCREF(Py_None
); resultobj
= Py_None
;
2849 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2852 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2853 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2854 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2857 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2858 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2859 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2860 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2861 int arg6
= (int) 0 ;
2862 wxWindow
*arg7
= (wxWindow
*) NULL
;
2863 int arg8
= (int) -1 ;
2864 int arg9
= (int) -1 ;
2866 bool temp1
= False
;
2867 bool temp2
= False
;
2868 bool temp3
= False
;
2869 bool temp4
= False
;
2870 bool temp5
= False
;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2873 PyObject
* obj2
= 0 ;
2874 PyObject
* obj3
= 0 ;
2875 PyObject
* obj4
= 0 ;
2876 PyObject
* obj5
= 0 ;
2877 PyObject
* obj6
= 0 ;
2878 PyObject
* obj7
= 0 ;
2879 PyObject
* obj8
= 0 ;
2881 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2887 arg1
= wxString_in_helper(obj0
);
2888 if (arg1
== NULL
) SWIG_fail
;
2894 arg2
= wxString_in_helper(obj1
);
2895 if (arg2
== NULL
) SWIG_fail
;
2901 arg3
= wxString_in_helper(obj2
);
2902 if (arg3
== NULL
) SWIG_fail
;
2908 arg4
= wxString_in_helper(obj3
);
2909 if (arg4
== NULL
) SWIG_fail
;
2915 arg5
= wxString_in_helper(obj4
);
2916 if (arg5
== NULL
) SWIG_fail
;
2921 arg6
= (int) SWIG_AsInt(obj5
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2929 arg8
= (int) SWIG_AsInt(obj7
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 arg9
= (int) SWIG_AsInt(obj8
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 if (!wxPyCheckForApp()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2997 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxString
*arg1
= 0 ;
3000 wxString
*arg2
= 0 ;
3001 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3002 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3003 wxWindow
*arg4
= (wxWindow
*) NULL
;
3005 bool temp1
= False
;
3006 bool temp2
= False
;
3007 bool temp3
= False
;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3010 PyObject
* obj2
= 0 ;
3011 PyObject
* obj3
= 0 ;
3013 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3018 arg1
= wxString_in_helper(obj0
);
3019 if (arg1
== NULL
) SWIG_fail
;
3023 arg2
= wxString_in_helper(obj1
);
3024 if (arg2
== NULL
) SWIG_fail
;
3029 arg3
= wxString_in_helper(obj2
);
3030 if (arg3
== NULL
) SWIG_fail
;
3035 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3039 if (!wxPyCheckForApp()) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3083 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxString
*arg1
= 0 ;
3086 wxString
*arg2
= 0 ;
3087 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3088 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3089 wxWindow
*arg4
= (wxWindow
*) NULL
;
3091 bool temp1
= False
;
3092 bool temp2
= False
;
3093 bool temp3
= False
;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3096 PyObject
* obj2
= 0 ;
3097 PyObject
* obj3
= 0 ;
3099 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3104 arg1
= wxString_in_helper(obj0
);
3105 if (arg1
== NULL
) SWIG_fail
;
3109 arg2
= wxString_in_helper(obj1
);
3110 if (arg2
== NULL
) SWIG_fail
;
3115 arg3
= wxString_in_helper(obj2
);
3116 if (arg3
== NULL
) SWIG_fail
;
3121 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 if (!wxPyCheckForApp()) SWIG_fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3169 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3172 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3173 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3174 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3175 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3178 wxWindow
*arg5
= (wxWindow
*) NULL
;
3180 bool temp1
= False
;
3181 bool temp2
= False
;
3183 PyObject
* obj0
= 0 ;
3184 PyObject
* obj1
= 0 ;
3185 PyObject
* obj2
= 0 ;
3186 PyObject
* obj3
= 0 ;
3187 PyObject
* obj4
= 0 ;
3189 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3195 arg1
= wxString_in_helper(obj0
);
3196 if (arg1
== NULL
) SWIG_fail
;
3202 arg2
= wxString_in_helper(obj1
);
3203 if (arg2
== NULL
) SWIG_fail
;
3208 arg3
= (long) SWIG_AsLong(obj2
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3218 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 if (!wxPyCheckForApp()) SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3258 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxString
*arg1
= 0 ;
3261 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3262 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3265 wxWindow
*arg4
= (wxWindow
*) NULL
;
3266 int arg5
= (int) -1 ;
3267 int arg6
= (int) -1 ;
3268 bool arg7
= (bool) True
;
3270 bool temp1
= False
;
3271 bool temp2
= False
;
3272 bool temp3
= False
;
3273 PyObject
* obj0
= 0 ;
3274 PyObject
* obj1
= 0 ;
3275 PyObject
* obj2
= 0 ;
3276 PyObject
* obj3
= 0 ;
3277 PyObject
* obj4
= 0 ;
3278 PyObject
* obj5
= 0 ;
3279 PyObject
* obj6
= 0 ;
3281 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3286 arg1
= wxString_in_helper(obj0
);
3287 if (arg1
== NULL
) SWIG_fail
;
3292 arg2
= wxString_in_helper(obj1
);
3293 if (arg2
== NULL
) SWIG_fail
;
3299 arg3
= wxString_in_helper(obj2
);
3300 if (arg3
== NULL
) SWIG_fail
;
3305 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 arg5
= (int) SWIG_AsInt(obj4
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 arg6
= (int) SWIG_AsInt(obj5
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3317 arg7
= (bool) SWIG_AsBool(obj6
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3321 if (!wxPyCheckForApp()) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3365 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxString
*arg1
= 0 ;
3368 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3369 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3370 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3371 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3372 wxWindow
*arg4
= (wxWindow
*) NULL
;
3374 bool temp1
= False
;
3375 bool temp2
= False
;
3376 bool temp3
= False
;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3379 PyObject
* obj2
= 0 ;
3380 PyObject
* obj3
= 0 ;
3382 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3387 arg1
= wxString_in_helper(obj0
);
3388 if (arg1
== NULL
) SWIG_fail
;
3393 arg2
= wxString_in_helper(obj1
);
3394 if (arg2
== NULL
) SWIG_fail
;
3400 arg3
= wxString_in_helper(obj2
);
3401 if (arg3
== NULL
) SWIG_fail
;
3406 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 if (!wxPyCheckForApp()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3454 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxString
*arg1
= 0 ;
3457 wxString
*arg2
= 0 ;
3459 wxString
*arg4
= (wxString
*) 0 ;
3460 wxWindow
*arg5
= (wxWindow
*) NULL
;
3461 int arg6
= (int) -1 ;
3462 int arg7
= (int) -1 ;
3463 bool arg8
= (bool) True
;
3464 int arg9
= (int) 150 ;
3465 int arg10
= (int) 200 ;
3467 bool temp1
= False
;
3468 bool temp2
= False
;
3469 PyObject
* obj0
= 0 ;
3470 PyObject
* obj1
= 0 ;
3471 PyObject
* obj2
= 0 ;
3472 PyObject
* obj3
= 0 ;
3473 PyObject
* obj4
= 0 ;
3474 PyObject
* obj5
= 0 ;
3475 PyObject
* obj6
= 0 ;
3476 PyObject
* obj7
= 0 ;
3477 PyObject
* obj8
= 0 ;
3479 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3484 arg1
= wxString_in_helper(obj0
);
3485 if (arg1
== NULL
) SWIG_fail
;
3489 arg2
= wxString_in_helper(obj1
);
3490 if (arg2
== NULL
) SWIG_fail
;
3494 arg3
= PyList_Size(obj2
);
3495 arg4
= wxString_LIST_helper(obj2
);
3496 if (arg4
== NULL
) SWIG_fail
;
3499 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 arg6
= (int) SWIG_AsInt(obj4
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3507 arg7
= (int) SWIG_AsInt(obj5
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 arg8
= (bool) SWIG_AsBool(obj6
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 arg9
= (int) SWIG_AsInt(obj7
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 arg10
= (int) SWIG_AsInt(obj8
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 if (!wxPyCheckForApp()) SWIG_fail
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3546 if (arg4
) delete [] arg4
;
3559 if (arg4
) delete [] arg4
;
3565 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxString
*arg1
= 0 ;
3568 wxString
*arg2
= 0 ;
3570 wxString
*arg4
= (wxString
*) 0 ;
3571 wxWindow
*arg5
= (wxWindow
*) NULL
;
3572 int arg6
= (int) -1 ;
3573 int arg7
= (int) -1 ;
3574 bool arg8
= (bool) True
;
3575 int arg9
= (int) 150 ;
3576 int arg10
= (int) 200 ;
3578 bool temp1
= False
;
3579 bool temp2
= False
;
3580 PyObject
* obj0
= 0 ;
3581 PyObject
* obj1
= 0 ;
3582 PyObject
* obj2
= 0 ;
3583 PyObject
* obj3
= 0 ;
3584 PyObject
* obj4
= 0 ;
3585 PyObject
* obj5
= 0 ;
3586 PyObject
* obj6
= 0 ;
3587 PyObject
* obj7
= 0 ;
3588 PyObject
* obj8
= 0 ;
3590 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3595 arg1
= wxString_in_helper(obj0
);
3596 if (arg1
== NULL
) SWIG_fail
;
3600 arg2
= wxString_in_helper(obj1
);
3601 if (arg2
== NULL
) SWIG_fail
;
3605 arg3
= PyList_Size(obj2
);
3606 arg4
= wxString_LIST_helper(obj2
);
3607 if (arg4
== NULL
) SWIG_fail
;
3610 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3614 arg6
= (int) SWIG_AsInt(obj4
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3618 arg7
= (int) SWIG_AsInt(obj5
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 arg8
= (bool) SWIG_AsBool(obj6
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3626 arg9
= (int) SWIG_AsInt(obj7
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 arg10
= (int) SWIG_AsInt(obj8
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 if (!wxPyCheckForApp()) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_FromInt((int)result
);
3651 if (arg4
) delete [] arg4
;
3664 if (arg4
) delete [] arg4
;
3670 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxString
*arg1
= 0 ;
3673 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3674 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3675 int arg3
= (int) wxOK
|wxCENTRE
;
3676 wxWindow
*arg4
= (wxWindow
*) NULL
;
3677 int arg5
= (int) -1 ;
3678 int arg6
= (int) -1 ;
3680 bool temp1
= False
;
3681 bool temp2
= False
;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3684 PyObject
* obj2
= 0 ;
3685 PyObject
* obj3
= 0 ;
3686 PyObject
* obj4
= 0 ;
3687 PyObject
* obj5
= 0 ;
3689 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3694 arg1
= wxString_in_helper(obj0
);
3695 if (arg1
== NULL
) SWIG_fail
;
3700 arg2
= wxString_in_helper(obj1
);
3701 if (arg2
== NULL
) SWIG_fail
;
3706 arg3
= (int) SWIG_AsInt(obj2
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 arg5
= (int) SWIG_AsInt(obj4
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3718 arg6
= (int) SWIG_AsInt(obj5
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 if (!wxPyCheckForApp()) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_FromInt((int)result
);
3752 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxString
*arg1
= 0 ;
3755 wxString
*arg2
= 0 ;
3756 wxString
*arg3
= 0 ;
3758 long arg5
= (long) 0 ;
3759 long arg6
= (long) 100 ;
3760 wxWindow
*arg7
= (wxWindow
*) NULL
;
3761 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3762 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3764 bool temp1
= False
;
3765 bool temp2
= False
;
3766 bool temp3
= False
;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3770 PyObject
* obj2
= 0 ;
3771 PyObject
* obj3
= 0 ;
3772 PyObject
* obj4
= 0 ;
3773 PyObject
* obj5
= 0 ;
3774 PyObject
* obj6
= 0 ;
3775 PyObject
* obj7
= 0 ;
3777 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3782 arg1
= wxString_in_helper(obj0
);
3783 if (arg1
== NULL
) SWIG_fail
;
3787 arg2
= wxString_in_helper(obj1
);
3788 if (arg2
== NULL
) SWIG_fail
;
3792 arg3
= wxString_in_helper(obj2
);
3793 if (arg3
== NULL
) SWIG_fail
;
3796 arg4
= (long) SWIG_AsLong(obj3
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 arg5
= (long) SWIG_AsLong(obj4
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3803 arg6
= (long) SWIG_AsLong(obj5
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3817 if (!wxPyCheckForApp()) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_FromLong((long)result
);
3855 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3864 if (!wxPyCheckForApp()) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (bool)wxColourDisplay();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3880 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3889 if (!wxPyCheckForApp()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (int)wxDisplayDepth();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= SWIG_FromInt((int)result
);
3903 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3912 if (!wxPyCheckForApp()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (int)wxGetDisplayDepth();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_FromInt((int)result
);
3926 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 int *arg1
= (int *) 0 ;
3929 int *arg2
= (int *) 0 ;
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3940 if (!wxPyCheckForApp()) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 wxDisplaySize(arg1
,arg2
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 Py_INCREF(Py_None
); resultobj
= Py_None
;
3949 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3950 resultobj
= t_output_helper(resultobj
,o
);
3953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3954 resultobj
= t_output_helper(resultobj
,o
);
3962 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3971 if (!wxPyCheckForApp()) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= wxGetDisplaySize();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3980 resultptr
= new wxSize((wxSize
&) result
);
3981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3989 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
;
3991 int *arg1
= (int *) 0 ;
3992 int *arg2
= (int *) 0 ;
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4003 if (!wxPyCheckForApp()) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 wxDisplaySizeMM(arg1
,arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4013 resultobj
= t_output_helper(resultobj
,o
);
4016 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4017 resultobj
= t_output_helper(resultobj
,o
);
4025 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4034 if (!wxPyCheckForApp()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= wxGetDisplaySizeMM();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4043 resultptr
= new wxSize((wxSize
&) result
);
4044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4052 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 int *arg1
= (int *) 0 ;
4055 int *arg2
= (int *) 0 ;
4056 int *arg3
= (int *) 0 ;
4057 int *arg4
= (int *) 0 ;
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4072 if (!wxPyCheckForApp()) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4082 resultobj
= t_output_helper(resultobj
,o
);
4085 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4086 resultobj
= t_output_helper(resultobj
,o
);
4089 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4090 resultobj
= t_output_helper(resultobj
,o
);
4093 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4094 resultobj
= t_output_helper(resultobj
,o
);
4102 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4111 if (!wxPyCheckForApp()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= wxGetClientDisplayRect();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4120 resultptr
= new wxRect((wxRect
&) result
);
4121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4129 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxCursor
*arg1
= 0 ;
4132 PyObject
* obj0
= 0 ;
4134 (char *) "cursor", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4142 PyErr_SetString(PyExc_TypeError
,"null reference");
4146 if (!wxPyCheckForApp()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4163 PyObject
* obj0
= 0 ;
4165 (char *) "cursor", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 if (!wxPyCheckForApp()) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 wxBeginBusyCursor(arg1
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4197 if (!wxPyCheckForApp()) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (wxWindow
*)wxGetActiveWindow();
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= wxPyMake_wxObject(result
);
4213 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4218 PyObject
* obj0
= 0 ;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4226 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4229 if (!wxPyCheckForApp()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= wxPyMake_wxObject(result
);
4245 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4250 PyObject
* obj0
= 0 ;
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4258 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4261 if (!wxPyCheckForApp()) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= wxPyMake_wxObject(result
);
4277 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxWindow
*arg1
= (wxWindow
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "win", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 if (!wxPyCheckForApp()) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= wxPyMake_wxObject(result
);
4306 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4310 PyObject
* obj0
= 0 ;
4312 (char *) "key", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4316 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 if (!wxPyCheckForApp()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4335 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4343 if (!wxPyCheckForApp()) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 wxWakeUpMainThread();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 Py_INCREF(Py_None
); resultobj
= Py_None
;
4357 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4365 if (!wxPyCheckForApp()) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 Py_INCREF(Py_None
); resultobj
= Py_None
;
4379 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4387 if (!wxPyCheckForApp()) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxMutexGuiLocker
*result
;
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4410 if (!wxPyCheckForApp()) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4424 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "self", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 Py_INCREF(Py_None
); resultobj
= Py_None
;
4449 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4452 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4454 return Py_BuildValue((char *)"");
4456 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= (bool)wxThread_IsMain();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4480 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxString
*arg1
= 0 ;
4484 bool temp1
= False
;
4485 PyObject
* obj0
= 0 ;
4487 (char *) "tip", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4492 arg1
= wxString_in_helper(obj0
);
4493 if (arg1
== NULL
) SWIG_fail
;
4497 if (!wxPyCheckForApp()) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= wxPyMake_wxObject(result
);
4521 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4524 wxString
*arg2
= 0 ;
4525 bool temp2
= False
;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4529 (char *) "self",(char *) "tip", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4536 arg2
= wxString_in_helper(obj1
);
4537 if (arg2
== NULL
) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 (arg1
)->SetTip((wxString
const &)*arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4562 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4566 PyObject
* obj0
= 0 ;
4568 (char *) "self", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= (arg1
)->GetTip();
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4594 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (wxWindow
*)(arg1
)->GetWindow();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= wxPyMake_wxObject(result
);
4622 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "flag", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4631 arg1
= (bool) SWIG_AsBool(obj0
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxToolTip::Enable(arg1
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 Py_INCREF(Py_None
); resultobj
= Py_None
;
4647 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4650 PyObject
* obj0
= 0 ;
4652 (char *) "milliseconds", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4656 arg1
= (long) SWIG_AsLong(obj0
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxToolTip::SetDelay(arg1
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 Py_INCREF(Py_None
); resultobj
= Py_None
;
4672 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4675 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4677 return Py_BuildValue((char *)"");
4679 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxWindow
*arg1
= (wxWindow
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4688 (char *) "window",(char *) "size", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4699 if (!wxPyCheckForApp()) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4713 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxCaret
*arg1
= (wxCaret
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4718 (char *) "self", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 Py_INCREF(Py_None
); resultobj
= Py_None
;
4738 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxCaret
*arg1
= (wxCaret
*) 0 ;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "self", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)(arg1
)->IsOk();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4766 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 wxCaret
*arg1
= (wxCaret
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4772 (char *) "self", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (bool)(arg1
)->IsVisible();
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4794 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxCaret
*arg1
= (wxCaret
*) 0 ;
4798 PyObject
* obj0
= 0 ;
4800 (char *) "self", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (arg1
)->GetPosition();
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 wxPoint
* resultptr
;
4815 resultptr
= new wxPoint((wxPoint
&) result
);
4816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4824 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxCaret
*arg1
= (wxCaret
*) 0 ;
4827 int *arg2
= (int *) 0 ;
4828 int *arg3
= (int *) 0 ;
4831 PyObject
* obj0
= 0 ;
4833 (char *) "self", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 (arg1
)->GetPosition(arg2
,arg3
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4850 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4851 resultobj
= t_output_helper(resultobj
,o
);
4854 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4855 resultobj
= t_output_helper(resultobj
,o
);
4863 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxCaret
*arg1
= (wxCaret
*) 0 ;
4867 PyObject
* obj0
= 0 ;
4869 (char *) "self", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (arg1
)->GetSize();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4884 resultptr
= new wxSize((wxSize
&) result
);
4885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4893 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxCaret
*arg1
= (wxCaret
*) 0 ;
4896 int *arg2
= (int *) 0 ;
4897 int *arg3
= (int *) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 (arg1
)->GetSize(arg2
,arg3
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4920 resultobj
= t_output_helper(resultobj
,o
);
4923 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4924 resultobj
= t_output_helper(resultobj
,o
);
4932 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxCaret
*arg1
= (wxCaret
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (wxWindow
*)(arg1
)->GetWindow();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= wxPyMake_wxObject(result
);
4960 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxCaret
*arg1
= (wxCaret
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4967 PyObject
* obj2
= 0 ;
4969 (char *) "self",(char *) "x",(char *) "y", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 arg2
= (int) SWIG_AsInt(obj1
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4977 arg3
= (int) SWIG_AsInt(obj2
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 (arg1
)->Move(arg2
,arg3
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 Py_INCREF(Py_None
); resultobj
= Py_None
;
4993 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxCaret
*arg1
= (wxCaret
*) 0 ;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5001 (char *) "self",(char *) "pt", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->Move((wxPoint
const &)*arg2
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxCaret
*arg1
= (wxCaret
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 PyObject
* obj2
= 0 ;
5034 (char *) "self",(char *) "width",(char *) "height", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5040 arg2
= (int) SWIG_AsInt(obj1
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5042 arg3
= (int) SWIG_AsInt(obj2
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetSize(arg2
,arg3
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 Py_INCREF(Py_None
); resultobj
= Py_None
;
5058 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxCaret
*arg1
= (wxCaret
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "size", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetSize((wxSize
const &)*arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxCaret
*arg1
= (wxCaret
*) 0 ;
5093 int arg2
= (int) True
;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5097 (char *) "self",(char *) "show", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5104 arg2
= (int) SWIG_AsInt(obj1
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxCaret
*arg1
= (wxCaret
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 Py_INCREF(Py_None
); resultobj
= Py_None
;
5146 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5149 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5151 return Py_BuildValue((char *)"");
5153 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (int)wxCaret_GetBlinkTime();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_FromInt((int)result
);
5175 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5178 PyObject
* obj0
= 0 ;
5180 (char *) "milliseconds", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5184 arg1
= (int) SWIG_AsInt(obj0
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 wxCaret_SetBlinkTime(arg1
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 Py_INCREF(Py_None
); resultobj
= Py_None
;
5200 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5203 wxBusyCursor
*result
;
5204 PyObject
* obj0
= 0 ;
5206 (char *) "cursor", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 if (!wxPyCheckForApp()) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5229 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5254 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5257 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5259 return Py_BuildValue((char *)"");
5261 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxWindow
*arg1
= (wxWindow
*) NULL
;
5264 wxWindowDisabler
*result
;
5265 PyObject
* obj0
= 0 ;
5267 (char *) "winToSkip", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 if (!wxPyCheckForApp()) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5290 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5295 (char *) "self", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 Py_INCREF(Py_None
); resultobj
= Py_None
;
5315 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5318 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5320 return Py_BuildValue((char *)"");
5322 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxString
*arg1
= 0 ;
5326 bool temp1
= False
;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "message", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5334 arg1
= wxString_in_helper(obj0
);
5335 if (arg1
== NULL
) SWIG_fail
;
5339 if (!wxPyCheckForApp()) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5361 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "self", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 Py_INCREF(Py_None
); resultobj
= Py_None
;
5386 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5389 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5391 return Py_BuildValue((char *)"");
5393 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStopWatch
*result
;
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (wxStopWatch
*)new wxStopWatch();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5415 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5418 long arg2
= (long) 0 ;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5422 (char *) "self",(char *) "t0", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5429 arg2
= (long) SWIG_AsLong(obj1
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->Start(arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5451 (char *) "self", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5476 (char *) "self", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "self", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= SWIG_FromLong((long)result
);
5522 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5525 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5527 return Py_BuildValue((char *)"");
5529 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 int arg1
= (int) 9 ;
5532 wxFileHistory
*result
;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "maxFiles", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5540 arg1
= (int) SWIG_AsInt(obj0
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5557 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5562 (char *) "self", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5582 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5585 wxString
*arg2
= 0 ;
5586 bool temp2
= False
;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "file", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5597 arg2
= wxString_in_helper(obj1
);
5598 if (arg2
== NULL
) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5623 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5630 (char *) "self",(char *) "i", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 arg2
= (int) SWIG_AsInt(obj1
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->RemoveFileFromHistory(arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5652 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_FromInt((int)result
);
5678 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5681 wxMenu
*arg2
= (wxMenu
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5685 (char *) "self",(char *) "menu", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->UseMenu(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5710 wxMenu
*arg2
= (wxMenu
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5714 (char *) "self",(char *) "menu", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 (arg1
)->RemoveMenu(arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5739 wxConfigBase
*arg2
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5743 (char *) "self",(char *) "config", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5753 PyErr_SetString(PyExc_TypeError
,"null reference");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->Load(*arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5773 wxConfigBase
*arg2
= 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5777 (char *) "self",(char *) "config", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5787 PyErr_SetString(PyExc_TypeError
,"null reference");
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->Save(*arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5807 PyObject
* obj0
= 0 ;
5809 (char *) "self", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 (arg1
)->AddFilesToMenu();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5832 wxMenu
*arg2
= (wxMenu
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "menu", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->AddFilesToMenu(arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5866 (char *) "self",(char *) "i", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 arg2
= (int) SWIG_AsInt(obj1
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5894 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "self", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= SWIG_FromInt((int)result
);
5920 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5923 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5925 return Py_BuildValue((char *)"");
5927 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxString
*arg1
= 0 ;
5930 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5931 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5932 wxSingleInstanceChecker
*result
;
5933 bool temp1
= False
;
5934 bool temp2
= False
;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5938 (char *) "name",(char *) "path", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5943 arg1
= wxString_in_helper(obj0
);
5944 if (arg1
== NULL
) SWIG_fail
;
5949 arg2
= wxString_in_helper(obj1
);
5950 if (arg2
== NULL
) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5984 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxSingleInstanceChecker
*result
;
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6006 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6034 wxString
*arg2
= 0 ;
6035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6038 bool temp2
= False
;
6039 bool temp3
= False
;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 PyObject
* obj2
= 0 ;
6044 (char *) "self",(char *) "name",(char *) "path", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 arg2
= wxString_in_helper(obj1
);
6052 if (arg2
== NULL
) SWIG_fail
;
6057 arg3
= wxString_in_helper(obj2
);
6058 if (arg3
== NULL
) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 (char *) "self", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6122 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6125 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6127 return Py_BuildValue((char *)"");
6129 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxWindow
*arg1
= (wxWindow
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6136 PyObject
* obj2
= 0 ;
6138 (char *) "window",(char *) "dc",(char *) "method", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6148 PyErr_SetString(PyExc_TypeError
,"null reference");
6151 arg3
= (int) SWIG_AsInt(obj2
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 Py_INCREF(Py_None
); resultobj
= Py_None
;
6167 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6172 (char *) "self", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6192 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6198 (char *) "self", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (arg1
)->GetTip();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6224 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6230 (char *) "self", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (size_t)(arg1
)->GetCurrentTip();
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6250 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6253 wxString
*arg2
= 0 ;
6255 bool temp2
= False
;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "tip", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 arg2
= wxString_in_helper(obj1
);
6267 if (arg2
== NULL
) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6298 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6301 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6303 return Py_BuildValue((char *)"");
6305 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6308 wxPyTipProvider
*result
;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "currentTip", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6315 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6331 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6334 PyObject
*arg2
= (PyObject
*) 0 ;
6335 PyObject
*arg3
= (PyObject
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "self",(char *) "_class", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 Py_INCREF(Py_None
); resultobj
= Py_None
;
6362 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6367 return Py_BuildValue((char *)"");
6369 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxWindow
*arg1
= (wxWindow
*) 0 ;
6372 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6373 bool arg3
= (bool) True
;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6379 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6388 arg3
= (bool) SWIG_AsBool(obj2
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6392 if (!wxPyCheckForApp()) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6408 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxString
*arg1
= 0 ;
6412 wxTipProvider
*result
;
6413 bool temp1
= False
;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6417 (char *) "filename",(char *) "currentTip", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6422 arg1
= wxString_in_helper(obj0
);
6423 if (arg1
== NULL
) SWIG_fail
;
6426 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 if (!wxPyCheckForApp()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6451 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6454 int arg2
= (int) -1 ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6459 (char *) "owner",(char *) "id", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6468 arg2
= (int) SWIG_AsInt(obj1
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 if (!wxPyCheckForApp()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6486 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6514 PyObject
*arg2
= (PyObject
*) 0 ;
6515 PyObject
*arg3
= (PyObject
*) 0 ;
6516 int arg4
= (int) 1 ;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6519 PyObject
* obj2
= 0 ;
6520 PyObject
* obj3
= 0 ;
6522 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 arg4
= (int) SWIG_AsInt(obj3
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 Py_INCREF(Py_None
); resultobj
= Py_None
;
6548 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6551 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6552 int arg3
= (int) -1 ;
6553 PyObject
* obj0
= 0 ;
6554 PyObject
* obj1
= 0 ;
6555 PyObject
* obj2
= 0 ;
6557 (char *) "self",(char *) "owner",(char *) "id", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 arg3
= (int) SWIG_AsInt(obj2
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 (arg1
)->SetOwner(arg2
,arg3
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6586 wxEvtHandler
*result
;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= wxPyMake_wxObject(result
);
6611 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6614 int arg2
= (int) -1 ;
6615 bool arg3
= (bool) False
;
6617 PyObject
* obj0
= 0 ;
6618 PyObject
* obj1
= 0 ;
6619 PyObject
* obj2
= 0 ;
6621 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 arg2
= (int) SWIG_AsInt(obj1
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6632 arg3
= (bool) SWIG_AsBool(obj2
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6651 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 Py_INCREF(Py_None
); resultobj
= Py_None
;
6676 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6710 (char *) "self", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= SWIG_FromInt((int)result
);
6730 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6736 (char *) "self", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6758 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6764 (char *) "self", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_FromInt((int)result
);
6784 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6787 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6789 return Py_BuildValue((char *)"");
6791 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 int arg1
= (int) 0 ;
6794 int arg2
= (int) 0 ;
6795 wxTimerEvent
*result
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "timerid",(char *) "interval", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6804 arg1
= (int) SWIG_AsInt(obj0
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6808 arg2
= (int) SWIG_AsInt(obj1
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6825 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6831 (char *) "self", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_FromInt((int)result
);
6851 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6854 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6856 return Py_BuildValue((char *)"");
6858 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6859 PyObject
*resultobj
;
6861 wxTimerRunner
*result
;
6862 PyObject
* obj0
= 0 ;
6864 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6869 PyErr_SetString(PyExc_TypeError
,"null reference");
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6887 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6888 PyObject
*resultobj
;
6891 bool arg3
= (bool) False
;
6892 wxTimerRunner
*result
;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 PyObject
* obj2
= 0 ;
6897 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6902 PyErr_SetString(PyExc_TypeError
,"null reference");
6905 arg2
= (int) SWIG_AsInt(obj1
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 arg3
= (bool) SWIG_AsBool(obj2
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 if (!wxPyCheckForApp()) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6926 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6931 argc
= PyObject_Length(args
);
6932 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6933 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6939 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6947 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6950 if ((argc
>= 2) && (argc
<= 3)) {
6954 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6962 _v
= SWIG_CheckInt(argv
[1]);
6965 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6967 _v
= SWIG_CheckBool(argv
[2]);
6969 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6975 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6980 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6983 PyObject
* obj0
= 0 ;
6985 (char *) "self", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 Py_INCREF(Py_None
); resultobj
= Py_None
;
7005 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7009 bool arg3
= (bool) False
;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 PyObject
* obj2
= 0 ;
7014 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 arg2
= (int) SWIG_AsInt(obj1
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 arg3
= (bool) SWIG_AsBool(obj2
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 (arg1
)->Start(arg2
,arg3
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 Py_INCREF(Py_None
); resultobj
= Py_None
;
7040 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7043 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7045 return Py_BuildValue((char *)"");
7047 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (wxLog
*)new wxLog();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7069 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (bool)wxLog::IsEnabled();
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7093 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 bool arg1
= (bool) True
;
7097 PyObject
* obj0
= 0 ;
7099 (char *) "doIt", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7104 arg1
= (bool) SWIG_AsBool(obj0
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (bool)wxLog::EnableLogging(arg1
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7123 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7126 wxChar
*arg2
= (wxChar
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7132 (char *) "level",(char *) "szString",(char *) "t", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7136 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7140 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7156 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxLog
*arg1
= (wxLog
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 wxLog::FlushActive();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 Py_INCREF(Py_None
); resultobj
= Py_None
;
7202 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (wxLog
*)wxLog::GetActiveTarget();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7224 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxLog
*arg1
= (wxLog
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "pLogger", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7250 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 bool arg1
= (bool) True
;
7295 PyObject
* obj0
= 0 ;
7297 (char *) "bVerbose", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7302 arg1
= (bool) SWIG_AsBool(obj0
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 wxLog::SetVerbose(arg1
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "logLevel", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7328 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 wxLog::SetLogLevel(arg1
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 wxLog::DontCreateOnDemand();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7368 PyObject
* obj0
= 0 ;
7370 (char *) "ulMask", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7374 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 wxLog::SetTraceMask(arg1
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 Py_INCREF(Py_None
); resultobj
= Py_None
;
7390 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxString
*arg1
= 0 ;
7393 bool temp1
= False
;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "str", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7401 arg1
= wxString_in_helper(obj0
);
7402 if (arg1
== NULL
) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 wxLog::AddTraceMask((wxString
const &)*arg1
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxString
*arg1
= 0 ;
7430 bool temp1
= False
;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "str", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7438 arg1
= wxString_in_helper(obj0
);
7439 if (arg1
== NULL
) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 wxLog::ClearTraceMasks();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxArrayString
*result
;
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7497 result
= (wxArrayString
*) &_result_ref
;
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= wxArrayString2PyList_helper(*result
);
7512 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxChar
*arg1
= (wxChar
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 wxLog::SetTimestamp((wxChar
const *)arg1
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (bool)wxLog::GetVerbose();
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7561 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxTraceMask
)wxLog::GetTraceMask();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7583 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxChar
*arg1
= (wxChar
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "mask", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7611 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (wxLogLevel
)wxLog::GetLogLevel();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7633 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxChar
*)wxLog::GetTimestamp();
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7655 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= Log_TimeStamp();
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7683 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxLog
*arg1
= (wxLog
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7688 (char *) "self", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 wxLog_Destroy(arg1
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7708 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7711 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7713 return Py_BuildValue((char *)"");
7715 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxLogStderr
*result
;
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (wxLogStderr
*)new wxLogStderr();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7737 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7740 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7742 return Py_BuildValue((char *)"");
7744 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7747 wxLogTextCtrl
*result
;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "pTextCtrl", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7770 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7773 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7775 return Py_BuildValue((char *)"");
7777 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (wxLogGui
*)new wxLogGui();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7799 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7802 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7804 return Py_BuildValue((char *)"");
7806 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxFrame
*arg1
= (wxFrame
*) 0 ;
7809 wxString
*arg2
= 0 ;
7810 bool arg3
= (bool) True
;
7811 bool arg4
= (bool) True
;
7812 wxLogWindow
*result
;
7813 bool temp2
= False
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 PyObject
* obj2
= 0 ;
7817 PyObject
* obj3
= 0 ;
7819 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 arg2
= wxString_in_helper(obj1
);
7827 if (arg2
== NULL
) SWIG_fail
;
7831 arg3
= (bool) SWIG_AsBool(obj2
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7835 arg4
= (bool) SWIG_AsBool(obj3
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7860 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7863 bool arg2
= (bool) True
;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7867 (char *) "self",(char *) "bShow", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 arg2
= (bool) SWIG_AsBool(obj1
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7891 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7897 (char *) "self", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= wxPyMake_wxObject(result
);
7919 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "self", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7945 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7980 (char *) "self",(char *) "bDoPass", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 arg2
= (bool) SWIG_AsBool(obj1
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 (arg1
)->PassMessages(arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8005 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8007 return Py_BuildValue((char *)"");
8009 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxLog
*arg1
= (wxLog
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "logger", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxLogChain
*)new wxLogChain(arg1
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8035 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8038 wxLog
*arg2
= (wxLog
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8042 (char *) "self",(char *) "logger", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 (arg1
)->SetLog(arg2
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 Py_INCREF(Py_None
); resultobj
= Py_None
;
8064 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "self",(char *) "bDoPass", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8077 arg2
= (bool) SWIG_AsBool(obj1
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->PassMessages(arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (bool)(arg1
)->IsPassingMessages();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8121 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (wxLog
*)(arg1
)->GetOldLog();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8147 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8150 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8152 return Py_BuildValue((char *)"");
8154 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 unsigned long result
;
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (unsigned long)wxSysErrorCode();
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8176 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 unsigned long arg1
= (unsigned long) 0 ;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "nErrCode", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8187 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= wxSysErrorMsg(arg1
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8210 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxString
*arg1
= 0 ;
8213 bool temp1
= False
;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "msg", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8221 arg1
= wxString_in_helper(obj0
);
8222 if (arg1
== NULL
) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxLogFatalError((wxString
const &)*arg1
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8247 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxString
*arg1
= 0 ;
8250 bool temp1
= False
;
8251 PyObject
* obj0
= 0 ;
8253 (char *) "msg", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8258 arg1
= wxString_in_helper(obj0
);
8259 if (arg1
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 wxLogError((wxString
const &)*arg1
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxString
*arg1
= 0 ;
8287 bool temp1
= False
;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "msg", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8295 arg1
= wxString_in_helper(obj0
);
8296 if (arg1
== NULL
) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 wxLogWarning((wxString
const &)*arg1
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxString
*arg1
= 0 ;
8324 bool temp1
= False
;
8325 PyObject
* obj0
= 0 ;
8327 (char *) "msg", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8332 arg1
= wxString_in_helper(obj0
);
8333 if (arg1
== NULL
) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 wxLogMessage((wxString
const &)*arg1
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 Py_INCREF(Py_None
); resultobj
= Py_None
;
8358 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxString
*arg1
= 0 ;
8361 bool temp1
= False
;
8362 PyObject
* obj0
= 0 ;
8364 (char *) "msg", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8369 arg1
= wxString_in_helper(obj0
);
8370 if (arg1
== NULL
) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 wxLogInfo((wxString
const &)*arg1
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 Py_INCREF(Py_None
); resultobj
= Py_None
;
8395 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxString
*arg1
= 0 ;
8398 bool temp1
= False
;
8399 PyObject
* obj0
= 0 ;
8401 (char *) "msg", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8406 arg1
= wxString_in_helper(obj0
);
8407 if (arg1
== NULL
) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 wxLogDebug((wxString
const &)*arg1
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 Py_INCREF(Py_None
); resultobj
= Py_None
;
8432 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxString
*arg1
= 0 ;
8435 bool temp1
= False
;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "msg", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8443 arg1
= wxString_in_helper(obj0
);
8444 if (arg1
== NULL
) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 wxLogVerbose((wxString
const &)*arg1
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 Py_INCREF(Py_None
); resultobj
= Py_None
;
8469 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxString
*arg1
= 0 ;
8472 bool temp1
= False
;
8473 PyObject
* obj0
= 0 ;
8475 (char *) "msg", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8480 arg1
= wxString_in_helper(obj0
);
8481 if (arg1
== NULL
) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 wxLogStatus((wxString
const &)*arg1
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 Py_INCREF(Py_None
); resultobj
= Py_None
;
8506 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxFrame
*arg1
= (wxFrame
*) 0 ;
8509 wxString
*arg2
= 0 ;
8510 bool temp2
= False
;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8514 (char *) "pFrame",(char *) "msg", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 arg2
= wxString_in_helper(obj1
);
8522 if (arg2
== NULL
) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 Py_INCREF(Py_None
); resultobj
= Py_None
;
8547 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxString
*arg1
= 0 ;
8550 bool temp1
= False
;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "msg", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8558 arg1
= wxString_in_helper(obj0
);
8559 if (arg1
== NULL
) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 wxLogSysError((wxString
const &)*arg1
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8584 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8585 PyObject
*resultobj
;
8586 unsigned long arg1
;
8587 wxString
*arg2
= 0 ;
8588 bool temp2
= False
;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8593 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 arg2
= wxString_in_helper(obj1
);
8597 if (arg2
== NULL
) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8623 PyObject
*resultobj
;
8624 wxString
*arg1
= 0 ;
8625 wxString
*arg2
= 0 ;
8626 bool temp1
= False
;
8627 bool temp2
= False
;
8628 PyObject
* obj0
= 0 ;
8629 PyObject
* obj1
= 0 ;
8631 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8633 arg1
= wxString_in_helper(obj0
);
8634 if (arg1
== NULL
) SWIG_fail
;
8638 arg2
= wxString_in_helper(obj1
);
8639 if (arg2
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8672 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8677 argc
= PyObject_Length(args
);
8678 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8679 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8684 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8688 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8691 return _wrap_LogTrace__SWIG_1(self
,args
);
8697 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8700 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8703 return _wrap_LogTrace__SWIG_0(self
,args
);
8708 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8713 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 unsigned long arg1
;
8716 wxString
*arg2
= 0 ;
8717 bool temp2
= False
;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8721 (char *) "level",(char *) "msg", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8725 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 arg2
= wxString_in_helper(obj1
);
8729 if (arg2
== NULL
) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8754 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxString
*arg1
= 0 ;
8757 wxString
*arg2
= 0 ;
8758 bool temp1
= False
;
8759 bool temp2
= False
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "title",(char *) "text", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 arg1
= wxString_in_helper(obj0
);
8769 if (arg1
== NULL
) SWIG_fail
;
8773 arg2
= wxString_in_helper(obj1
);
8774 if (arg2
== NULL
) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8807 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (wxLogNull
*)new wxLogNull();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8829 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8857 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8859 return Py_BuildValue((char *)"");
8861 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (wxPyLog
*)new wxPyLog();
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8883 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8886 PyObject
*arg2
= (PyObject
*) 0 ;
8887 PyObject
*arg3
= (PyObject
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 PyObject
* obj2
= 0 ;
8892 (char *) "self",(char *) "self",(char *) "_class", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8917 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8919 return Py_BuildValue((char *)"");
8921 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8924 int arg2
= (int) wxSIGTERM
;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "pid",(char *) "sig", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 arg1
= (int) SWIG_AsInt(obj0
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_FromInt((int)result
);
8953 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8957 PyObject
* obj0
= 0 ;
8959 (char *) "pid", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8963 arg1
= (int) SWIG_AsInt(obj0
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (bool)wxPyProcess::Exists(arg1
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8981 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8983 wxString
*arg1
= 0 ;
8984 int arg2
= (int) wxEXEC_ASYNC
;
8985 wxPyProcess
*result
;
8986 bool temp1
= False
;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8990 (char *) "cmd",(char *) "flags", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8995 arg1
= wxString_in_helper(obj0
);
8996 if (arg1
== NULL
) SWIG_fail
;
9000 arg2
= (int) SWIG_AsInt(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9025 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9028 int arg2
= (int) -1 ;
9029 wxPyProcess
*result
;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "parent",(char *) "id", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 arg2
= (int) SWIG_AsInt(obj1
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9059 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9062 PyObject
*arg2
= (PyObject
*) 0 ;
9063 PyObject
*arg3
= (PyObject
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9065 PyObject
* obj1
= 0 ;
9066 PyObject
* obj2
= 0 ;
9068 (char *) "self",(char *) "self",(char *) "_class", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 PyObject
* obj2
= 0 ;
9099 (char *) "self",(char *) "pid",(char *) "status", NULL
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9105 arg2
= (int) SWIG_AsInt(obj1
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9107 arg3
= (int) SWIG_AsInt(obj2
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 (arg1
)->base_OnTerminate(arg2
,arg3
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9154 (char *) "self", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (bool)(arg1
)->IsRedirected();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9176 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9201 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9204 wxInputStream
*result
;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 wxPyInputStream
* _ptr
= NULL
;
9224 _ptr
= new wxPyInputStream(result
);
9226 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9234 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9237 wxInputStream
*result
;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 wxPyInputStream
* _ptr
= NULL
;
9257 _ptr
= new wxPyInputStream(result
);
9259 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9267 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9270 wxOutputStream
*result
;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9293 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
;
9295 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9298 (char *) "self", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 (arg1
)->CloseOutput();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 Py_INCREF(Py_None
); resultobj
= Py_None
;
9318 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9324 (char *) "self", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",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();
9360 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9374 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "self", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9402 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9405 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9407 return Py_BuildValue((char *)"");
9409 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 int arg1
= (int) 0 ;
9412 int arg2
= (int) 0 ;
9413 int arg3
= (int) 0 ;
9414 wxProcessEvent
*result
;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 PyObject
* obj2
= 0 ;
9419 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9424 arg1
= (int) SWIG_AsInt(obj0
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 arg2
= (int) SWIG_AsInt(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9432 arg3
= (int) SWIG_AsInt(obj2
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9449 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "self", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (int)(arg1
)->GetPid();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_FromInt((int)result
);
9475 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9481 (char *) "self", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (int)(arg1
)->GetExitCode();
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_FromInt((int)result
);
9501 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "m_pid", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 arg2
= (int) SWIG_AsInt(obj1
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9516 if (arg1
) (arg1
)->m_pid
= arg2
;
9518 Py_INCREF(Py_None
); resultobj
= Py_None
;
9525 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9537 result
= (int) ((arg1
)->m_pid
);
9539 resultobj
= SWIG_FromInt((int)result
);
9546 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "self",(char *) "m_exitcode", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9559 arg2
= (int) SWIG_AsInt(obj1
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9561 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9563 Py_INCREF(Py_None
); resultobj
= Py_None
;
9570 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9576 (char *) "self", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 result
= (int) ((arg1
)->m_exitcode
);
9584 resultobj
= SWIG_FromInt((int)result
);
9591 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9594 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9596 return Py_BuildValue((char *)"");
9598 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxString
*arg1
= 0 ;
9601 int arg2
= (int) wxEXEC_ASYNC
;
9602 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9604 bool temp1
= False
;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9609 (char *) "command",(char *) "flags",(char *) "process", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9614 arg1
= wxString_in_helper(obj0
);
9615 if (arg1
== NULL
) SWIG_fail
;
9619 arg2
= (int) SWIG_AsInt(obj1
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 if (!wxPyCheckForApp()) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_FromLong((long)result
);
9649 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 int arg1
= (int) wxJOYSTICK1
;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "joystick", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9660 arg1
= (int) SWIG_AsInt(obj0
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 if (!wxPyCheckForApp()) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (wxJoystick
*)new wxJoystick(arg1
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9678 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 Py_INCREF(Py_None
); resultobj
= Py_None
;
9703 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9709 (char *) "self", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (arg1
)->GetPosition();
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 wxPoint
* resultptr
;
9724 resultptr
= new wxPoint((wxPoint
&) result
);
9725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9733 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (int)(arg1
)->GetZPosition();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_FromInt((int)result
);
9759 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (int)(arg1
)->GetButtonState();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_FromInt((int)result
);
9785 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (int)(arg1
)->GetPOVPosition();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_FromInt((int)result
);
9811 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (int)(arg1
)->GetPOVCTSPosition();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_FromInt((int)result
);
9837 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (int)(arg1
)->GetRudderPosition();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_FromInt((int)result
);
9863 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (int)(arg1
)->GetUPosition();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_FromInt((int)result
);
9889 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)(arg1
)->GetVPosition();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_FromInt((int)result
);
9915 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "self", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (int)(arg1
)->GetMovementThreshold();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_FromInt((int)result
);
9941 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9948 (char *) "self",(char *) "threshold", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9954 arg2
= (int) SWIG_AsInt(obj1
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 (arg1
)->SetMovementThreshold(arg2
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 Py_INCREF(Py_None
); resultobj
= Py_None
;
9970 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (bool)(arg1
)->IsOk();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9998 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (int)(arg1
)->GetNumberJoysticks();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_FromInt((int)result
);
10024 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (int)(arg1
)->GetManufacturerId();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_FromInt((int)result
);
10050 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (int)(arg1
)->GetProductId();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_FromInt((int)result
);
10076 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10080 PyObject
* obj0
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (arg1
)->GetProductName();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10108 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (int)(arg1
)->GetXMin();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_FromInt((int)result
);
10134 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (int)(arg1
)->GetYMin();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_FromInt((int)result
);
10160 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetZMin();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_FromInt((int)result
);
10186 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)(arg1
)->GetXMax();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_FromInt((int)result
);
10212 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)(arg1
)->GetYMax();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_FromInt((int)result
);
10238 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (int)(arg1
)->GetZMax();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_FromInt((int)result
);
10264 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)(arg1
)->GetNumberButtons();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_FromInt((int)result
);
10290 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (int)(arg1
)->GetNumberAxes();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_FromInt((int)result
);
10316 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (int)(arg1
)->GetMaxButtons();
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_FromInt((int)result
);
10342 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (int)(arg1
)->GetMaxAxes();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_FromInt((int)result
);
10368 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetPollingMin();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_FromInt((int)result
);
10394 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)(arg1
)->GetPollingMax();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_FromInt((int)result
);
10420 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (int)(arg1
)->GetRudderMin();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_FromInt((int)result
);
10446 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (int)(arg1
)->GetRudderMax();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_FromInt((int)result
);
10472 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= (int)(arg1
)->GetUMin();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_FromInt((int)result
);
10498 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (int)(arg1
)->GetUMax();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_FromInt((int)result
);
10524 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (int)(arg1
)->GetVMin();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_FromInt((int)result
);
10550 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (int)(arg1
)->GetVMax();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_FromInt((int)result
);
10576 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)(arg1
)->HasRudder();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10604 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)(arg1
)->HasZ();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (bool)(arg1
)->HasU();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10660 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (bool)(arg1
)->HasV();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10688 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (bool)(arg1
)->HasPOV();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10716 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (bool)(arg1
)->HasPOV4Dir();
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10744 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (bool)(arg1
)->HasPOVCTS();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10772 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10775 wxWindow
*arg2
= (wxWindow
*) 0 ;
10776 int arg3
= (int) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 arg3
= (int) SWIG_AsInt(obj2
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10810 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (bool)(arg1
)->ReleaseCapture();
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10838 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10841 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10843 return Py_BuildValue((char *)"");
10845 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10848 wxPoint
*arg2
= (wxPoint
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "m_pos", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 if (arg1
) (arg1
)->m_pos
= *arg2
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10881 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10890 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "m_zPosition", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 arg2
= (int) SWIG_AsInt(obj1
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10905 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10907 Py_INCREF(Py_None
); resultobj
= Py_None
;
10914 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 result
= (int) ((arg1
)->m_zPosition
);
10928 resultobj
= SWIG_FromInt((int)result
);
10935 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self",(char *) "m_buttonChange", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 arg2
= (int) SWIG_AsInt(obj1
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10950 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10971 result
= (int) ((arg1
)->m_buttonChange
);
10973 resultobj
= SWIG_FromInt((int)result
);
10980 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "m_buttonState", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10993 arg2
= (int) SWIG_AsInt(obj1
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10995 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 result
= (int) ((arg1
)->m_buttonState
);
11018 resultobj
= SWIG_FromInt((int)result
);
11025 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "m_joyStick", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 arg2
= (int) SWIG_AsInt(obj1
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11040 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11049 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 result
= (int) ((arg1
)->m_joyStick
);
11063 resultobj
= SWIG_FromInt((int)result
);
11070 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11073 int arg2
= (int) 0 ;
11074 int arg3
= (int) wxJOYSTICK1
;
11075 int arg4
= (int) 0 ;
11076 wxJoystickEvent
*result
;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 PyObject
* obj3
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11087 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 arg2
= (int) SWIG_AsInt(obj1
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 arg3
= (int) SWIG_AsInt(obj2
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 arg4
= (int) SWIG_AsInt(obj3
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11116 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 wxPoint
* resultptr
;
11137 resultptr
= new wxPoint((wxPoint
&) result
);
11138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11146 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_FromInt((int)result
);
11172 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_FromInt((int)result
);
11198 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_FromInt((int)result
);
11224 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_FromInt((int)result
);
11250 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "stick", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11263 arg2
= (int) SWIG_AsInt(obj1
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 (arg1
)->SetJoystick(arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 Py_INCREF(Py_None
); resultobj
= Py_None
;
11279 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "state", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11292 arg2
= (int) SWIG_AsInt(obj1
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 (arg1
)->SetButtonState(arg2
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "change", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (int) SWIG_AsInt(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetButtonChange(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11340 wxPoint
*arg2
= 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "pos", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "zPos", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 arg2
= (int) SWIG_AsInt(obj1
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 (arg1
)->SetZPosition(arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 Py_INCREF(Py_None
); resultobj
= Py_None
;
11398 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11426 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11454 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11482 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11485 int arg2
= (int) wxJOY_BUTTON_ANY
;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "but", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11497 arg2
= (int) SWIG_AsInt(obj1
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11519 int arg2
= (int) wxJOY_BUTTON_ANY
;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "but", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 arg2
= (int) SWIG_AsInt(obj1
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11553 int arg2
= (int) wxJOY_BUTTON_ANY
;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self",(char *) "but", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 arg2
= (int) SWIG_AsInt(obj1
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11587 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11589 return Py_BuildValue((char *)"");
11591 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11594 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11596 bool temp1
= False
;
11597 PyObject
* obj0
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "fileName", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11605 arg1
= wxString_in_helper(obj0
);
11606 if (arg1
== NULL
) SWIG_fail
;
11611 if (!wxPyCheckForApp()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11633 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 PyObject
*arg1
= (PyObject
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "data", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11645 if (!wxPyCheckForApp()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxSound
*)new_wxSound(arg1
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11659 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxSound
*arg1
= (wxSound
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 Py_INCREF(Py_None
); resultobj
= Py_None
;
11684 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxSound
*arg1
= (wxSound
*) 0 ;
11687 wxString
*arg2
= 0 ;
11689 bool temp2
= False
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "fileName", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11700 arg2
= wxString_in_helper(obj1
);
11701 if (arg2
== NULL
) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11728 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxSound
*arg1
= (wxSound
*) 0 ;
11731 PyObject
*arg2
= (PyObject
*) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "data", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11759 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxSound
*arg1
= (wxSound
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (bool)(arg1
)->IsOk();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11787 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxSound
*arg1
= (wxSound
*) 0 ;
11790 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11792 PyObject
* obj0
= 0 ;
11793 PyObject
* obj1
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self",(char *) "flags", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 if (!wxPyCheckForApp()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11822 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxString
*arg1
= 0 ;
11825 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11827 bool temp1
= False
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "filename",(char *) "flags", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11836 arg1
= wxString_in_helper(obj0
);
11837 if (arg1
== NULL
) SWIG_fail
;
11841 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 if (!wxPyCheckForApp()) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11869 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 char *kwnames
[] = {
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11877 if (!wxPyCheckForApp()) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 Py_INCREF(Py_None
); resultobj
= Py_None
;
11891 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11894 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11896 return Py_BuildValue((char *)"");
11898 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxString
*arg1
= 0 ;
11901 wxString
*arg2
= 0 ;
11902 wxString
*arg3
= 0 ;
11903 wxString
*arg4
= 0 ;
11904 wxFileTypeInfo
*result
;
11905 bool temp1
= False
;
11906 bool temp2
= False
;
11907 bool temp3
= False
;
11908 bool temp4
= False
;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 PyObject
* obj3
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11919 arg1
= wxString_in_helper(obj0
);
11920 if (arg1
== NULL
) SWIG_fail
;
11924 arg2
= wxString_in_helper(obj1
);
11925 if (arg2
== NULL
) SWIG_fail
;
11929 arg3
= wxString_in_helper(obj2
);
11930 if (arg3
== NULL
) SWIG_fail
;
11934 arg4
= wxString_in_helper(obj3
);
11935 if (arg4
== NULL
) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11984 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxArrayString
*arg1
= 0 ;
11987 wxFileTypeInfo
*result
;
11988 bool temp1
= False
;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "sArray", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11996 if (! PySequence_Check(obj0
)) {
11997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12000 arg1
= new wxArrayString
;
12002 int i
, len
=PySequence_Length(obj0
);
12003 for (i
=0; i
<len
; i
++) {
12004 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12006 PyObject
* str
= PyObject_Unicode(item
);
12008 PyObject
* str
= PyObject_Str(item
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12011 arg1
->Add(Py2wxString(str
));
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12025 if (temp1
) delete arg1
;
12030 if (temp1
) delete arg1
;
12036 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxFileTypeInfo
*result
;
12039 char *kwnames
[] = {
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12058 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12086 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12089 wxString
*arg2
= 0 ;
12090 int arg3
= (int) 0 ;
12091 bool temp2
= False
;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 PyObject
* obj2
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12103 arg2
= wxString_in_helper(obj1
);
12104 if (arg2
== NULL
) SWIG_fail
;
12108 arg3
= (int) SWIG_AsInt(obj2
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12136 wxString
*arg2
= 0 ;
12137 bool temp2
= False
;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "shortDesc", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= wxString_in_helper(obj1
);
12149 if (arg2
== NULL
) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12190 result
= (wxString
*) &_result_ref
;
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12200 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12209 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12225 result
= (wxString
*) &_result_ref
;
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12244 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12248 PyObject
* obj0
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12260 result
= (wxString
*) &_result_ref
;
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12270 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12279 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "self", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12295 result
= (wxString
*) &_result_ref
;
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12305 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12314 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12330 result
= (wxString
*) &_result_ref
;
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12349 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12352 wxArrayString
*result
;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12365 result
= (wxArrayString
*) &_result_ref
;
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= wxArrayString2PyList_helper(*result
);
12380 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(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_GetExtensionsCount",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();
12394 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_FromInt((int)result
);
12406 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12422 result
= (wxString
*) &_result_ref
;
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12432 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12441 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_FromInt((int)result
);
12467 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12470 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12472 return Py_BuildValue((char *)"");
12474 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFileTypeInfo
*arg1
= 0 ;
12477 wxFileType
*result
;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "ftInfo", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12487 if (arg1
== NULL
) {
12488 PyErr_SetString(PyExc_TypeError
,"null reference");
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12505 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxFileType
*arg1
= (wxFileType
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 Py_INCREF(Py_None
); resultobj
= Py_None
;
12530 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxFileType
*arg1
= (wxFileType
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= result
;
12556 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxFileType
*arg1
= (wxFileType
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= result
;
12582 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxFileType
*arg1
= (wxFileType
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= result
;
12608 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxFileType
*arg1
= (wxFileType
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12634 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxFileType
*arg1
= (wxFileType
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
;
12660 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxFileType
*arg1
= (wxFileType
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= result
;
12686 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxFileType
*arg1
= (wxFileType
*) 0 ;
12689 wxString
*arg2
= 0 ;
12690 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12691 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12693 bool temp2
= False
;
12694 bool temp3
= False
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 PyObject
* obj2
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 arg2
= wxString_in_helper(obj1
);
12707 if (arg2
== NULL
) SWIG_fail
;
12712 arg3
= wxString_in_helper(obj2
);
12713 if (arg3
== NULL
) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= result
;
12747 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxFileType
*arg1
= (wxFileType
*) 0 ;
12750 wxString
*arg2
= 0 ;
12751 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12752 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12754 bool temp2
= False
;
12755 bool temp3
= False
;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 PyObject
* obj2
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= wxString_in_helper(obj1
);
12768 if (arg2
== NULL
) SWIG_fail
;
12773 arg3
= wxString_in_helper(obj2
);
12774 if (arg3
== NULL
) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
;
12808 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxFileType
*arg1
= (wxFileType
*) 0 ;
12811 wxString
*arg2
= 0 ;
12812 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12813 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12815 bool temp2
= False
;
12816 bool temp3
= False
;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 PyObject
* obj2
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12828 arg2
= wxString_in_helper(obj1
);
12829 if (arg2
== NULL
) SWIG_fail
;
12834 arg3
= wxString_in_helper(obj2
);
12835 if (arg3
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
;
12869 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxFileType
*arg1
= (wxFileType
*) 0 ;
12872 wxString
*arg2
= 0 ;
12873 wxString
*arg3
= 0 ;
12874 bool arg4
= (bool) True
;
12876 bool temp2
= False
;
12877 bool temp3
= False
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 arg2
= wxString_in_helper(obj1
);
12891 if (arg2
== NULL
) SWIG_fail
;
12895 arg3
= wxString_in_helper(obj2
);
12896 if (arg3
== NULL
) SWIG_fail
;
12900 arg4
= (bool) SWIG_AsBool(obj3
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12935 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxFileType
*arg1
= (wxFileType
*) 0 ;
12938 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12939 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12940 int arg3
= (int) 0 ;
12942 bool temp2
= False
;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 PyObject
* obj2
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "cmd",(char *) "index", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12955 arg2
= wxString_in_helper(obj1
);
12956 if (arg2
== NULL
) SWIG_fail
;
12961 arg3
= (int) SWIG_AsInt(obj2
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12988 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxFileType
*arg1
= (wxFileType
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (bool)(arg1
)->Unassociate();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13016 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxString
*arg1
= 0 ;
13019 wxString
*arg2
= 0 ;
13020 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13021 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13023 bool temp1
= False
;
13024 bool temp2
= False
;
13025 bool temp3
= False
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 PyObject
* obj2
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13035 arg1
= wxString_in_helper(obj0
);
13036 if (arg1
== NULL
) SWIG_fail
;
13040 arg2
= wxString_in_helper(obj1
);
13041 if (arg2
== NULL
) SWIG_fail
;
13046 arg3
= wxString_in_helper(obj2
);
13047 if (arg3
== NULL
) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13095 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13098 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13100 return Py_BuildValue((char *)"");
13102 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13103 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13108 static PyObject
*_wrap_TheMimeTypesManager_get() {
13111 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13116 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxString
*arg1
= 0 ;
13119 wxString
*arg2
= 0 ;
13121 bool temp1
= False
;
13122 bool temp2
= False
;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "mimeType",(char *) "wildcard", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13131 arg1
= wxString_in_helper(obj0
);
13132 if (arg1
== NULL
) SWIG_fail
;
13136 arg2
= wxString_in_helper(obj1
);
13137 if (arg2
== NULL
) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13172 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxMimeTypesManager
*result
;
13175 char *kwnames
[] = {
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13194 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13197 int arg2
= (int) wxMAILCAP_ALL
;
13198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13200 bool temp3
= False
;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 arg2
= (int) SWIG_AsInt(obj1
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13217 arg3
= wxString_in_helper(obj2
);
13218 if (arg3
== NULL
) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13244 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->ClearData();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 Py_INCREF(Py_None
); resultobj
= Py_None
;
13269 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13272 wxString
*arg2
= 0 ;
13273 wxFileType
*result
;
13274 bool temp2
= False
;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "ext", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 arg2
= wxString_in_helper(obj1
);
13286 if (arg2
== NULL
) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13311 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13314 wxString
*arg2
= 0 ;
13315 wxFileType
*result
;
13316 bool temp2
= False
;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "mimeType", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13327 arg2
= wxString_in_helper(obj1
);
13328 if (arg2
== NULL
) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13353 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13356 wxString
*arg2
= 0 ;
13357 bool arg3
= (bool) False
;
13359 bool temp2
= False
;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 arg2
= wxString_in_helper(obj1
);
13372 if (arg2
== NULL
) SWIG_fail
;
13376 arg3
= (bool) SWIG_AsBool(obj2
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13403 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13406 wxString
*arg2
= 0 ;
13408 bool temp2
= False
;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "filename", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13419 arg2
= wxString_in_helper(obj1
);
13420 if (arg2
== NULL
) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13447 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= result
;
13473 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13476 wxFileTypeInfo
*arg2
= 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "ft", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13489 if (arg2
== NULL
) {
13490 PyErr_SetString(PyExc_TypeError
,"null reference");
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13507 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13510 wxFileTypeInfo
*arg2
= 0 ;
13511 wxFileType
*result
;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self",(char *) "ftInfo", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13524 if (arg2
== NULL
) {
13525 PyErr_SetString(PyExc_TypeError
,"null reference");
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13542 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13545 wxFileType
*arg2
= (wxFileType
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self",(char *) "ft", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (bool)(arg1
)->Unassociate(arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13574 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 Py_INCREF(Py_None
); resultobj
= Py_None
;
13599 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13602 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13604 return Py_BuildValue((char *)"");
13606 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13607 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13612 static PyObject
*_wrap_ART_TOOLBAR_get() {
13617 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13619 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13626 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13627 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13632 static PyObject
*_wrap_ART_MENU_get() {
13637 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13639 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13646 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13647 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13652 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13657 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13659 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13666 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13667 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13672 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13677 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13679 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13686 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13687 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13692 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13697 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13699 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13706 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13707 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13712 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13717 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13719 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13726 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13727 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13732 static PyObject
*_wrap_ART_OTHER_get() {
13737 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13739 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13746 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13747 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13752 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13757 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13759 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13766 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13767 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13772 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13777 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13779 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13786 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13787 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13792 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13797 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13799 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13806 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13807 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13812 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13817 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13819 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13826 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13827 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13832 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13837 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13839 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13846 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13847 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13852 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13857 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13859 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13866 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13867 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13872 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13877 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13879 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13886 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13887 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13892 static PyObject
*_wrap_ART_GO_BACK_get() {
13897 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13899 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13906 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13907 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13912 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13917 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13919 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13926 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13927 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13932 static PyObject
*_wrap_ART_GO_UP_get() {
13937 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13939 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13946 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13947 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13952 static PyObject
*_wrap_ART_GO_DOWN_get() {
13957 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13959 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13966 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13967 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13972 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13977 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13979 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13986 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13987 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13992 static PyObject
*_wrap_ART_GO_HOME_get() {
13997 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13999 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14006 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14007 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14012 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14017 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14019 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14026 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14027 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14032 static PyObject
*_wrap_ART_PRINT_get() {
14037 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14039 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14046 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14047 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14052 static PyObject
*_wrap_ART_HELP_get() {
14057 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14059 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14066 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14067 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14072 static PyObject
*_wrap_ART_TIP_get() {
14077 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14079 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14086 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14087 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14092 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14097 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14099 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14106 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14107 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14112 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14117 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14119 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14126 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14127 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14132 static PyObject
*_wrap_ART_NEW_DIR_get() {
14137 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14139 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14146 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14147 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14152 static PyObject
*_wrap_ART_FOLDER_get() {
14157 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14159 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14166 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14167 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14172 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14177 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14179 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14186 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14187 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14192 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14197 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14199 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14206 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14207 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14212 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14217 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14219 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14226 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14227 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14232 static PyObject
*_wrap_ART_TICK_MARK_get() {
14237 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14239 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14246 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14247 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14252 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14257 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14259 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14266 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14267 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14272 static PyObject
*_wrap_ART_ERROR_get() {
14277 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14279 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14286 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14287 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14292 static PyObject
*_wrap_ART_QUESTION_get() {
14297 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14299 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14306 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14307 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14312 static PyObject
*_wrap_ART_WARNING_get() {
14317 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14319 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14326 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14327 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14332 static PyObject
*_wrap_ART_INFORMATION_get() {
14337 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14339 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14346 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14347 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14352 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14357 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14359 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14366 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxPyArtProvider
*result
;
14369 char *kwnames
[] = {
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14375 if (!wxPyCheckForApp()) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14389 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14392 PyObject
*arg2
= (PyObject
*) 0 ;
14393 PyObject
*arg3
= (PyObject
*) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 PyObject
* obj1
= 0 ;
14396 PyObject
* obj2
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self",(char *) "self",(char *) "_class", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "provider", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 wxPyArtProvider::PushProvider(arg1
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14448 char *kwnames
[] = {
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (bool)wxPyArtProvider::PopProvider();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "provider", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14497 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxString
*arg1
= 0 ;
14500 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14501 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14502 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14503 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14505 bool temp1
= False
;
14506 bool temp2
= False
;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 PyObject
* obj2
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "id",(char *) "client",(char *) "size", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14517 arg1
= wxString_in_helper(obj0
);
14518 if (arg1
== NULL
) SWIG_fail
;
14523 arg2
= wxString_in_helper(obj1
);
14524 if (arg2
== NULL
) SWIG_fail
;
14531 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14535 if (!wxPyCheckForApp()) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14543 wxBitmap
* resultptr
;
14544 resultptr
= new wxBitmap((wxBitmap
&) result
);
14545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14569 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxString
*arg1
= 0 ;
14572 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14573 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14574 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14575 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14577 bool temp1
= False
;
14578 bool temp2
= False
;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 PyObject
* obj2
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "id",(char *) "client",(char *) "size", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14589 arg1
= wxString_in_helper(obj0
);
14590 if (arg1
== NULL
) SWIG_fail
;
14595 arg2
= wxString_in_helper(obj1
);
14596 if (arg2
== NULL
) SWIG_fail
;
14603 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14607 if (!wxPyCheckForApp()) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 wxIcon
* resultptr
;
14616 resultptr
= new wxIcon((wxIcon
&) result
);
14617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14641 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 wxPyArtProvider_Destroy(arg1
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 Py_INCREF(Py_None
); resultobj
= Py_None
;
14666 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14669 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14671 return Py_BuildValue((char *)"");
14673 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14701 wxConfigBase
*result
;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "config", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14724 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 bool arg1
= (bool) True
;
14727 wxConfigBase
*result
;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "createOnDemand", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14735 arg1
= (bool) SWIG_AsBool(obj0
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14752 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxConfigBase
*result
;
14755 char *kwnames
[] = {
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (wxConfigBase
*)wxConfigBase::Create();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14774 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 char *kwnames
[] = {
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 wxConfigBase::DontCreateOnDemand();
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 Py_INCREF(Py_None
); resultobj
= Py_None
;
14795 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14798 wxString
*arg2
= 0 ;
14799 bool temp2
= False
;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "path", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 arg2
= wxString_in_helper(obj1
);
14811 if (arg2
== NULL
) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 (arg1
)->SetPath((wxString
const &)*arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 Py_INCREF(Py_None
); resultobj
= Py_None
;
14836 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14852 result
= (wxString
*) &_result_ref
;
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14862 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14871 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
;
14897 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14902 PyObject
* obj0
= 0 ;
14903 PyObject
* obj1
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self",(char *) "index", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14911 arg2
= (long) SWIG_AsLong(obj1
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= result
;
14927 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= result
;
14953 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "index", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 arg2
= (long) SWIG_AsLong(obj1
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
;
14983 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14986 bool arg2
= (bool) False
;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "recursive", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 arg2
= (bool) SWIG_AsBool(obj1
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15015 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15018 bool arg2
= (bool) False
;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self",(char *) "recursive", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 arg2
= (bool) SWIG_AsBool(obj1
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15047 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15050 wxString
*arg2
= 0 ;
15052 bool temp2
= False
;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self",(char *) "name", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 arg2
= wxString_in_helper(obj1
);
15064 if (arg2
== NULL
) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15091 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15094 wxString
*arg2
= 0 ;
15096 bool temp2
= False
;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self",(char *) "name", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 arg2
= wxString_in_helper(obj1
);
15108 if (arg2
== NULL
) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15138 wxString
*arg2
= 0 ;
15140 bool temp2
= False
;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self",(char *) "name", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 arg2
= wxString_in_helper(obj1
);
15152 if (arg2
== NULL
) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15179 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15182 wxString
*arg2
= 0 ;
15184 bool temp2
= False
;
15185 PyObject
* obj0
= 0 ;
15186 PyObject
* obj1
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "name", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 arg2
= wxString_in_helper(obj1
);
15196 if (arg2
== NULL
) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_FromInt((int)result
);
15221 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15224 wxString
*arg2
= 0 ;
15225 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15226 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15228 bool temp2
= False
;
15229 bool temp3
= False
;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 PyObject
* obj2
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 arg2
= wxString_in_helper(obj1
);
15242 if (arg2
== NULL
) SWIG_fail
;
15247 arg3
= wxString_in_helper(obj2
);
15248 if (arg3
== NULL
) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15288 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15291 wxString
*arg2
= 0 ;
15292 long arg3
= (long) 0 ;
15294 bool temp2
= False
;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 PyObject
* obj2
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 arg2
= wxString_in_helper(obj1
);
15307 if (arg2
== NULL
) SWIG_fail
;
15311 arg3
= (long) SWIG_AsLong(obj2
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_FromLong((long)result
);
15336 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15339 wxString
*arg2
= 0 ;
15340 double arg3
= (double) 0.0 ;
15342 bool temp2
= False
;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 PyObject
* obj2
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 arg2
= wxString_in_helper(obj1
);
15355 if (arg2
== NULL
) SWIG_fail
;
15359 arg3
= (double) SWIG_AsDouble(obj2
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_FromDouble((double)result
);
15384 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15387 wxString
*arg2
= 0 ;
15388 bool arg3
= (bool) False
;
15390 bool temp2
= False
;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 PyObject
* obj2
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 arg2
= wxString_in_helper(obj1
);
15403 if (arg2
== NULL
) SWIG_fail
;
15407 arg3
= (bool) SWIG_AsBool(obj2
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15437 wxString
*arg2
= 0 ;
15438 wxString
*arg3
= 0 ;
15440 bool temp2
= False
;
15441 bool temp3
= False
;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 PyObject
* obj2
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self",(char *) "key",(char *) "value", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 arg2
= wxString_in_helper(obj1
);
15454 if (arg2
== NULL
) SWIG_fail
;
15458 arg3
= wxString_in_helper(obj2
);
15459 if (arg3
== NULL
) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15497 wxString
*arg2
= 0 ;
15500 bool temp2
= False
;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 PyObject
* obj2
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "key",(char *) "value", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 arg2
= wxString_in_helper(obj1
);
15513 if (arg2
== NULL
) SWIG_fail
;
15516 arg3
= (long) SWIG_AsLong(obj2
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15542 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15545 wxString
*arg2
= 0 ;
15548 bool temp2
= False
;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 PyObject
* obj2
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self",(char *) "key",(char *) "value", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 arg2
= wxString_in_helper(obj1
);
15561 if (arg2
== NULL
) SWIG_fail
;
15564 arg3
= (double) SWIG_AsDouble(obj2
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15590 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15593 wxString
*arg2
= 0 ;
15596 bool temp2
= False
;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 PyObject
* obj2
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self",(char *) "key",(char *) "value", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15608 arg2
= wxString_in_helper(obj1
);
15609 if (arg2
== NULL
) SWIG_fail
;
15612 arg3
= (bool) SWIG_AsBool(obj2
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15638 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15641 bool arg2
= (bool) False
;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self",(char *) "currentOnly", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15653 arg2
= (bool) SWIG_AsBool(obj1
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (bool)(arg1
)->Flush(arg2
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15673 PyObject
*resultobj
;
15674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15675 wxString
*arg2
= 0 ;
15676 wxString
*arg3
= 0 ;
15678 bool temp2
= False
;
15679 bool temp3
= False
;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 arg2
= wxString_in_helper(obj1
);
15692 if (arg2
== NULL
) SWIG_fail
;
15696 arg3
= wxString_in_helper(obj2
);
15697 if (arg3
== NULL
) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15732 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15735 wxString
*arg2
= 0 ;
15736 wxString
*arg3
= 0 ;
15738 bool temp2
= False
;
15739 bool temp3
= False
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",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
;
15756 arg3
= wxString_in_helper(obj2
);
15757 if (arg3
== NULL
) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15792 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15795 wxString
*arg2
= 0 ;
15796 bool arg3
= (bool) True
;
15798 bool temp2
= False
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= wxString_in_helper(obj1
);
15811 if (arg2
== NULL
) SWIG_fail
;
15815 arg3
= (bool) SWIG_AsBool(obj2
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15845 wxString
*arg2
= 0 ;
15847 bool temp2
= False
;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "key", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 arg2
= wxString_in_helper(obj1
);
15859 if (arg2
== NULL
) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15886 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= (bool)(arg1
)->DeleteAll();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15914 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15917 bool arg2
= (bool) True
;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "doIt", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 arg2
= (bool) SWIG_AsBool(obj1
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 (arg1
)->SetExpandEnvVars(arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 Py_INCREF(Py_None
); resultobj
= Py_None
;
15945 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15973 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15976 bool arg2
= (bool) True
;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self",(char *) "doIt", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 arg2
= (bool) SWIG_AsBool(obj1
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 (arg1
)->SetRecordDefaults(arg2
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16032 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16035 wxString
*arg2
= 0 ;
16037 bool temp2
= False
;
16038 PyObject
* obj0
= 0 ;
16039 PyObject
* obj1
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self",(char *) "str", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 arg2
= wxString_in_helper(obj1
);
16049 if (arg2
== NULL
) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16080 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16112 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16144 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16147 wxString
*arg2
= 0 ;
16148 bool temp2
= False
;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "appName", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 arg2
= wxString_in_helper(obj1
);
16160 if (arg2
== NULL
) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 (arg1
)->SetAppName((wxString
const &)*arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16185 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16188 wxString
*arg2
= 0 ;
16189 bool temp2
= False
;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self",(char *) "vendorName", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 arg2
= wxString_in_helper(obj1
);
16201 if (arg2
== NULL
) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 Py_INCREF(Py_None
); resultobj
= Py_None
;
16226 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "style", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 arg2
= (long) SWIG_AsLong(obj1
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 (arg1
)->SetStyle(arg2
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 Py_INCREF(Py_None
); resultobj
= Py_None
;
16255 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= SWIG_FromLong((long)result
);
16281 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16284 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16286 return Py_BuildValue((char *)"");
16288 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16291 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16292 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16293 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16294 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16295 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16296 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16297 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16298 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16300 bool temp1
= False
;
16301 bool temp2
= False
;
16302 bool temp3
= False
;
16303 bool temp4
= False
;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 PyObject
* obj2
= 0 ;
16307 PyObject
* obj3
= 0 ;
16308 PyObject
* obj4
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16316 arg1
= wxString_in_helper(obj0
);
16317 if (arg1
== NULL
) SWIG_fail
;
16323 arg2
= wxString_in_helper(obj1
);
16324 if (arg2
== NULL
) SWIG_fail
;
16330 arg3
= wxString_in_helper(obj2
);
16331 if (arg3
== NULL
) SWIG_fail
;
16337 arg4
= wxString_in_helper(obj3
);
16338 if (arg4
== NULL
) SWIG_fail
;
16343 arg5
= (long) SWIG_AsLong(obj4
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16392 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxConfig
*arg1
= (wxConfig
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16420 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16422 return Py_BuildValue((char *)"");
16424 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16427 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16428 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16429 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16430 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16431 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16432 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16433 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16434 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16435 wxFileConfig
*result
;
16436 bool temp1
= False
;
16437 bool temp2
= False
;
16438 bool temp3
= False
;
16439 bool temp4
= False
;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 PyObject
* obj2
= 0 ;
16443 PyObject
* obj3
= 0 ;
16444 PyObject
* obj4
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16452 arg1
= wxString_in_helper(obj0
);
16453 if (arg1
== NULL
) SWIG_fail
;
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16466 arg3
= wxString_in_helper(obj2
);
16467 if (arg3
== NULL
) SWIG_fail
;
16473 arg4
= wxString_in_helper(obj3
);
16474 if (arg4
== NULL
) SWIG_fail
;
16479 arg5
= (long) SWIG_AsLong(obj4
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16528 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16556 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16558 return Py_BuildValue((char *)"");
16560 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16563 wxString
*arg2
= 0 ;
16564 wxConfigPathChanger
*result
;
16565 bool temp2
= False
;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "config",(char *) "entry", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16576 arg2
= wxString_in_helper(obj1
);
16577 if (arg2
== NULL
) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16602 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 Py_INCREF(Py_None
); resultobj
= Py_None
;
16627 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16643 result
= (wxString
*) &_result_ref
;
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16662 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16665 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16667 return Py_BuildValue((char *)"");
16669 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxString
*arg1
= 0 ;
16673 bool temp1
= False
;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "sz", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16681 arg1
= wxString_in_helper(obj0
);
16682 if (arg1
== NULL
) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16713 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16714 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16719 static PyObject
*_wrap_DateFormatStr_get() {
16724 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16726 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16733 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16734 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16739 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16744 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16746 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16753 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "country", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16762 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16781 char *kwnames
[] = {
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (int)wxDateTime::GetCountry();
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_FromInt((int)result
);
16800 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 int arg1
= (int) wxDateTime::Country_Default
;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "country", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16811 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16830 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 int arg1
= (int) wxDateTime::Gregorian
;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "cal", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16841 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= SWIG_FromInt((int)result
);
16858 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16862 PyObject
* obj0
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "year", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16868 arg1
= (int) SWIG_AsInt(obj0
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_FromInt((int)result
);
16884 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 int arg1
= (int) wxDateTime::Gregorian
;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "cal", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16895 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_FromInt((int)result
);
16912 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 int arg1
= (int) wxDateTime::Inv_Year
;
16915 int arg2
= (int) wxDateTime::Gregorian
;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "year",(char *) "cal", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 arg1
= (int) SWIG_AsInt(obj0
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16948 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 int arg1
= (int) wxDateTime::Inv_Year
;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "year", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16959 arg1
= (int) SWIG_AsInt(obj0
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)wxDateTime::GetCentury(arg1
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_FromInt((int)result
);
16976 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16979 int arg2
= (int) wxDateTime::Gregorian
;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "year",(char *) "cal", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 arg1
= (int) SWIG_AsInt(obj0
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_FromInt((int)result
);
17008 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17011 int arg2
= (int) wxDateTime::Inv_Year
;
17012 int arg3
= (int) wxDateTime::Gregorian
;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 PyObject
* obj2
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "month",(char *) "year",(char *) "cal", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17022 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 arg2
= (int) SWIG_AsInt(obj1
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_FromInt((int)result
);
17046 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17049 int arg2
= (int) wxDateTime::Name_Full
;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "month",(char *) "flags", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17058 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17084 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17087 int arg2
= (int) wxDateTime::Name_Full
;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "weekday",(char *) "flags", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17122 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxString
*arg1
= (wxString
*) 0 ;
17125 wxString
*arg2
= (wxString
*) 0 ;
17126 bool temp1
= False
;
17127 bool temp2
= False
;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17136 arg1
= wxString_in_helper(obj0
);
17137 if (arg1
== NULL
) SWIG_fail
;
17141 arg2
= wxString_in_helper(obj1
);
17142 if (arg2
== NULL
) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 Py_INCREF(Py_None
); resultobj
= Py_None
;
17175 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 int arg1
= (int) wxDateTime::Inv_Year
;
17178 int arg2
= (int) wxDateTime::Country_Default
;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "year",(char *) "country", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17188 arg1
= (int) SWIG_AsInt(obj0
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17211 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 int arg1
= (int) wxDateTime::Inv_Year
;
17214 int arg2
= (int) wxDateTime::Country_Default
;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "year",(char *) "country", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17224 arg1
= (int) SWIG_AsInt(obj0
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 wxDateTime
* resultptr
;
17240 resultptr
= new wxDateTime((wxDateTime
&) result
);
17241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17249 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 int arg1
= (int) wxDateTime::Inv_Year
;
17252 int arg2
= (int) wxDateTime::Country_Default
;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "year",(char *) "country", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 arg1
= (int) SWIG_AsInt(obj0
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 wxDateTime
* resultptr
;
17278 resultptr
= new wxDateTime((wxDateTime
&) result
);
17279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17287 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17290 char *kwnames
[] = {
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= wxDateTime::Now();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 wxDateTime
* resultptr
;
17304 resultptr
= new wxDateTime((wxDateTime
&) result
);
17305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17313 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17316 char *kwnames
[] = {
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= wxDateTime::UNow();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 wxDateTime
* resultptr
;
17330 resultptr
= new wxDateTime((wxDateTime
&) result
);
17331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17339 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17342 char *kwnames
[] = {
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= wxDateTime::Today();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 wxDateTime
* resultptr
;
17356 resultptr
= new wxDateTime((wxDateTime
&) result
);
17357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17365 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxDateTime
*result
;
17368 char *kwnames
[] = {
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (wxDateTime
*)new wxDateTime();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17387 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17390 wxDateTime
*result
;
17391 PyObject
* obj0
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "timet", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17397 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 result
= (wxDateTime
*)new wxDateTime(arg1
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17413 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17416 wxDateTime
*result
;
17417 PyObject
* obj0
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "jdn", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17423 arg1
= (double) SWIG_AsDouble(obj0
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxDateTime
*)new wxDateTime(arg1
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17439 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17442 int arg2
= (int) 0 ;
17443 int arg3
= (int) 0 ;
17444 int arg4
= (int) 0 ;
17445 wxDateTime
*result
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 PyObject
* obj3
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17455 arg1
= (int) SWIG_AsInt(obj0
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 arg2
= (int) SWIG_AsInt(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 arg3
= (int) SWIG_AsInt(obj2
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 arg4
= (int) SWIG_AsInt(obj3
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17483 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17486 int arg2
= (int) wxDateTime::Inv_Month
;
17487 int arg3
= (int) wxDateTime::Inv_Year
;
17488 int arg4
= (int) 0 ;
17489 int arg5
= (int) 0 ;
17490 int arg6
= (int) 0 ;
17491 int arg7
= (int) 0 ;
17492 wxDateTime
*result
;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 PyObject
* obj2
= 0 ;
17496 PyObject
* obj3
= 0 ;
17497 PyObject
* obj4
= 0 ;
17498 PyObject
* obj5
= 0 ;
17499 PyObject
* obj6
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17505 arg1
= (int) SWIG_AsInt(obj0
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17512 arg3
= (int) SWIG_AsInt(obj2
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 arg4
= (int) SWIG_AsInt(obj3
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 arg5
= (int) SWIG_AsInt(obj4
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 arg6
= (int) SWIG_AsInt(obj5
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 arg7
= (int) SWIG_AsInt(obj6
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17545 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17573 wxDateTime
*result
;
17574 PyObject
* obj0
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17586 result
= (wxDateTime
*) &_result_ref
;
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17599 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17603 wxDateTime
*result
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self",(char *) "timet", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17613 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17619 result
= (wxDateTime
*) &_result_ref
;
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17632 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17636 wxDateTime
*result
;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "jdn", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 arg2
= (double) SWIG_AsDouble(obj1
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17652 result
= (wxDateTime
*) &_result_ref
;
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17665 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17669 int arg3
= (int) 0 ;
17670 int arg4
= (int) 0 ;
17671 int arg5
= (int) 0 ;
17672 wxDateTime
*result
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 PyObject
* obj2
= 0 ;
17676 PyObject
* obj3
= 0 ;
17677 PyObject
* obj4
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 arg2
= (int) SWIG_AsInt(obj1
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 arg3
= (int) SWIG_AsInt(obj2
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 arg4
= (int) SWIG_AsInt(obj3
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 arg5
= (int) SWIG_AsInt(obj4
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17703 result
= (wxDateTime
*) &_result_ref
;
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17716 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17720 int arg3
= (int) wxDateTime::Inv_Month
;
17721 int arg4
= (int) wxDateTime::Inv_Year
;
17722 int arg5
= (int) 0 ;
17723 int arg6
= (int) 0 ;
17724 int arg7
= (int) 0 ;
17725 int arg8
= (int) 0 ;
17726 wxDateTime
*result
;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 PyObject
* obj2
= 0 ;
17730 PyObject
* obj3
= 0 ;
17731 PyObject
* obj4
= 0 ;
17732 PyObject
* obj5
= 0 ;
17733 PyObject
* obj6
= 0 ;
17734 PyObject
* obj7
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg2
= (int) SWIG_AsInt(obj1
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 arg4
= (int) SWIG_AsInt(obj3
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 arg5
= (int) SWIG_AsInt(obj4
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 arg6
= (int) SWIG_AsInt(obj5
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17761 arg7
= (int) SWIG_AsInt(obj6
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17765 arg8
= (int) SWIG_AsInt(obj7
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17772 result
= (wxDateTime
*) &_result_ref
;
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17785 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17788 wxDateTime
*result
;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17801 result
= (wxDateTime
*) &_result_ref
;
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17814 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17818 wxDateTime
*result
;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "year", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 arg2
= (int) SWIG_AsInt(obj1
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17834 result
= (wxDateTime
*) &_result_ref
;
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17847 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17851 wxDateTime
*result
;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "month", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17867 result
= (wxDateTime
*) &_result_ref
;
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17880 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17884 wxDateTime
*result
;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self",(char *) "day", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17894 arg2
= (int) SWIG_AsInt(obj1
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17900 result
= (wxDateTime
*) &_result_ref
;
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17913 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17917 wxDateTime
*result
;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self",(char *) "hour", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 arg2
= (int) SWIG_AsInt(obj1
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17933 result
= (wxDateTime
*) &_result_ref
;
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17946 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17950 wxDateTime
*result
;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "minute", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 arg2
= (int) SWIG_AsInt(obj1
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17966 result
= (wxDateTime
*) &_result_ref
;
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17979 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17983 wxDateTime
*result
;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "second", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 arg2
= (int) SWIG_AsInt(obj1
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17999 result
= (wxDateTime
*) &_result_ref
;
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18012 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18016 wxDateTime
*result
;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "millisecond", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18026 arg2
= (int) SWIG_AsInt(obj1
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18032 result
= (wxDateTime
*) &_result_ref
;
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18045 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18049 int arg3
= (int) wxDateTime::Monday_First
;
18050 wxDateTime
*result
;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18071 result
= (wxDateTime
*) &_result_ref
;
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18084 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18088 int arg3
= (int) wxDateTime::Monday_First
;
18090 PyObject
* obj0
= 0 ;
18091 PyObject
* obj1
= 0 ;
18092 PyObject
* obj2
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 wxDateTime
* resultptr
;
18115 resultptr
= new wxDateTime((wxDateTime
&) result
);
18116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18124 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18128 wxDateTime
*result
;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self",(char *) "weekday", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18138 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18144 result
= (wxDateTime
*) &_result_ref
;
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18157 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "weekday", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 wxDateTime
* resultptr
;
18182 resultptr
= new wxDateTime((wxDateTime
&) result
);
18183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18191 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18195 wxDateTime
*result
;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self",(char *) "weekday", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18211 result
= (wxDateTime
*) &_result_ref
;
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18224 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self",(char *) "weekday", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18238 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 wxDateTime
* resultptr
;
18249 resultptr
= new wxDateTime((wxDateTime
&) result
);
18250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18258 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18262 int arg3
= (int) 1 ;
18263 int arg4
= (int) wxDateTime::Inv_Month
;
18264 int arg5
= (int) wxDateTime::Inv_Year
;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 PyObject
* obj2
= 0 ;
18269 PyObject
* obj3
= 0 ;
18270 PyObject
* obj4
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 arg3
= (int) SWIG_AsInt(obj2
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 arg5
= (int) SWIG_AsInt(obj4
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18308 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18312 int arg3
= (int) wxDateTime::Inv_Month
;
18313 int arg4
= (int) wxDateTime::Inv_Year
;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 PyObject
* obj2
= 0 ;
18318 PyObject
* obj3
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 arg4
= (int) SWIG_AsInt(obj3
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18352 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18356 int arg3
= (int) wxDateTime::Inv_Month
;
18357 int arg4
= (int) wxDateTime::Inv_Year
;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 PyObject
* obj2
= 0 ;
18362 PyObject
* obj3
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 arg4
= (int) SWIG_AsInt(obj3
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18388 wxDateTime
* resultptr
;
18389 resultptr
= new wxDateTime((wxDateTime
&) result
);
18390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18398 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18402 int arg3
= (int) wxDateTime::Mon
;
18403 int arg4
= (int) wxDateTime::Monday_First
;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 PyObject
* obj3
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 arg2
= (int) SWIG_AsInt(obj1
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18442 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18446 int arg3
= (int) wxDateTime::Mon
;
18447 int arg4
= (int) wxDateTime::Monday_First
;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 PyObject
* obj3
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18460 arg2
= (int) SWIG_AsInt(obj1
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18467 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 wxDateTime
* resultptr
;
18479 resultptr
= new wxDateTime((wxDateTime
&) result
);
18480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18488 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18491 int arg2
= (int) wxDateTime::Inv_Month
;
18492 int arg3
= (int) wxDateTime::Inv_Year
;
18493 wxDateTime
*result
;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 PyObject
* obj2
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "month",(char *) "year", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 arg3
= (int) SWIG_AsInt(obj2
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18516 result
= (wxDateTime
*) &_result_ref
;
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18529 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18532 int arg2
= (int) wxDateTime::Inv_Month
;
18533 int arg3
= (int) wxDateTime::Inv_Year
;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 PyObject
* obj2
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self",(char *) "month",(char *) "year", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18546 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 arg3
= (int) SWIG_AsInt(obj2
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18561 wxDateTime
* resultptr
;
18562 resultptr
= new wxDateTime((wxDateTime
&) result
);
18563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18571 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18575 wxDateTime
*result
;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "yday", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 arg2
= (int) SWIG_AsInt(obj1
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18591 result
= (wxDateTime
*) &_result_ref
;
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18604 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self",(char *) "yday", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 arg2
= (int) SWIG_AsInt(obj1
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (arg1
)->GetYearDay(arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 wxDateTime
* resultptr
;
18629 resultptr
= new wxDateTime((wxDateTime
&) result
);
18630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18638 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (double)(arg1
)->GetJulianDayNumber();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_FromDouble((double)result
);
18664 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (double)(arg1
)->GetJDN();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_FromDouble((double)result
);
18690 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_FromDouble((double)result
);
18716 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (double)(arg1
)->GetMJD();
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= SWIG_FromDouble((double)result
);
18742 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (double)(arg1
)->GetRataDie();
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= SWIG_FromDouble((double)result
);
18768 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18771 wxDateTime::TimeZone
*arg2
= 0 ;
18772 bool arg3
= (bool) False
;
18774 bool temp2
= False
;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 PyObject
* obj2
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18790 arg3
= (bool) SWIG_AsBool(obj2
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 wxDateTime
* resultptr
;
18802 resultptr
= new wxDateTime((wxDateTime
&) result
);
18803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18806 if (temp2
) delete arg2
;
18811 if (temp2
) delete arg2
;
18817 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18820 wxDateTime::TimeZone
*arg2
= 0 ;
18821 bool arg3
= (bool) False
;
18822 wxDateTime
*result
;
18823 bool temp2
= False
;
18824 PyObject
* obj0
= 0 ;
18825 PyObject
* obj1
= 0 ;
18826 PyObject
* obj2
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18835 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18839 arg3
= (bool) SWIG_AsBool(obj2
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18846 result
= (wxDateTime
*) &_result_ref
;
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18854 if (temp2
) delete arg2
;
18859 if (temp2
) delete arg2
;
18865 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18868 bool arg2
= (bool) False
;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj1
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "noDST", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 arg2
= (bool) SWIG_AsBool(obj1
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (arg1
)->ToGMT(arg2
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 wxDateTime
* resultptr
;
18892 resultptr
= new wxDateTime((wxDateTime
&) result
);
18893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18901 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18904 bool arg2
= (bool) False
;
18905 wxDateTime
*result
;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "noDST", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 arg2
= (bool) SWIG_AsBool(obj1
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18923 result
= (wxDateTime
*) &_result_ref
;
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18936 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18939 int arg2
= (int) wxDateTime::Country_Default
;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self",(char *) "country", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_FromInt((int)result
);
18968 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18996 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19000 PyObject
* obj0
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19022 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19025 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19026 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19028 bool temp2
= False
;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "tz", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_FromInt((int)result
);
19053 if (temp2
) delete arg2
;
19058 if (temp2
) delete arg2
;
19064 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19067 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19068 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19070 bool temp2
= False
;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "tz", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_FromInt((int)result
);
19095 if (temp2
) delete arg2
;
19100 if (temp2
) delete arg2
;
19106 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19109 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19110 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19112 bool temp2
= False
;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "tz", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19124 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= SWIG_FromInt((int)result
);
19137 if (temp2
) delete arg2
;
19142 if (temp2
) delete arg2
;
19148 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19151 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19152 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19154 bool temp2
= False
;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "tz", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_FromInt((int)result
);
19179 if (temp2
) delete arg2
;
19184 if (temp2
) delete arg2
;
19190 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19193 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19194 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19196 bool temp2
= False
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "tz", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_FromInt((int)result
);
19221 if (temp2
) delete arg2
;
19226 if (temp2
) delete arg2
;
19232 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19235 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19236 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19238 bool temp2
= False
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "tz", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_FromInt((int)result
);
19263 if (temp2
) delete arg2
;
19268 if (temp2
) delete arg2
;
19274 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19277 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19278 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19280 bool temp2
= False
;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "tz", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19292 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_FromInt((int)result
);
19305 if (temp2
) delete arg2
;
19310 if (temp2
) delete arg2
;
19316 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19319 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19320 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19322 bool temp2
= False
;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "tz", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_FromInt((int)result
);
19347 if (temp2
) delete arg2
;
19352 if (temp2
) delete arg2
;
19358 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19361 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19362 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19364 bool temp2
= False
;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "tz", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_FromInt((int)result
);
19389 if (temp2
) delete arg2
;
19394 if (temp2
) delete arg2
;
19400 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19403 int arg2
= (int) wxDateTime::Monday_First
;
19404 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19405 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19407 bool temp3
= False
;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 PyObject
* obj2
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "flags",(char *) "tz", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19424 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= SWIG_FromInt((int)result
);
19437 if (temp3
) delete arg3
;
19442 if (temp3
) delete arg3
;
19448 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19451 int arg2
= (int) wxDateTime::Monday_First
;
19452 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19453 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19455 bool temp3
= False
;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 PyObject
* obj2
= 0 ;
19459 char *kwnames
[] = {
19460 (char *) "self",(char *) "flags",(char *) "tz", NULL
19463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19467 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19472 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_FromInt((int)result
);
19485 if (temp3
) delete arg3
;
19490 if (temp3
) delete arg3
;
19496 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19499 int arg2
= (int) wxDateTime::Country_Default
;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "country", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19530 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19533 wxDateTime
*arg2
= 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "datetime", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19547 if (arg2
== NULL
) {
19548 PyErr_SetString(PyExc_TypeError
,"null reference");
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19567 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19570 wxDateTime
*arg2
= 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "datetime", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19584 if (arg2
== NULL
) {
19585 PyErr_SetString(PyExc_TypeError
,"null reference");
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19604 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19607 wxDateTime
*arg2
= 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "datetime", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19621 if (arg2
== NULL
) {
19622 PyErr_SetString(PyExc_TypeError
,"null reference");
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19641 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19644 wxDateTime
*arg2
= 0 ;
19645 wxDateTime
*arg3
= 0 ;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 PyObject
* obj2
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "t1",(char *) "t2", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19660 if (arg2
== NULL
) {
19661 PyErr_SetString(PyExc_TypeError
,"null reference");
19664 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19667 if (arg3
== NULL
) {
19668 PyErr_SetString(PyExc_TypeError
,"null reference");
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19687 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19690 wxDateTime
*arg2
= 0 ;
19691 wxDateTime
*arg3
= 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 PyObject
* obj2
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "self",(char *) "t1",(char *) "t2", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19706 if (arg2
== NULL
) {
19707 PyErr_SetString(PyExc_TypeError
,"null reference");
19710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19713 if (arg3
== NULL
) {
19714 PyErr_SetString(PyExc_TypeError
,"null reference");
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19733 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19736 wxDateTime
*arg2
= 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "dt", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19750 if (arg2
== NULL
) {
19751 PyErr_SetString(PyExc_TypeError
,"null reference");
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19770 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19773 wxDateTime
*arg2
= 0 ;
19775 PyObject
* obj0
= 0 ;
19776 PyObject
* obj1
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self",(char *) "dt", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19787 if (arg2
== NULL
) {
19788 PyErr_SetString(PyExc_TypeError
,"null reference");
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19807 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19810 wxDateTime
*arg2
= 0 ;
19811 wxTimeSpan
*arg3
= 0 ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "dt",(char *) "ts", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19826 if (arg2
== NULL
) {
19827 PyErr_SetString(PyExc_TypeError
,"null reference");
19830 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19833 if (arg3
== NULL
) {
19834 PyErr_SetString(PyExc_TypeError
,"null reference");
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19853 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19856 wxTimeSpan
*arg2
= 0 ;
19857 wxDateTime
*result
;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "diff", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19870 if (arg2
== NULL
) {
19871 PyErr_SetString(PyExc_TypeError
,"null reference");
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19878 result
= (wxDateTime
*) &_result_ref
;
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19891 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19894 wxDateSpan
*arg2
= 0 ;
19895 wxDateTime
*result
;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "diff", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19908 if (arg2
== NULL
) {
19909 PyErr_SetString(PyExc_TypeError
,"null reference");
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19916 result
= (wxDateTime
*) &_result_ref
;
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19929 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19932 wxTimeSpan
*arg2
= 0 ;
19933 wxDateTime
*result
;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "diff", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19946 if (arg2
== NULL
) {
19947 PyErr_SetString(PyExc_TypeError
,"null reference");
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19954 result
= (wxDateTime
*) &_result_ref
;
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19967 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19970 wxDateSpan
*arg2
= 0 ;
19971 wxDateTime
*result
;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "diff", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19984 if (arg2
== NULL
) {
19985 PyErr_SetString(PyExc_TypeError
,"null reference");
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19992 result
= (wxDateTime
*) &_result_ref
;
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20005 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20008 wxDateTime
*arg2
= 0 ;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self",(char *) "dt", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20022 if (arg2
== NULL
) {
20023 PyErr_SetString(PyExc_TypeError
,"null reference");
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20034 wxTimeSpan
* resultptr
;
20035 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20044 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20045 PyObject
*resultobj
;
20046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20047 wxTimeSpan
*arg2
= 0 ;
20048 wxDateTime
*result
;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20052 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20058 if (arg2
== NULL
) {
20059 PyErr_SetString(PyExc_TypeError
,"null reference");
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20066 result
= (wxDateTime
*) &_result_ref
;
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20079 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20080 PyObject
*resultobj
;
20081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20082 wxDateSpan
*arg2
= 0 ;
20083 wxDateTime
*result
;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20087 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20093 if (arg2
== NULL
) {
20094 PyErr_SetString(PyExc_TypeError
,"null reference");
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20101 result
= (wxDateTime
*) &_result_ref
;
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20114 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20119 argc
= PyObject_Length(args
);
20120 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20121 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20137 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20145 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20153 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20163 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20171 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20176 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20181 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20182 PyObject
*resultobj
;
20183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20184 wxTimeSpan
*arg2
= 0 ;
20185 wxDateTime
*result
;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20189 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20195 if (arg2
== NULL
) {
20196 PyErr_SetString(PyExc_TypeError
,"null reference");
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20203 result
= (wxDateTime
*) &_result_ref
;
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20216 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20217 PyObject
*resultobj
;
20218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20219 wxDateSpan
*arg2
= 0 ;
20220 wxDateTime
*result
;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20224 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20230 if (arg2
== NULL
) {
20231 PyErr_SetString(PyExc_TypeError
,"null reference");
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20238 result
= (wxDateTime
*) &_result_ref
;
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20251 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20256 argc
= PyObject_Length(args
);
20257 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20258 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20264 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20274 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20282 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20290 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20300 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20308 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20313 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20318 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20319 PyObject
*resultobj
;
20320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20321 wxTimeSpan
*arg2
= 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20326 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20332 if (arg2
== NULL
) {
20333 PyErr_SetString(PyExc_TypeError
,"null reference");
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20344 wxDateTime
* resultptr
;
20345 resultptr
= new wxDateTime((wxDateTime
&) result
);
20346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20354 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20355 PyObject
*resultobj
;
20356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20357 wxDateSpan
*arg2
= 0 ;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20362 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20368 if (arg2
== NULL
) {
20369 PyErr_SetString(PyExc_TypeError
,"null reference");
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20380 wxDateTime
* resultptr
;
20381 resultptr
= new wxDateTime((wxDateTime
&) result
);
20382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20390 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20395 argc
= PyObject_Length(args
);
20396 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20397 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20403 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20413 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20421 return _wrap_DateTime___add____SWIG_0(self
,args
);
20429 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20439 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20447 return _wrap_DateTime___add____SWIG_1(self
,args
);
20452 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20457 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20458 PyObject
*resultobj
;
20459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20460 wxDateTime
*arg2
= 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20465 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20471 if (arg2
== NULL
) {
20472 PyErr_SetString(PyExc_TypeError
,"null reference");
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 wxTimeSpan
* resultptr
;
20484 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20493 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20494 PyObject
*resultobj
;
20495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20496 wxTimeSpan
*arg2
= 0 ;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20501 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20507 if (arg2
== NULL
) {
20508 PyErr_SetString(PyExc_TypeError
,"null reference");
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20519 wxDateTime
* resultptr
;
20520 resultptr
= new wxDateTime((wxDateTime
&) result
);
20521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20529 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20530 PyObject
*resultobj
;
20531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20532 wxDateSpan
*arg2
= 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20537 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20543 if (arg2
== NULL
) {
20544 PyErr_SetString(PyExc_TypeError
,"null reference");
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20555 wxDateTime
* resultptr
;
20556 resultptr
= new wxDateTime((wxDateTime
&) result
);
20557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20565 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20570 argc
= PyObject_Length(args
);
20571 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20572 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20578 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20588 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20596 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20604 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20614 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20622 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20630 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20640 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20648 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20653 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20658 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20659 PyObject
*resultobj
;
20660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20661 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20666 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20687 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20688 PyObject
*resultobj
;
20689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20690 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20695 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20716 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20717 PyObject
*resultobj
;
20718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20719 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 PyObject
* obj1
= 0 ;
20724 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20745 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20746 PyObject
*resultobj
;
20747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20748 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20753 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20774 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20775 PyObject
*resultobj
;
20776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20777 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20782 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20803 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20804 PyObject
*resultobj
;
20805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20806 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 PyObject
* obj1
= 0 ;
20811 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20832 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20835 wxString
*arg2
= 0 ;
20837 bool temp2
= False
;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self",(char *) "date", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20848 arg2
= wxString_in_helper(obj1
);
20849 if (arg2
== NULL
) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_FromInt((int)result
);
20874 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20877 wxString
*arg2
= 0 ;
20878 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20880 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20881 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20883 bool temp2
= False
;
20884 bool temp3
= False
;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 PyObject
* obj2
= 0 ;
20888 PyObject
* obj3
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 arg2
= wxString_in_helper(obj1
);
20898 if (arg2
== NULL
) SWIG_fail
;
20903 arg3
= wxString_in_helper(obj2
);
20904 if (arg3
== NULL
) SWIG_fail
;
20909 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20912 if (arg4
== NULL
) {
20913 PyErr_SetString(PyExc_TypeError
,"null reference");
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_FromInt((int)result
);
20947 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20950 wxString
*arg2
= 0 ;
20952 bool temp2
= False
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "datetime", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 arg2
= wxString_in_helper(obj1
);
20964 if (arg2
== NULL
) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_FromInt((int)result
);
20989 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20992 wxString
*arg2
= 0 ;
20994 bool temp2
= False
;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self",(char *) "date", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 arg2
= wxString_in_helper(obj1
);
21006 if (arg2
== NULL
) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= SWIG_FromInt((int)result
);
21031 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21034 wxString
*arg2
= 0 ;
21036 bool temp2
= False
;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "time", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 arg2
= wxString_in_helper(obj1
);
21048 if (arg2
== NULL
) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_FromInt((int)result
);
21073 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21076 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21077 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21078 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21079 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21081 bool temp2
= False
;
21082 bool temp3
= False
;
21083 PyObject
* obj0
= 0 ;
21084 PyObject
* obj1
= 0 ;
21085 PyObject
* obj2
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "format",(char *) "tz", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 arg2
= wxString_in_helper(obj1
);
21096 if (arg2
== NULL
) SWIG_fail
;
21102 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21125 if (temp3
) delete arg3
;
21134 if (temp3
) delete arg3
;
21140 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21172 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "self", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21204 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21236 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21268 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21271 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21273 return Py_BuildValue((char *)"");
21275 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21279 PyObject
* obj0
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "sec", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21285 arg1
= (long) SWIG_AsLong(obj0
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= wxTimeSpan::Seconds(arg1
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21295 wxTimeSpan
* resultptr
;
21296 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21305 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21308 char *kwnames
[] = {
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= wxTimeSpan::Second();
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21321 wxTimeSpan
* resultptr
;
21322 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21331 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21335 PyObject
* obj0
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "min", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21341 arg1
= (long) SWIG_AsLong(obj0
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= wxTimeSpan::Minutes(arg1
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21351 wxTimeSpan
* resultptr
;
21352 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21361 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21364 char *kwnames
[] = {
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= wxTimeSpan::Minute();
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 wxTimeSpan
* resultptr
;
21378 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21387 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "hours", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21397 arg1
= (long) SWIG_AsLong(obj0
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= wxTimeSpan::Hours(arg1
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 wxTimeSpan
* resultptr
;
21408 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21417 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21420 char *kwnames
[] = {
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= wxTimeSpan::Hour();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 wxTimeSpan
* resultptr
;
21434 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21443 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "days", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21453 arg1
= (long) SWIG_AsLong(obj0
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= wxTimeSpan::Days(arg1
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21463 wxTimeSpan
* resultptr
;
21464 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21473 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
;
21476 char *kwnames
[] = {
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= wxTimeSpan::Day();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 wxTimeSpan
* resultptr
;
21490 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21499 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "days", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21509 arg1
= (long) SWIG_AsLong(obj0
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= wxTimeSpan::Weeks(arg1
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 wxTimeSpan
* resultptr
;
21520 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21529 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21532 char *kwnames
[] = {
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= wxTimeSpan::Week();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 wxTimeSpan
* resultptr
;
21546 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21555 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 long arg1
= (long) 0 ;
21558 long arg2
= (long) 0 ;
21559 long arg3
= (long) 0 ;
21560 long arg4
= (long) 0 ;
21561 wxTimeSpan
*result
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 PyObject
* obj2
= 0 ;
21565 PyObject
* obj3
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21572 arg1
= (long) SWIG_AsLong(obj0
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 arg2
= (long) SWIG_AsLong(obj1
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 arg3
= (long) SWIG_AsLong(obj2
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 arg4
= (long) SWIG_AsLong(obj3
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21601 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 Py_INCREF(Py_None
); resultobj
= Py_None
;
21626 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
;
21628 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21629 wxTimeSpan
*arg2
= 0 ;
21630 wxTimeSpan
*result
;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self",(char *) "diff", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21643 if (arg2
== NULL
) {
21644 PyErr_SetString(PyExc_TypeError
,"null reference");
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21651 result
= (wxTimeSpan
*) &_result_ref
;
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21664 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21667 wxTimeSpan
*arg2
= 0 ;
21668 wxTimeSpan
*result
;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self",(char *) "diff", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21681 if (arg2
== NULL
) {
21682 PyErr_SetString(PyExc_TypeError
,"null reference");
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21689 result
= (wxTimeSpan
*) &_result_ref
;
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21702 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21706 wxTimeSpan
*result
;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "n", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 arg2
= (int) SWIG_AsInt(obj1
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21722 result
= (wxTimeSpan
*) &_result_ref
;
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21735 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21738 wxTimeSpan
*result
;
21739 PyObject
* obj0
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21751 result
= (wxTimeSpan
*) &_result_ref
;
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21764 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21784 wxTimeSpan
* resultptr
;
21785 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21794 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21797 wxTimeSpan
*arg2
= 0 ;
21798 wxTimeSpan
*result
;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "diff", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21811 if (arg2
== NULL
) {
21812 PyErr_SetString(PyExc_TypeError
,"null reference");
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21819 result
= (wxTimeSpan
*) &_result_ref
;
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21832 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21835 wxTimeSpan
*arg2
= 0 ;
21836 wxTimeSpan
*result
;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "diff", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21849 if (arg2
== NULL
) {
21850 PyErr_SetString(PyExc_TypeError
,"null reference");
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21857 result
= (wxTimeSpan
*) &_result_ref
;
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21870 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21874 wxTimeSpan
*result
;
21875 PyObject
* obj0
= 0 ;
21876 PyObject
* obj1
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "n", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 arg2
= (int) SWIG_AsInt(obj1
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21890 result
= (wxTimeSpan
*) &_result_ref
;
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21903 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21906 wxTimeSpan
*result
;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21919 result
= (wxTimeSpan
*) &_result_ref
;
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21932 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21935 wxTimeSpan
*arg2
= 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "other", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21949 if (arg2
== NULL
) {
21950 PyErr_SetString(PyExc_TypeError
,"null reference");
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 wxTimeSpan
* resultptr
;
21962 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21971 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21974 wxTimeSpan
*arg2
= 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "other", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21988 if (arg2
== NULL
) {
21989 PyErr_SetString(PyExc_TypeError
,"null reference");
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 wxTimeSpan
* resultptr
;
22001 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22010 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "n", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 arg2
= (int) SWIG_AsInt(obj1
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= wxTimeSpan___mul__(arg1
,arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 wxTimeSpan
* resultptr
;
22035 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22044 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "n", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= (int) SWIG_AsInt(obj1
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 wxTimeSpan
* resultptr
;
22069 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22078 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22081 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "other", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22110 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22113 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "other", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22145 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self",(char *) "other", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22174 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22177 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "other", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22206 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22209 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "other", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22238 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22241 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 PyObject
* obj1
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self",(char *) "other", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 char *kwnames
[] = {
22276 (char *) "self", NULL
22279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22298 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22326 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22354 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22357 wxTimeSpan
*arg2
= 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "ts", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22371 if (arg2
== NULL
) {
22372 PyErr_SetString(PyExc_TypeError
,"null reference");
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22391 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22394 wxTimeSpan
*arg2
= 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "ts", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22408 if (arg2
== NULL
) {
22409 PyErr_SetString(PyExc_TypeError
,"null reference");
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22428 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22431 wxTimeSpan
*arg2
= 0 ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "t", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22445 if (arg2
== NULL
) {
22446 PyErr_SetString(PyExc_TypeError
,"null reference");
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22465 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= SWIG_FromInt((int)result
);
22491 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_FromInt((int)result
);
22517 static PyObject
*_wrap_TimeSpan_GetHours(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_GetHours",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
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_FromInt((int)result
);
22543 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_FromInt((int)result
);
22569 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22590 hi
= PyLong_FromLong( (&result
)->GetHi() );
22591 lo
= PyLong_FromLong( (&result
)->GetLo() );
22592 shifter
= PyLong_FromLong(32);
22593 shifted
= PyNumber_Lshift(hi
, shifter
);
22594 resultobj
= PyNumber_Or(shifted
, lo
);
22597 Py_DECREF(shifter
);
22598 Py_DECREF(shifted
);
22606 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22626 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22627 hi
= PyLong_FromLong( (&result
)->GetHi() );
22628 lo
= PyLong_FromLong( (&result
)->GetLo() );
22629 shifter
= PyLong_FromLong(32);
22630 shifted
= PyNumber_Lshift(hi
, shifter
);
22631 resultobj
= PyNumber_Or(shifted
, lo
);
22634 Py_DECREF(shifter
);
22635 Py_DECREF(shifted
);
22643 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22646 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22647 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22649 bool temp2
= False
;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self",(char *) "format", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22661 arg2
= wxString_in_helper(obj1
);
22662 if (arg2
== NULL
) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22694 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22697 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22699 return Py_BuildValue((char *)"");
22701 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 int arg1
= (int) 0 ;
22704 int arg2
= (int) 0 ;
22705 int arg3
= (int) 0 ;
22706 int arg4
= (int) 0 ;
22707 wxDateSpan
*result
;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 PyObject
* obj2
= 0 ;
22711 PyObject
* obj3
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22718 arg1
= (int) SWIG_AsInt(obj0
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22722 arg2
= (int) SWIG_AsInt(obj1
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22726 arg3
= (int) SWIG_AsInt(obj2
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22730 arg4
= (int) SWIG_AsInt(obj3
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22747 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22750 PyObject
* obj0
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "self", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22772 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "days", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22782 arg1
= (int) SWIG_AsInt(obj0
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 result
= wxDateSpan::Days(arg1
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22792 wxDateSpan
* resultptr
;
22793 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22802 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
;
22805 char *kwnames
[] = {
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= wxDateSpan::Day();
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 wxDateSpan
* resultptr
;
22819 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22828 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22832 PyObject
* obj0
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "weeks", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22838 arg1
= (int) SWIG_AsInt(obj0
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= wxDateSpan::Weeks(arg1
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22848 wxDateSpan
* resultptr
;
22849 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22858 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22861 char *kwnames
[] = {
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= wxDateSpan::Week();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22874 wxDateSpan
* resultptr
;
22875 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22884 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "mon", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22894 arg1
= (int) SWIG_AsInt(obj0
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= wxDateSpan::Months(arg1
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 wxDateSpan
* resultptr
;
22905 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22914 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22917 char *kwnames
[] = {
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 result
= wxDateSpan::Month();
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22930 wxDateSpan
* resultptr
;
22931 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22940 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22944 PyObject
* obj0
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "years", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22950 arg1
= (int) SWIG_AsInt(obj0
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= wxDateSpan::Years(arg1
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22960 wxDateSpan
* resultptr
;
22961 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22970 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22973 char *kwnames
[] = {
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= wxDateSpan::Year();
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22986 wxDateSpan
* resultptr
;
22987 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22996 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23000 wxDateSpan
*result
;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self",(char *) "n", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 arg2
= (int) SWIG_AsInt(obj1
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23016 result
= (wxDateSpan
*) &_result_ref
;
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23029 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23033 wxDateSpan
*result
;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self",(char *) "n", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 arg2
= (int) SWIG_AsInt(obj1
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23049 result
= (wxDateSpan
*) &_result_ref
;
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23062 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23066 wxDateSpan
*result
;
23067 PyObject
* obj0
= 0 ;
23068 PyObject
* obj1
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self",(char *) "n", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 arg2
= (int) SWIG_AsInt(obj1
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23082 result
= (wxDateSpan
*) &_result_ref
;
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23095 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23099 wxDateSpan
*result
;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self",(char *) "n", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 arg2
= (int) SWIG_AsInt(obj1
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23115 result
= (wxDateSpan
*) &_result_ref
;
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23128 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_FromInt((int)result
);
23154 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_FromInt((int)result
);
23180 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23184 PyObject
* obj0
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_FromInt((int)result
);
23206 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_FromInt((int)result
);
23232 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_FromInt((int)result
);
23258 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23261 wxDateSpan
*arg2
= 0 ;
23262 wxDateSpan
*result
;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self",(char *) "other", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23275 if (arg2
== NULL
) {
23276 PyErr_SetString(PyExc_TypeError
,"null reference");
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23283 result
= (wxDateSpan
*) &_result_ref
;
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23296 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23299 wxDateSpan
*arg2
= 0 ;
23300 wxDateSpan
*result
;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "other", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23313 if (arg2
== NULL
) {
23314 PyErr_SetString(PyExc_TypeError
,"null reference");
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23321 result
= (wxDateSpan
*) &_result_ref
;
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23334 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23337 wxDateSpan
*result
;
23338 PyObject
* obj0
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "self", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23350 result
= (wxDateSpan
*) &_result_ref
;
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23363 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23367 wxDateSpan
*result
;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "factor", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 arg2
= (int) SWIG_AsInt(obj1
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23383 result
= (wxDateSpan
*) &_result_ref
;
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23396 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23399 wxDateSpan
*arg2
= 0 ;
23400 wxDateSpan
*result
;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "other", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23413 if (arg2
== NULL
) {
23414 PyErr_SetString(PyExc_TypeError
,"null reference");
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23421 result
= (wxDateSpan
*) &_result_ref
;
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23434 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23437 wxDateSpan
*arg2
= 0 ;
23438 wxDateSpan
*result
;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "other", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23451 if (arg2
== NULL
) {
23452 PyErr_SetString(PyExc_TypeError
,"null reference");
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23459 result
= (wxDateSpan
*) &_result_ref
;
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23472 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23475 wxDateSpan
*result
;
23476 PyObject
* obj0
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23488 result
= (wxDateSpan
*) &_result_ref
;
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23501 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23505 wxDateSpan
*result
;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self",(char *) "factor", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23515 arg2
= (int) SWIG_AsInt(obj1
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23521 result
= (wxDateSpan
*) &_result_ref
;
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23534 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23537 wxDateSpan
*arg2
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "other", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23551 if (arg2
== NULL
) {
23552 PyErr_SetString(PyExc_TypeError
,"null reference");
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 wxDateSpan
* resultptr
;
23564 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23573 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23576 wxDateSpan
*arg2
= 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "other", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23590 if (arg2
== NULL
) {
23591 PyErr_SetString(PyExc_TypeError
,"null reference");
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 wxDateSpan
* resultptr
;
23603 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23612 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "n", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23626 arg2
= (int) SWIG_AsInt(obj1
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= wxDateSpan___mul__(arg1
,arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 wxDateSpan
* resultptr
;
23637 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23646 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
;
23648 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "n", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 arg2
= (int) SWIG_AsInt(obj1
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= wxDateSpan___rmul__(arg1
,arg2
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 wxDateSpan
* resultptr
;
23671 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23680 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23683 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "other", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23712 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23715 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj1
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "other", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23744 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23747 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23749 return Py_BuildValue((char *)"");
23751 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23754 char *kwnames
[] = {
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (long)wxGetLocalTime();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_FromLong((long)result
);
23773 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23776 char *kwnames
[] = {
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (long)wxGetUTCTime();
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_FromLong((long)result
);
23795 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23798 char *kwnames
[] = {
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (long)wxGetCurrentTime();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_FromLong((long)result
);
23817 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
;
23820 char *kwnames
[] = {
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= wxGetLocalTimeMillis();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23833 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23834 hi
= PyLong_FromLong( (&result
)->GetHi() );
23835 lo
= PyLong_FromLong( (&result
)->GetLo() );
23836 shifter
= PyLong_FromLong(32);
23837 shifted
= PyNumber_Lshift(hi
, shifter
);
23838 resultobj
= PyNumber_Or(shifted
, lo
);
23841 Py_DECREF(shifter
);
23842 Py_DECREF(shifted
);
23850 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23851 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23856 static PyObject
*_wrap_DefaultDateTime_get() {
23859 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23864 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23867 wxDataFormat
*result
;
23868 PyObject
* obj0
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "type", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23874 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23890 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxString
*arg1
= 0 ;
23893 wxDataFormat
*result
;
23894 bool temp1
= False
;
23895 PyObject
* obj0
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "format", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23902 arg1
= wxString_in_helper(obj0
);
23903 if (arg1
== NULL
) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23928 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23931 PyObject
* obj0
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23954 PyObject
*resultobj
;
23955 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23961 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23982 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23983 PyObject
*resultobj
;
23984 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23990 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24011 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24012 PyObject
*resultobj
;
24013 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24014 wxDataFormat
*arg2
= 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24019 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24025 if (arg2
== NULL
) {
24026 PyErr_SetString(PyExc_TypeError
,"null reference");
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24050 argc
= PyObject_Length(args
);
24051 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24058 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24068 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24076 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24084 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24092 _v
= SWIG_CheckInt(argv
[1]);
24094 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24099 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24104 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24105 PyObject
*resultobj
;
24106 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24107 wxDataFormat
*arg2
= 0 ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24112 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24118 if (arg2
== NULL
) {
24119 PyErr_SetString(PyExc_TypeError
,"null reference");
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24138 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24143 argc
= PyObject_Length(args
);
24144 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24145 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24151 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24161 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24169 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24177 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24185 _v
= SWIG_CheckInt(argv
[1]);
24187 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24192 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24197 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "format", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 (arg1
)->SetType((wxDataFormatId
)arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 Py_INCREF(Py_None
); resultobj
= Py_None
;
24226 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
;
24228 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_FromInt((int)result
);
24252 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= ((wxDataFormat
const *)arg1
)->GetId();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24284 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24287 wxString
*arg2
= 0 ;
24288 bool temp2
= False
;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "format", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 arg2
= wxString_in_helper(obj1
);
24300 if (arg2
== NULL
) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 (arg1
)->SetId((wxString
const &)*arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 Py_INCREF(Py_None
); resultobj
= Py_None
;
24325 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24328 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24330 return Py_BuildValue((char *)"");
24332 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24333 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24338 static PyObject
*_wrap_FormatInvalid_get() {
24341 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24346 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 char *kwnames
[] = {
24351 (char *) "self", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 Py_INCREF(Py_None
); resultobj
= Py_None
;
24371 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24374 int arg2
= (int) wxDataObject::Get
;
24375 SwigValueWrapper
< wxDataFormat
> result
;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "dir", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24397 wxDataFormat
* resultptr
;
24398 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24407 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24410 int arg2
= (int) wxDataObject::Get
;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "dir", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24439 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24442 wxDataFormat
*arg2
= 0 ;
24443 int arg3
= (int) wxDataObject::Get
;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 PyObject
* obj2
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "format",(char *) "dir", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24458 if (arg2
== NULL
) {
24459 PyErr_SetString(PyExc_TypeError
,"null reference");
24463 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24482 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24485 wxDataFormat
*arg2
= 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "format", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24499 if (arg2
== NULL
) {
24500 PyErr_SetString(PyExc_TypeError
,"null reference");
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24517 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24520 int arg2
= (int) wxDataObject::Get
;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "dir", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= result
;
24549 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24552 wxDataFormat
*arg2
= 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "format", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24566 if (arg2
== NULL
) {
24567 PyErr_SetString(PyExc_TypeError
,"null reference");
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= result
;
24584 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24587 wxDataFormat
*arg2
= 0 ;
24588 PyObject
*arg3
= (PyObject
*) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 PyObject
* obj2
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "format",(char *) "data", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24603 if (arg2
== NULL
) {
24604 PyErr_SetString(PyExc_TypeError
,"null reference");
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24624 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24627 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24629 return Py_BuildValue((char *)"");
24631 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24634 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24635 wxDataObjectSimple
*result
;
24636 PyObject
* obj0
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "format", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24646 if (arg1
== NULL
) {
24647 PyErr_SetString(PyExc_TypeError
,"null reference");
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24665 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24668 wxDataFormat
*result
;
24669 PyObject
* obj0
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24681 result
= (wxDataFormat
*) &_result_ref
;
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24694 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24697 wxDataFormat
*arg2
= 0 ;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "format", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24710 if (arg2
== NULL
) {
24711 PyErr_SetString(PyExc_TypeError
,"null reference");
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24754 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= result
;
24780 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24783 PyObject
*arg2
= (PyObject
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self",(char *) "data", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24811 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24814 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24816 return Py_BuildValue((char *)"");
24818 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24821 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24822 wxPyDataObjectSimple
*result
;
24823 PyObject
* obj0
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "format", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24833 if (arg1
== NULL
) {
24834 PyErr_SetString(PyExc_TypeError
,"null reference");
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24852 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24855 PyObject
*arg2
= (PyObject
*) 0 ;
24856 PyObject
*arg3
= (PyObject
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 PyObject
* obj2
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "self",(char *) "_class", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24883 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24886 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24888 return Py_BuildValue((char *)"");
24890 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
;
24892 wxDataObjectComposite
*result
;
24893 char *kwnames
[] = {
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24912 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24915 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24916 bool arg3
= (bool) False
;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 PyObject
* obj2
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24928 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24930 arg3
= (bool) SWIG_AsBool(obj2
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 (arg1
)->Add(arg2
,arg3
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 Py_INCREF(Py_None
); resultobj
= Py_None
;
24947 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24950 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24952 return Py_BuildValue((char *)"");
24954 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24957 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24958 wxTextDataObject
*result
;
24959 bool temp1
= False
;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "text", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24968 arg1
= wxString_in_helper(obj0
);
24969 if (arg1
== NULL
) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24995 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (size_t)(arg1
)->GetTextLength();
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25021 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
;
25023 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (arg1
)->GetText();
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25053 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25056 wxString
*arg2
= 0 ;
25057 bool temp2
= False
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "text", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 arg2
= wxString_in_helper(obj1
);
25069 if (arg2
== NULL
) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 (arg1
)->SetText((wxString
const &)*arg2
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 Py_INCREF(Py_None
); resultobj
= Py_None
;
25094 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25097 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25099 return Py_BuildValue((char *)"");
25101 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25104 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25105 wxPyTextDataObject
*result
;
25106 bool temp1
= False
;
25107 PyObject
* obj0
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "text", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25115 arg1
= wxString_in_helper(obj0
);
25116 if (arg1
== NULL
) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25142 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25145 PyObject
*arg2
= (PyObject
*) 0 ;
25146 PyObject
*arg3
= (PyObject
*) 0 ;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 PyObject
* obj2
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self",(char *) "self",(char *) "_class", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 Py_INCREF(Py_None
); resultobj
= Py_None
;
25173 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25176 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25178 return Py_BuildValue((char *)"");
25180 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
;
25182 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25183 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25184 wxBitmapDataObject
*result
;
25185 PyObject
* obj0
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "bitmap", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25195 if (arg1
== NULL
) {
25196 PyErr_SetString(PyExc_TypeError
,"null reference");
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25214 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25218 PyObject
* obj0
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25234 wxBitmap
* resultptr
;
25235 resultptr
= new wxBitmap((wxBitmap
&) result
);
25236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25244 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25247 wxBitmap
*arg2
= 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self",(char *) "bitmap", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25260 if (arg2
== NULL
) {
25261 PyErr_SetString(PyExc_TypeError
,"null reference");
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25281 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25283 return Py_BuildValue((char *)"");
25285 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25288 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25289 wxPyBitmapDataObject
*result
;
25290 PyObject
* obj0
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "bitmap", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25300 if (arg1
== NULL
) {
25301 PyErr_SetString(PyExc_TypeError
,"null reference");
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25319 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25322 PyObject
*arg2
= (PyObject
*) 0 ;
25323 PyObject
*arg3
= (PyObject
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 PyObject
* obj2
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self",(char *) "self",(char *) "_class", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 Py_INCREF(Py_None
); resultobj
= Py_None
;
25350 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25353 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25355 return Py_BuildValue((char *)"");
25357 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxFileDataObject
*result
;
25360 char *kwnames
[] = {
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxFileDataObject
*)new wxFileDataObject();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25379 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25382 wxArrayString
*result
;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25395 result
= (wxArrayString
*) &_result_ref
;
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= wxArrayString2PyList_helper(*result
);
25410 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25413 wxString
*arg2
= 0 ;
25414 bool temp2
= False
;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "filename", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 arg2
= wxString_in_helper(obj1
);
25426 if (arg2
== NULL
) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 (arg1
)->AddFile((wxString
const &)*arg2
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 Py_INCREF(Py_None
); resultobj
= Py_None
;
25451 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25454 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25456 return Py_BuildValue((char *)"");
25458 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25461 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25462 wxCustomDataObject
*result
;
25463 PyObject
* obj0
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "format", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25473 if (arg1
== NULL
) {
25474 PyErr_SetString(PyExc_TypeError
,"null reference");
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25492 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25495 PyObject
*arg2
= (PyObject
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "data", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25523 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (size_t)(arg1
)->GetSize();
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25549 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25553 PyObject
* obj0
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 resultobj
= result
;
25575 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25578 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25580 return Py_BuildValue((char *)"");
25582 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxURLDataObject
*result
;
25585 char *kwnames
[] = {
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (wxURLDataObject
*)new wxURLDataObject();
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25604 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= (arg1
)->GetURL();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25636 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25639 wxString
*arg2
= 0 ;
25640 bool temp2
= False
;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "url", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 arg2
= wxString_in_helper(obj1
);
25652 if (arg2
== NULL
) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 (arg1
)->SetURL((wxString
const &)*arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 Py_INCREF(Py_None
); resultobj
= Py_None
;
25677 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25680 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25682 return Py_BuildValue((char *)"");
25684 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxMetafileDataObject
*result
;
25687 char *kwnames
[] = {
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25706 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25709 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25711 return Py_BuildValue((char *)"");
25713 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25714 PyObject
*resultobj
;
25717 PyObject
* obj0
= 0 ;
25718 char *kwnames
[] = {
25719 (char *) "res", NULL
25722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25723 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25741 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxWindow
*arg1
= (wxWindow
*) 0 ;
25744 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25745 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25746 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25747 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25748 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25749 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25750 wxPyDropSource
*result
;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj1
= 0 ;
25753 PyObject
* obj2
= 0 ;
25754 PyObject
* obj3
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25766 if (arg2
== NULL
) {
25767 PyErr_SetString(PyExc_TypeError
,"null reference");
25772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25775 if (arg3
== NULL
) {
25776 PyErr_SetString(PyExc_TypeError
,"null reference");
25781 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25784 if (arg4
== NULL
) {
25785 PyErr_SetString(PyExc_TypeError
,"null reference");
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25803 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25806 PyObject
*arg2
= (PyObject
*) 0 ;
25807 PyObject
*arg3
= (PyObject
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 PyObject
* obj2
= 0 ;
25812 PyObject
* obj3
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25822 arg4
= (int) SWIG_AsInt(obj3
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 Py_INCREF(Py_None
); resultobj
= Py_None
;
25838 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 Py_INCREF(Py_None
); resultobj
= Py_None
;
25863 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
;
25865 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25866 wxDataObject
*arg2
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "data", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25879 if (arg2
== NULL
) {
25880 PyErr_SetString(PyExc_TypeError
,"null reference");
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 (arg1
)->SetData(*arg2
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 Py_INCREF(Py_None
); resultobj
= Py_None
;
25897 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25900 wxDataObject
*result
;
25901 PyObject
* obj0
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25923 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25927 wxCursor
*arg3
= 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 PyObject
* obj2
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self",(char *) "res",(char *) "cursor", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25938 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25940 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25943 if (arg3
== NULL
) {
25944 PyErr_SetString(PyExc_TypeError
,"null reference");
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25964 int arg2
= (int) wxDrag_CopyOnly
;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "flags", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 arg2
= (int) SWIG_AsInt(obj1
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (int)(arg1
)->DoDragDrop(arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_FromInt((int)result
);
25993 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self",(char *) "effect", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26007 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26025 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26028 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26030 return Py_BuildValue((char *)"");
26032 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26035 wxPyDropTarget
*result
;
26036 PyObject
* obj0
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "dataObject", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26044 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26060 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26063 PyObject
*arg2
= (PyObject
*) 0 ;
26064 PyObject
*arg3
= (PyObject
*) 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 PyObject
* obj2
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "self",(char *) "_class", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 Py_INCREF(Py_None
); resultobj
= Py_None
;
26091 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 Py_INCREF(Py_None
); resultobj
= Py_None
;
26116 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26119 wxDataObject
*result
;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26142 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26145 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "dataObject", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26156 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 (arg1
)->SetDataObject(arg2
);
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 Py_INCREF(Py_None
); resultobj
= Py_None
;
26171 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 PyObject
* obj2
= 0 ;
26181 PyObject
* obj3
= 0 ;
26182 char *kwnames
[] = {
26183 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 arg2
= (int) SWIG_AsInt(obj1
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26191 arg3
= (int) SWIG_AsInt(obj2
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26193 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_FromInt((int)result
);
26209 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 PyObject
* obj2
= 0 ;
26219 PyObject
* obj3
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26227 arg2
= (int) SWIG_AsInt(obj1
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26229 arg3
= (int) SWIG_AsInt(obj2
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26231 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= SWIG_FromInt((int)result
);
26247 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
;
26249 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->base_OnLeave();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 PyObject
* obj2
= 0 ;
26281 char *kwnames
[] = {
26282 (char *) "self",(char *) "x",(char *) "y", NULL
26285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26288 arg2
= (int) SWIG_AsInt(obj1
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26290 arg3
= (int) SWIG_AsInt(obj2
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26308 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26312 PyObject
* obj0
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (bool)(arg1
)->GetData();
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26336 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26339 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26341 return Py_BuildValue((char *)"");
26343 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxPyTextDropTarget
*result
;
26346 char *kwnames
[] = {
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26365 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26368 PyObject
*arg2
= (PyObject
*) 0 ;
26369 PyObject
*arg3
= (PyObject
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 PyObject
* obj1
= 0 ;
26372 PyObject
* obj2
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "self",(char *) "_class", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 PyObject
* obj2
= 0 ;
26406 PyObject
* obj3
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26414 arg2
= (int) SWIG_AsInt(obj1
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26416 arg3
= (int) SWIG_AsInt(obj2
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26418 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_FromInt((int)result
);
26434 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 PyObject
* obj2
= 0 ;
26444 PyObject
* obj3
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26452 arg2
= (int) SWIG_AsInt(obj1
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26454 arg3
= (int) SWIG_AsInt(obj2
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26456 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_FromInt((int)result
);
26472 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 (arg1
)->base_OnLeave();
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 Py_INCREF(Py_None
); resultobj
= Py_None
;
26497 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
;
26499 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 PyObject
* obj2
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "x",(char *) "y", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26513 arg2
= (int) SWIG_AsInt(obj1
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26515 arg3
= (int) SWIG_AsInt(obj2
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26533 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 PyObject
* obj2
= 0 ;
26543 PyObject
* obj3
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26551 arg2
= (int) SWIG_AsInt(obj1
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26553 arg3
= (int) SWIG_AsInt(obj2
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26555 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_FromInt((int)result
);
26571 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26574 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26576 return Py_BuildValue((char *)"");
26578 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxPyFileDropTarget
*result
;
26581 char *kwnames
[] = {
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26600 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26603 PyObject
*arg2
= (PyObject
*) 0 ;
26604 PyObject
*arg3
= (PyObject
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 PyObject
* obj2
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self",(char *) "self",(char *) "_class", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 Py_INCREF(Py_None
); resultobj
= Py_None
;
26631 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26638 PyObject
* obj0
= 0 ;
26639 PyObject
* obj1
= 0 ;
26640 PyObject
* obj2
= 0 ;
26641 PyObject
* obj3
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26649 arg2
= (int) SWIG_AsInt(obj1
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26651 arg3
= (int) SWIG_AsInt(obj2
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26653 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_FromInt((int)result
);
26669 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 PyObject
* obj2
= 0 ;
26679 PyObject
* obj3
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26687 arg2
= (int) SWIG_AsInt(obj1
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26689 arg3
= (int) SWIG_AsInt(obj2
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26691 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_FromInt((int)result
);
26707 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 (arg1
)->base_OnLeave();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 Py_INCREF(Py_None
); resultobj
= Py_None
;
26732 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
;
26734 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 PyObject
* obj2
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "x",(char *) "y", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 arg2
= (int) SWIG_AsInt(obj1
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26750 arg3
= (int) SWIG_AsInt(obj2
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26768 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 PyObject
* obj2
= 0 ;
26778 PyObject
* obj3
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26786 arg2
= (int) SWIG_AsInt(obj1
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26788 arg3
= (int) SWIG_AsInt(obj2
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26790 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= SWIG_FromInt((int)result
);
26806 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26809 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26811 return Py_BuildValue((char *)"");
26813 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 wxClipboard
*result
;
26816 char *kwnames
[] = {
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= (wxClipboard
*)new wxClipboard();
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26835 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
;
26837 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26838 PyObject
* obj0
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 Py_INCREF(Py_None
); resultobj
= Py_None
;
26860 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
;
26862 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "self", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (bool)(arg1
)->Open();
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26888 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
;
26890 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 Py_INCREF(Py_None
); resultobj
= Py_None
;
26913 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26917 PyObject
* obj0
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26944 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self",(char *) "data", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26956 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 result
= (bool)(arg1
)->AddData(arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26973 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26976 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "data", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26988 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (bool)(arg1
)->SetData(arg2
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27005 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27008 wxDataFormat
*arg2
= 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "format", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27022 if (arg2
== NULL
) {
27023 PyErr_SetString(PyExc_TypeError
,"null reference");
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27042 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
;
27044 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27045 wxDataObject
*arg2
= 0 ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self",(char *) "data", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27059 if (arg2
== NULL
) {
27060 PyErr_SetString(PyExc_TypeError
,"null reference");
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 result
= (bool)(arg1
)->GetData(*arg2
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27079 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
;
27081 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27082 PyObject
* obj0
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 Py_INCREF(Py_None
); resultobj
= Py_None
;
27104 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
;
27106 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (bool)(arg1
)->Flush();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27132 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27135 bool arg2
= (bool) True
;
27136 PyObject
* obj0
= 0 ;
27137 PyObject
* obj1
= 0 ;
27138 char *kwnames
[] = {
27139 (char *) "self",(char *) "primary", NULL
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27146 arg2
= (bool) SWIG_AsBool(obj1
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 (arg1
)->UsePrimarySelection(arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 Py_INCREF(Py_None
); resultobj
= Py_None
;
27163 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27166 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27168 return Py_BuildValue((char *)"");
27170 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27171 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27176 static PyObject
*_wrap_TheClipboard_get() {
27179 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27184 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27187 wxClipboardLocker
*result
;
27188 PyObject
* obj0
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "clipboard", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27212 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27215 PyObject
* obj0
= 0 ;
27216 char *kwnames
[] = {
27217 (char *) "self", NULL
27220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27237 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27265 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27268 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27270 return Py_BuildValue((char *)"");
27272 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 int arg1
= (int) 0 ;
27275 int arg2
= (int) 0 ;
27276 int arg3
= (int) 0 ;
27277 int arg4
= (int) 0 ;
27278 wxVideoMode
*result
;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 PyObject
* obj2
= 0 ;
27282 PyObject
* obj3
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27289 arg1
= (int) SWIG_AsInt(obj0
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 arg2
= (int) SWIG_AsInt(obj1
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 arg3
= (int) SWIG_AsInt(obj2
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27301 arg4
= (int) SWIG_AsInt(obj3
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27318 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27346 wxVideoMode
*arg2
= 0 ;
27348 PyObject
* obj0
= 0 ;
27349 PyObject
* obj1
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self",(char *) "other", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27360 if (arg2
== NULL
) {
27361 PyErr_SetString(PyExc_TypeError
,"null reference");
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27380 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27384 PyObject
* obj0
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27394 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_FromInt((int)result
);
27406 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27410 PyObject
* obj0
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_FromInt((int)result
);
27432 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_FromInt((int)result
);
27458 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27462 PyObject
* obj0
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27486 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27487 PyObject
*resultobj
;
27488 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27489 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "other", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27518 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27521 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self",(char *) "other", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27550 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
;
27552 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self",(char *) "w", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27563 arg2
= (int) SWIG_AsInt(obj1
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27565 if (arg1
) (arg1
)->w
= arg2
;
27567 Py_INCREF(Py_None
); resultobj
= Py_None
;
27574 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
;
27576 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27578 PyObject
* obj0
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 result
= (int) ((arg1
)->w
);
27588 resultobj
= SWIG_FromInt((int)result
);
27595 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self",(char *) "h", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27608 arg2
= (int) SWIG_AsInt(obj1
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27610 if (arg1
) (arg1
)->h
= arg2
;
27612 Py_INCREF(Py_None
); resultobj
= Py_None
;
27619 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 result
= (int) ((arg1
)->h
);
27633 resultobj
= SWIG_FromInt((int)result
);
27640 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27641 PyObject
*resultobj
;
27642 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27644 PyObject
* obj0
= 0 ;
27645 PyObject
* obj1
= 0 ;
27646 char *kwnames
[] = {
27647 (char *) "self",(char *) "bpp", NULL
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27653 arg2
= (int) SWIG_AsInt(obj1
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27655 if (arg1
) (arg1
)->bpp
= arg2
;
27657 Py_INCREF(Py_None
); resultobj
= Py_None
;
27664 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27668 PyObject
* obj0
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27676 result
= (int) ((arg1
)->bpp
);
27678 resultobj
= SWIG_FromInt((int)result
);
27685 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self",(char *) "refresh", NULL
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27698 arg2
= (int) SWIG_AsInt(obj1
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27700 if (arg1
) (arg1
)->refresh
= arg2
;
27702 Py_INCREF(Py_None
); resultobj
= Py_None
;
27709 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27713 PyObject
* obj0
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27721 result
= (int) ((arg1
)->refresh
);
27723 resultobj
= SWIG_FromInt((int)result
);
27730 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27733 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27735 return Py_BuildValue((char *)"");
27737 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27738 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27743 static PyObject
*_wrap_DefaultVideoMode_get() {
27746 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27751 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 size_t arg1
= (size_t) 0 ;
27755 PyObject
* obj0
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "index", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27762 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (wxDisplay
*)new wxDisplay(arg1
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27779 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27782 PyObject
* obj0
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self", NULL
27787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 Py_INCREF(Py_None
); resultobj
= Py_None
;
27804 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27807 char *kwnames
[] = {
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 result
= (size_t)wxDisplay::GetCount();
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27826 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxPoint
*arg1
= 0 ;
27831 PyObject
* obj0
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "pt", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27839 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= SWIG_FromInt((int)result
);
27855 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxWindow
*arg1
= (wxWindow
*) 0 ;
27859 PyObject
* obj0
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "window", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (int)Display_GetFromWindow(arg1
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= SWIG_FromInt((int)result
);
27881 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27909 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 wxRect
* resultptr
;
27930 resultptr
= new wxRect((wxRect
&) result
);
27931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27939 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= ((wxDisplay
const *)arg1
)->GetName();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27971 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27999 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28002 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28003 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self",(char *) "mode", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28018 if (arg2
== NULL
) {
28019 PyErr_SetString(PyExc_TypeError
,"null reference");
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
;
28037 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28040 wxVideoMode result
;
28041 PyObject
* obj0
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28057 wxVideoMode
* resultptr
;
28058 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28067 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28070 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28071 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "mode", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28086 if (arg2
== NULL
) {
28087 PyErr_SetString(PyExc_TypeError
,"null reference");
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28107 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
;
28109 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28110 PyObject
* obj0
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->ResetMode();
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28135 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28137 return Py_BuildValue((char *)"");
28139 static PyMethodDef SwigMethods
[] = {
28140 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28147 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28154 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28214 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28222 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28238 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28243 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28246 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28249 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28255 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28269 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28275 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28281 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28284 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28298 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28301 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28302 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28305 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28332 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28334 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28336 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28338 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28345 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28351 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28364 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28369 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28372 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28389 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28397 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28443 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28471 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28481 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28497 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28513 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28527 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28536 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28579 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28582 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28585 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28589 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28681 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28682 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28683 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28684 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28685 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28686 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28687 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28688 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28689 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28690 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28701 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28746 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28780 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28788 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28789 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28794 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28803 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28810 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28813 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28816 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28821 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28824 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28828 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28831 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28835 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28840 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28844 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28846 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28856 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28867 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28875 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28883 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28896 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28900 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28918 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28936 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28938 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28941 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28942 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28944 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28945 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28947 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28948 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28950 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28951 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28953 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28954 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28956 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28957 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28959 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28960 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28962 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28965 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28966 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28968 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28971 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28972 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28974 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28975 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28977 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28980 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28981 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28983 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28984 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28986 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28987 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28989 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28990 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28992 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28993 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28995 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28996 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28998 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28999 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29001 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29002 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29004 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29005 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29007 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29008 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29010 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29011 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29013 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29014 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29016 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29017 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29019 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29020 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29022 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29023 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29025 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29028 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29029 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29031 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29032 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29034 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29035 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29037 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29040 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29043 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29044 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29046 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29047 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29049 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29050 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29052 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29053 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29055 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29056 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29058 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29059 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29061 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29062 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29064 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29065 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29067 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29068 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29070 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29071 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29073 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29074 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29076 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29077 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29079 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29080 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29082 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29083 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29085 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29086 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29088 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29089 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29091 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29092 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29094 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29095 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29097 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29098 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29100 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29101 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29103 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29104 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29106 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29107 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29109 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29110 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29112 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29113 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29115 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29116 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29118 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29119 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29121 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29122 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29124 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29125 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29127 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29128 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29130 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29133 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29134 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29136 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29137 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29139 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29140 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29142 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29143 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29145 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29146 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29148 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29149 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29151 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29152 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29154 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29155 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29157 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29160 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29163 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29166 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29169 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29172 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29175 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29178 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) ((wxSizer
*) x
));
29181 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29184 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29187 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29190 static void *_p_wxEventTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) ((wxEvent
*) x
));
29193 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29196 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29199 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29202 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29205 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29208 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29211 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29214 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29217 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29220 static void *_p_wxControlTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29223 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29226 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29229 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29232 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29235 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29238 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29241 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29244 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29247 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29250 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29253 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29256 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29259 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29262 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29265 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29268 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29271 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29274 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29277 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29280 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29283 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29286 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29289 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29292 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29295 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29298 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29301 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29304 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29307 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29310 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29313 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29316 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29319 static void *_p_wxImageTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) ((wxImage
*) x
));
29322 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29325 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29328 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29331 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29334 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29337 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29340 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29343 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29346 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29349 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29352 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29353 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29355 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29358 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29359 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29361 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29362 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29364 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29365 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29367 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29368 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29370 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29371 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29373 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29374 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29376 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29379 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29380 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29382 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29383 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29385 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29386 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29388 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29391 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29392 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29394 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29397 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29400 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29403 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29404 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29406 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29407 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29409 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29410 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29412 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29413 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29415 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29416 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29418 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29419 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29421 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29422 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29424 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29425 return (void *)((wxWindow
*) ((wxControl
*) x
));
29427 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29428 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29430 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29431 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29433 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29434 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29436 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29437 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29469 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}};
29470 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}};
29471 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}};
29472 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}};
29473 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}};
29474 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}};
29475 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}};
29476 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}};
29477 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}};
29478 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}};
29479 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}};
29480 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}};
29481 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}};
29482 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}};
29483 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}};
29484 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}};
29485 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}};
29486 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}};
29487 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}};
29488 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}};
29489 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}};
29490 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}};
29491 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}};
29492 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}};
29493 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}};
29494 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}};
29495 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}};
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29525 static swig_type_info
*swig_types_initial
[] = {
29526 _swigt__p_wxLogChain
,
29527 _swigt__p_wxMutexGuiLocker
,
29528 _swigt__p_wxFileHistory
,
29530 _swigt__p_wxDateTime__TimeZone
,
29533 _swigt__p_wxConfigBase
,
29534 _swigt__p_wxDisplay
,
29535 _swigt__p_wxFileType
,
29536 _swigt__p_wxLogGui
,
29538 _swigt__p_wxDataFormat
,
29539 _swigt__p_wxTimerEvent
,
29543 _swigt__p_wxClipboard
,
29544 _swigt__p_wxStopWatch
,
29546 _swigt__p_wxClipboardLocker
,
29548 _swigt__p_wxLogStderr
,
29549 _swigt__p_wxLogTextCtrl
,
29550 _swigt__p_wxTextCtrl
,
29551 _swigt__p_wxBusyCursor
,
29552 _swigt__p_wxPyBitmapDataObject
,
29553 _swigt__p_wxPyTextDataObject
,
29554 _swigt__p_wxBitmapDataObject
,
29555 _swigt__p_wxTextDataObject
,
29556 _swigt__p_wxDataObject
,
29557 _swigt__p_wxFileDataObject
,
29558 _swigt__p_wxCustomDataObject
,
29559 _swigt__p_wxURLDataObject
,
29560 _swigt__p_wxMetafileDataObject
,
29562 _swigt__p_wxTimerRunner
,
29563 _swigt__p_wxLogWindow
,
29564 _swigt__p_wxTimeSpan
,
29565 _swigt__p_wxArrayString
,
29566 _swigt__p_wxWindowDisabler
,
29567 _swigt__p_wxToolTip
,
29568 _swigt__p_wxDataObjectComposite
,
29569 _swigt__p_wxFileConfig
,
29570 _swigt__p_wxSystemSettings
,
29571 _swigt__p_wxVideoMode
,
29572 _swigt__p_wxPyDataObjectSimple
,
29573 _swigt__p_wxDataObjectSimple
,
29574 _swigt__p_wxEvtHandler
,
29577 _swigt__p_wxSingleInstanceChecker
,
29578 _swigt__p_wxFileTypeInfo
,
29581 _swigt__p_wxMimeTypesManager
,
29582 _swigt__p_wxPyArtProvider
,
29583 _swigt__p_wxPyTipProvider
,
29584 _swigt__p_wxTipProvider
,
29585 _swigt__p_wxJoystick
,
29586 _swigt__p_wxSystemOptions
,
29588 _swigt__p_wxJoystickEvent
,
29589 _swigt__p_wxCursor
,
29590 _swigt__p_wxObject
,
29591 _swigt__p_wxOutputStream
,
29592 _swigt__p_wxDateTime
,
29593 _swigt__p_wxPyDropSource
,
29594 _swigt__p_wxWindow
,
29595 _swigt__p_wxString
,
29596 _swigt__p_wxPyProcess
,
29597 _swigt__p_wxBitmap
,
29598 _swigt__p_wxConfig
,
29600 _swigt__p_wxBusyInfo
,
29601 _swigt__p_wxPyDropTarget
,
29602 _swigt__p_wxPyTextDropTarget
,
29603 _swigt__p_wxPyFileDropTarget
,
29604 _swigt__p_wxProcessEvent
,
29606 _swigt__p_wxLogNull
,
29607 _swigt__p_wxColour
,
29608 _swigt__p_wxConfigPathChanger
,
29609 _swigt__p_wxPyTimer
,
29610 _swigt__p_wxDateSpan
,
29615 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29617 static swig_const_info swig_const_table
[] = {
29618 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29619 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29620 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29621 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29622 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29632 SWIGEXPORT(void) SWIG_init(void) {
29633 static PyObject
*SWIG_globals
= 0;
29634 static int typeinit
= 0;
29637 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29638 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29639 d
= PyModule_GetDict(m
);
29642 for (i
= 0; swig_types_initial
[i
]; i
++) {
29643 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29647 SWIG_InstallConstants(d
,swig_const_table
);
29649 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29650 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29651 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29652 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29653 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29654 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29655 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29656 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29657 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29658 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29659 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29660 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29661 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29662 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29663 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29664 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29665 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29666 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29667 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29668 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29669 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29670 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29671 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29672 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29673 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29674 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29675 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29676 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29677 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29678 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29679 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29680 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29681 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29682 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29683 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29684 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29685 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29686 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29687 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29688 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29689 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29690 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29691 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29692 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29693 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29694 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29695 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29696 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29697 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29698 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29699 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29700 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29701 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29702 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29703 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29704 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29705 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29706 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29707 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29708 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29709 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29710 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29711 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29712 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29713 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29714 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29715 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29716 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29717 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29718 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29719 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29720 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29721 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29722 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29723 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29724 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29725 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29726 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29727 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29728 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29729 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29730 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29731 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29732 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29733 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29734 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29735 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29736 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29737 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29738 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29739 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29740 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29741 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29742 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29743 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29744 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29745 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29746 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29747 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29748 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29750 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29752 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29753 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29754 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29755 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29756 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29757 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29758 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29759 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29760 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29761 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29762 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29763 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29764 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29765 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29766 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29767 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29768 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29769 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29770 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29771 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29772 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29773 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29774 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29775 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29776 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29777 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29778 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29779 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29780 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29781 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29782 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29783 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29784 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29785 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29786 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29787 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29788 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29789 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29790 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29791 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29792 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29793 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29794 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29795 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29796 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29797 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29798 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29799 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29800 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29801 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29803 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29805 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29806 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29807 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29808 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29809 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29810 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29811 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29812 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29813 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29814 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29815 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29816 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29817 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29818 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29819 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29820 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29821 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29822 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29823 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29824 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29864 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29866 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29867 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29868 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29869 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29870 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29871 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29872 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29873 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29874 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29875 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29876 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29877 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29878 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29879 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29880 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29881 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29882 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29883 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29884 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29885 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29886 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29887 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29888 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29889 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29890 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29891 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29892 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29893 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29894 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29895 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29896 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29897 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29898 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29899 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29900 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29901 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29902 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29903 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29904 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29905 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29906 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29907 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29908 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29909 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29910 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29911 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29912 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29913 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29914 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29915 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29916 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29917 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29918 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29919 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29920 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29921 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29922 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29923 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29924 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29925 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29926 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29927 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29928 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29929 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29930 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29931 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29932 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29933 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29934 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29935 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29936 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29937 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29938 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29939 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29940 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29941 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29942 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29943 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29944 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29945 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29946 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29947 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29948 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29949 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29950 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29951 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29952 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29953 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29954 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29955 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29956 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29957 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29958 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29959 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29960 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29961 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29962 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29963 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29964 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29965 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29966 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29967 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29968 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29969 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29970 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29971 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29972 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29973 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29974 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29975 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29976 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29977 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29978 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29979 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29980 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29981 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29982 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29983 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29984 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29985 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29986 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29987 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29988 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29989 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29990 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29991 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29992 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29993 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29994 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29995 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29996 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29997 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29998 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29999 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30000 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30001 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30002 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30003 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30004 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30005 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30006 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30007 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30008 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30009 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30010 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30011 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30012 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30013 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30014 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30015 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30016 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30017 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30018 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30019 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30020 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30021 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30022 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30023 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30024 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30025 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30026 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30027 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30028 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30029 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30030 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30031 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30032 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30033 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30034 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30035 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30036 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30037 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30038 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30039 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30040 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30041 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30042 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30043 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30044 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30045 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30046 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30047 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30048 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30049 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30050 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30051 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30052 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30053 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30054 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30055 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30056 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30057 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30058 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30059 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30060 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30061 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30062 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30063 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30064 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30065 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30067 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30068 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30069 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30070 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30072 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30073 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);