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
; }
1568 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1570 #include <wx/dynarray.h>
1571 #include <wx/vidmode.h>
1573 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1574 #include "wx/arrimpl.cpp"
1575 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1576 const wxVideoMode wxDefaultVideoMode
;
1581 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1584 static size_t GetCount()
1585 { wxPyRaiseNotImplemented(); return 0; }
1587 static int GetFromPoint(const wxPoint
& pt
)
1588 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1589 static int GetFromWindow(wxWindow
*window
)
1590 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1592 virtual bool IsOk() const { return false; }
1593 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1594 virtual wxString
GetName() const { return wxEmptyString
; }
1595 bool IsPrimary() const { return false; }
1597 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1598 { wxArrayVideoModes a
; return a
; }
1600 virtual wxVideoMode
GetCurrentMode() const
1601 { return wxDefaultVideoMode
; }
1603 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1610 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1611 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1612 PyObject
* pyList
= NULL
;
1613 wxArrayVideoModes arr
= self
->GetModes(mode
);
1614 bool blocked
= wxPyBeginBlockThreads();
1615 pyList
= PyList_New(0);
1616 for (int i
=0; i
< arr
.GetCount(); i
++) {
1617 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1618 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1619 PyList_Append(pyList
, pyObj
);
1622 wxPyEndBlockThreads(blocked
);
1628 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1632 PyObject
* obj0
= 0 ;
1634 (char *) "index", NULL
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1638 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 if (!wxPyCheckForApp()) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1649 wxColour
* resultptr
;
1650 resultptr
= new wxColour((wxColour
&) result
);
1651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1659 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1663 PyObject
* obj0
= 0 ;
1665 (char *) "index", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1669 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1672 if (!wxPyCheckForApp()) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1681 resultptr
= new wxFont((wxFont
&) result
);
1682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1690 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "index", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1700 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 if (!wxPyCheckForApp()) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= SWIG_FromInt((int)result
);
1717 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1721 PyObject
* obj0
= 0 ;
1723 (char *) "index", NULL
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1727 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 if (!wxPyCheckForApp()) SWIG_fail
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1746 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1755 if (!wxPyCheckForApp()) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 result
= (int)wxSystemSettings::GetScreenType();
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 resultobj
= SWIG_FromInt((int)result
);
1769 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "screen", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1778 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 if (!wxPyCheckForApp()) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1795 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1798 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1800 return Py_BuildValue((char *)"");
1802 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxSystemOptions
*result
;
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 result
= (wxSystemOptions
*)new wxSystemOptions();
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1824 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
*resultobj
;
1826 wxString
*arg1
= 0 ;
1827 wxString
*arg2
= 0 ;
1828 bool temp1
= False
;
1829 bool temp2
= False
;
1830 PyObject
* obj0
= 0 ;
1831 PyObject
* obj1
= 0 ;
1833 (char *) "name",(char *) "value", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1838 arg1
= wxString_in_helper(obj0
);
1839 if (arg1
== NULL
) SWIG_fail
;
1843 arg2
= wxString_in_helper(obj1
);
1844 if (arg2
== NULL
) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 Py_INCREF(Py_None
); resultobj
= Py_None
;
1877 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxString
*arg1
= 0 ;
1881 bool temp1
= False
;
1882 PyObject
* obj0
= 0 ;
1883 PyObject
* obj1
= 0 ;
1885 (char *) "name",(char *) "value", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1890 arg1
= wxString_in_helper(obj0
);
1891 if (arg1
== NULL
) SWIG_fail
;
1894 arg2
= (int) SWIG_AsInt(obj1
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1918 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
*resultobj
;
1920 wxString
*arg1
= 0 ;
1922 bool temp1
= False
;
1923 PyObject
* obj0
= 0 ;
1925 (char *) "name", NULL
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1930 arg1
= wxString_in_helper(obj0
);
1931 if (arg1
== NULL
) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1962 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxString
*arg1
= 0 ;
1966 bool temp1
= False
;
1967 PyObject
* obj0
= 0 ;
1969 (char *) "name", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1974 arg1
= wxString_in_helper(obj0
);
1975 if (arg1
== NULL
) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 resultobj
= SWIG_FromInt((int)result
);
2000 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxString
*arg1
= 0 ;
2004 bool temp1
= False
;
2005 PyObject
* obj0
= 0 ;
2007 (char *) "name", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2012 arg1
= wxString_in_helper(obj0
);
2013 if (arg1
== NULL
) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2040 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2043 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2045 return Py_BuildValue((char *)"");
2047 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2048 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2053 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2058 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2060 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2067 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2068 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2073 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2078 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2080 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2087 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2088 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2093 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2098 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2100 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2107 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 result
= (long)wxNewId();
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 resultobj
= SWIG_FromLong((long)result
);
2129 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2132 PyObject
* obj0
= 0 ;
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2138 arg1
= (long) SWIG_AsLong(obj0
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (long)wxGetCurrentId();
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= SWIG_FromLong((long)result
);
2176 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2184 if (!wxPyCheckForApp()) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2206 if (!wxPyCheckForApp()) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 bool arg1
= (bool) True
;
2224 PyObject
* obj0
= 0 ;
2226 (char *) "resetTimer", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2231 arg1
= (bool) SWIG_AsBool(obj0
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (long)wxGetElapsedTime(arg1
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_FromLong((long)result
);
2248 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 int *arg1
= (int *) 0 ;
2251 int *arg2
= (int *) 0 ;
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2262 if (!wxPyCheckForApp()) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 wxGetMousePosition(arg1
,arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2271 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2272 resultobj
= t_output_helper(resultobj
,o
);
2275 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2276 resultobj
= t_output_helper(resultobj
,o
);
2284 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 result
= (bool)wxIsBusy();
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2308 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2336 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
*resultobj
;
2338 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2339 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2341 bool temp1
= False
;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "command", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2350 arg1
= wxString_in_helper(obj0
);
2351 if (arg1
== NULL
) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 result
= (bool)wxShell((wxString
const &)*arg1
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2379 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 Py_INCREF(Py_None
); resultobj
= Py_None
;
2400 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2402 int *arg1
= (int *) 0 ;
2403 int *arg2
= (int *) 0 ;
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (int)wxGetOsVersion(arg1
,arg2
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2421 resultobj
= SWIG_FromInt((int)result
);
2423 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2424 resultobj
= t_output_helper(resultobj
,o
);
2427 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2428 resultobj
= t_output_helper(resultobj
,o
);
2436 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 result
= wxGetOsDescription();
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2464 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (long)wxGetFreeMemory();
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 resultobj
= SWIG_FromLong((long)result
);
2486 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2490 PyObject
* obj0
= 0 ;
2492 (char *) "wFlags", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2496 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 if (!wxPyCheckForApp()) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2515 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "secs", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2524 arg1
= (int) SWIG_AsInt(obj0
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 unsigned long arg1
;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "milliseconds", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2549 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 Py_INCREF(Py_None
); resultobj
= Py_None
;
2565 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 unsigned long arg1
;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "microseconds", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2574 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "enable", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2599 arg1
= (bool) SWIG_AsBool(obj0
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 wxEnableTopLevelWindows(arg1
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxString
*arg1
= 0 ;
2619 bool temp1
= False
;
2620 PyObject
* obj0
= 0 ;
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2627 arg1
= wxString_in_helper(obj0
);
2628 if (arg1
== NULL
) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2659 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= wxGetEmailAddress();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2687 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= wxGetHostName();
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2715 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
*resultobj
;
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= wxGetFullHostName();
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2743 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= wxGetUserId();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2771 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= wxGetUserName();
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2799 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 result
= wxGetHomeDir();
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2827 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2830 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2832 bool temp1
= False
;
2833 PyObject
* obj0
= 0 ;
2835 (char *) "user", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2841 arg1
= wxString_in_helper(obj0
);
2842 if (arg1
== NULL
) SWIG_fail
;
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 result
= wxGetUserHome((wxString
const &)*arg1
);
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2874 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 unsigned long result
;
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (unsigned long)wxGetProcessId();
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2896 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 Py_INCREF(Py_None
); resultobj
= Py_None
;
2917 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2920 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2921 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2922 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2927 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2928 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2929 int arg6
= (int) 0 ;
2930 wxWindow
*arg7
= (wxWindow
*) NULL
;
2931 int arg8
= (int) -1 ;
2932 int arg9
= (int) -1 ;
2934 bool temp1
= False
;
2935 bool temp2
= False
;
2936 bool temp3
= False
;
2937 bool temp4
= False
;
2938 bool temp5
= False
;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2941 PyObject
* obj2
= 0 ;
2942 PyObject
* obj3
= 0 ;
2943 PyObject
* obj4
= 0 ;
2944 PyObject
* obj5
= 0 ;
2945 PyObject
* obj6
= 0 ;
2946 PyObject
* obj7
= 0 ;
2947 PyObject
* obj8
= 0 ;
2949 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2955 arg1
= wxString_in_helper(obj0
);
2956 if (arg1
== NULL
) SWIG_fail
;
2962 arg2
= wxString_in_helper(obj1
);
2963 if (arg2
== NULL
) SWIG_fail
;
2969 arg3
= wxString_in_helper(obj2
);
2970 if (arg3
== NULL
) SWIG_fail
;
2976 arg4
= wxString_in_helper(obj3
);
2977 if (arg4
== NULL
) SWIG_fail
;
2983 arg5
= wxString_in_helper(obj4
);
2984 if (arg5
== NULL
) SWIG_fail
;
2989 arg6
= (int) SWIG_AsInt(obj5
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2997 arg8
= (int) SWIG_AsInt(obj7
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3001 arg9
= (int) SWIG_AsInt(obj8
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 if (!wxPyCheckForApp()) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3065 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxString
*arg1
= 0 ;
3068 wxString
*arg2
= 0 ;
3069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3071 wxWindow
*arg4
= (wxWindow
*) NULL
;
3073 bool temp1
= False
;
3074 bool temp2
= False
;
3075 bool temp3
= False
;
3076 PyObject
* obj0
= 0 ;
3077 PyObject
* obj1
= 0 ;
3078 PyObject
* obj2
= 0 ;
3079 PyObject
* obj3
= 0 ;
3081 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3086 arg1
= wxString_in_helper(obj0
);
3087 if (arg1
== NULL
) SWIG_fail
;
3091 arg2
= wxString_in_helper(obj1
);
3092 if (arg2
== NULL
) SWIG_fail
;
3097 arg3
= wxString_in_helper(obj2
);
3098 if (arg3
== NULL
) SWIG_fail
;
3103 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 if (!wxPyCheckForApp()) SWIG_fail
;
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3151 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxString
*arg1
= 0 ;
3154 wxString
*arg2
= 0 ;
3155 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3156 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3157 wxWindow
*arg4
= (wxWindow
*) NULL
;
3159 bool temp1
= False
;
3160 bool temp2
= False
;
3161 bool temp3
= False
;
3162 PyObject
* obj0
= 0 ;
3163 PyObject
* obj1
= 0 ;
3164 PyObject
* obj2
= 0 ;
3165 PyObject
* obj3
= 0 ;
3167 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3172 arg1
= wxString_in_helper(obj0
);
3173 if (arg1
== NULL
) SWIG_fail
;
3177 arg2
= wxString_in_helper(obj1
);
3178 if (arg2
== NULL
) SWIG_fail
;
3183 arg3
= wxString_in_helper(obj2
);
3184 if (arg3
== NULL
) SWIG_fail
;
3189 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 if (!wxPyCheckForApp()) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3237 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3240 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3241 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3242 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3243 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3246 wxWindow
*arg5
= (wxWindow
*) NULL
;
3248 bool temp1
= False
;
3249 bool temp2
= False
;
3251 PyObject
* obj0
= 0 ;
3252 PyObject
* obj1
= 0 ;
3253 PyObject
* obj2
= 0 ;
3254 PyObject
* obj3
= 0 ;
3255 PyObject
* obj4
= 0 ;
3257 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3263 arg1
= wxString_in_helper(obj0
);
3264 if (arg1
== NULL
) SWIG_fail
;
3270 arg2
= wxString_in_helper(obj1
);
3271 if (arg2
== NULL
) SWIG_fail
;
3276 arg3
= (long) SWIG_AsLong(obj2
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3286 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3290 if (!wxPyCheckForApp()) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3326 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxString
*arg1
= 0 ;
3329 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3330 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3331 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3332 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3333 wxWindow
*arg4
= (wxWindow
*) NULL
;
3334 int arg5
= (int) -1 ;
3335 int arg6
= (int) -1 ;
3336 bool arg7
= (bool) True
;
3338 bool temp1
= False
;
3339 bool temp2
= False
;
3340 bool temp3
= False
;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3343 PyObject
* obj2
= 0 ;
3344 PyObject
* obj3
= 0 ;
3345 PyObject
* obj4
= 0 ;
3346 PyObject
* obj5
= 0 ;
3347 PyObject
* obj6
= 0 ;
3349 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3354 arg1
= wxString_in_helper(obj0
);
3355 if (arg1
== NULL
) SWIG_fail
;
3360 arg2
= wxString_in_helper(obj1
);
3361 if (arg2
== NULL
) SWIG_fail
;
3367 arg3
= wxString_in_helper(obj2
);
3368 if (arg3
== NULL
) SWIG_fail
;
3373 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 arg5
= (int) SWIG_AsInt(obj4
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 arg6
= (int) SWIG_AsInt(obj5
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3385 arg7
= (bool) SWIG_AsBool(obj6
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3389 if (!wxPyCheckForApp()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3433 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxString
*arg1
= 0 ;
3436 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3437 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3438 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3439 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3440 wxWindow
*arg4
= (wxWindow
*) NULL
;
3442 bool temp1
= False
;
3443 bool temp2
= False
;
3444 bool temp3
= False
;
3445 PyObject
* obj0
= 0 ;
3446 PyObject
* obj1
= 0 ;
3447 PyObject
* obj2
= 0 ;
3448 PyObject
* obj3
= 0 ;
3450 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3455 arg1
= wxString_in_helper(obj0
);
3456 if (arg1
== NULL
) SWIG_fail
;
3461 arg2
= wxString_in_helper(obj1
);
3462 if (arg2
== NULL
) SWIG_fail
;
3468 arg3
= wxString_in_helper(obj2
);
3469 if (arg3
== NULL
) SWIG_fail
;
3474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3478 if (!wxPyCheckForApp()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3522 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxString
*arg1
= 0 ;
3525 wxString
*arg2
= 0 ;
3527 wxString
*arg4
= (wxString
*) 0 ;
3528 wxWindow
*arg5
= (wxWindow
*) NULL
;
3529 int arg6
= (int) -1 ;
3530 int arg7
= (int) -1 ;
3531 bool arg8
= (bool) True
;
3532 int arg9
= (int) 150 ;
3533 int arg10
= (int) 200 ;
3535 bool temp1
= False
;
3536 bool temp2
= False
;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3539 PyObject
* obj2
= 0 ;
3540 PyObject
* obj3
= 0 ;
3541 PyObject
* obj4
= 0 ;
3542 PyObject
* obj5
= 0 ;
3543 PyObject
* obj6
= 0 ;
3544 PyObject
* obj7
= 0 ;
3545 PyObject
* obj8
= 0 ;
3547 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3552 arg1
= wxString_in_helper(obj0
);
3553 if (arg1
== NULL
) SWIG_fail
;
3557 arg2
= wxString_in_helper(obj1
);
3558 if (arg2
== NULL
) SWIG_fail
;
3562 arg3
= PyList_Size(obj2
);
3563 arg4
= wxString_LIST_helper(obj2
);
3564 if (arg4
== NULL
) SWIG_fail
;
3567 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 arg6
= (int) SWIG_AsInt(obj4
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3575 arg7
= (int) SWIG_AsInt(obj5
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 arg8
= (bool) SWIG_AsBool(obj6
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3583 arg9
= (int) SWIG_AsInt(obj7
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3587 arg10
= (int) SWIG_AsInt(obj8
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 if (!wxPyCheckForApp()) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3614 if (arg4
) delete [] arg4
;
3627 if (arg4
) delete [] arg4
;
3633 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxString
*arg1
= 0 ;
3636 wxString
*arg2
= 0 ;
3638 wxString
*arg4
= (wxString
*) 0 ;
3639 wxWindow
*arg5
= (wxWindow
*) NULL
;
3640 int arg6
= (int) -1 ;
3641 int arg7
= (int) -1 ;
3642 bool arg8
= (bool) True
;
3643 int arg9
= (int) 150 ;
3644 int arg10
= (int) 200 ;
3646 bool temp1
= False
;
3647 bool temp2
= False
;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3650 PyObject
* obj2
= 0 ;
3651 PyObject
* obj3
= 0 ;
3652 PyObject
* obj4
= 0 ;
3653 PyObject
* obj5
= 0 ;
3654 PyObject
* obj6
= 0 ;
3655 PyObject
* obj7
= 0 ;
3656 PyObject
* obj8
= 0 ;
3658 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3663 arg1
= wxString_in_helper(obj0
);
3664 if (arg1
== NULL
) SWIG_fail
;
3668 arg2
= wxString_in_helper(obj1
);
3669 if (arg2
== NULL
) SWIG_fail
;
3673 arg3
= PyList_Size(obj2
);
3674 arg4
= wxString_LIST_helper(obj2
);
3675 if (arg4
== NULL
) SWIG_fail
;
3678 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3682 arg6
= (int) SWIG_AsInt(obj4
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3686 arg7
= (int) SWIG_AsInt(obj5
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 arg8
= (bool) SWIG_AsBool(obj6
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3694 arg9
= (int) SWIG_AsInt(obj7
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3698 arg10
= (int) SWIG_AsInt(obj8
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 if (!wxPyCheckForApp()) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_FromInt((int)result
);
3719 if (arg4
) delete [] arg4
;
3732 if (arg4
) delete [] arg4
;
3738 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxString
*arg1
= 0 ;
3741 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3742 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3743 int arg3
= (int) wxOK
|wxCENTRE
;
3744 wxWindow
*arg4
= (wxWindow
*) NULL
;
3745 int arg5
= (int) -1 ;
3746 int arg6
= (int) -1 ;
3748 bool temp1
= False
;
3749 bool temp2
= False
;
3750 PyObject
* obj0
= 0 ;
3751 PyObject
* obj1
= 0 ;
3752 PyObject
* obj2
= 0 ;
3753 PyObject
* obj3
= 0 ;
3754 PyObject
* obj4
= 0 ;
3755 PyObject
* obj5
= 0 ;
3757 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3762 arg1
= wxString_in_helper(obj0
);
3763 if (arg1
== NULL
) SWIG_fail
;
3768 arg2
= wxString_in_helper(obj1
);
3769 if (arg2
== NULL
) SWIG_fail
;
3774 arg3
= (int) SWIG_AsInt(obj2
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3778 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3782 arg5
= (int) SWIG_AsInt(obj4
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3786 arg6
= (int) SWIG_AsInt(obj5
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 if (!wxPyCheckForApp()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3820 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxString
*arg1
= 0 ;
3823 wxString
*arg2
= 0 ;
3824 wxString
*arg3
= 0 ;
3826 long arg5
= (long) 0 ;
3827 long arg6
= (long) 100 ;
3828 wxWindow
*arg7
= (wxWindow
*) NULL
;
3829 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3830 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3832 bool temp1
= False
;
3833 bool temp2
= False
;
3834 bool temp3
= False
;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3838 PyObject
* obj2
= 0 ;
3839 PyObject
* obj3
= 0 ;
3840 PyObject
* obj4
= 0 ;
3841 PyObject
* obj5
= 0 ;
3842 PyObject
* obj6
= 0 ;
3843 PyObject
* obj7
= 0 ;
3845 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3850 arg1
= wxString_in_helper(obj0
);
3851 if (arg1
== NULL
) SWIG_fail
;
3855 arg2
= wxString_in_helper(obj1
);
3856 if (arg2
== NULL
) SWIG_fail
;
3860 arg3
= wxString_in_helper(obj2
);
3861 if (arg3
== NULL
) SWIG_fail
;
3864 arg4
= (long) SWIG_AsLong(obj3
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 arg5
= (long) SWIG_AsLong(obj4
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 arg6
= (long) SWIG_AsLong(obj5
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3875 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3881 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3885 if (!wxPyCheckForApp()) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= SWIG_FromLong((long)result
);
3923 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3932 if (!wxPyCheckForApp()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (bool)wxColourDisplay();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3948 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
;
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3957 if (!wxPyCheckForApp()) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (int)wxDisplayDepth();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_FromInt((int)result
);
3971 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3980 if (!wxPyCheckForApp()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (int)wxGetDisplayDepth();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_FromInt((int)result
);
3994 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 int *arg1
= (int *) 0 ;
3997 int *arg2
= (int *) 0 ;
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4008 if (!wxPyCheckForApp()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 wxDisplaySize(arg1
,arg2
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4018 resultobj
= t_output_helper(resultobj
,o
);
4021 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4022 resultobj
= t_output_helper(resultobj
,o
);
4030 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4039 if (!wxPyCheckForApp()) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= wxGetDisplaySize();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4048 resultptr
= new wxSize((wxSize
&) result
);
4049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4057 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 int *arg1
= (int *) 0 ;
4060 int *arg2
= (int *) 0 ;
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4071 if (!wxPyCheckForApp()) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 wxDisplaySizeMM(arg1
,arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4081 resultobj
= t_output_helper(resultobj
,o
);
4084 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4085 resultobj
= t_output_helper(resultobj
,o
);
4093 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4102 if (!wxPyCheckForApp()) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= wxGetDisplaySizeMM();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4111 resultptr
= new wxSize((wxSize
&) result
);
4112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4120 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 int *arg1
= (int *) 0 ;
4123 int *arg2
= (int *) 0 ;
4124 int *arg3
= (int *) 0 ;
4125 int *arg4
= (int *) 0 ;
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4149 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4150 resultobj
= t_output_helper(resultobj
,o
);
4153 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4154 resultobj
= t_output_helper(resultobj
,o
);
4157 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4158 resultobj
= t_output_helper(resultobj
,o
);
4161 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4162 resultobj
= t_output_helper(resultobj
,o
);
4170 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4179 if (!wxPyCheckForApp()) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= wxGetClientDisplayRect();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4188 resultptr
= new wxRect((wxRect
&) result
);
4189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4197 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxCursor
*arg1
= 0 ;
4200 PyObject
* obj0
= 0 ;
4202 (char *) "cursor", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4210 PyErr_SetString(PyExc_TypeError
,"null reference");
4214 if (!wxPyCheckForApp()) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 Py_INCREF(Py_None
); resultobj
= Py_None
;
4228 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
;
4230 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4231 PyObject
* obj0
= 0 ;
4233 (char *) "cursor", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4242 if (!wxPyCheckForApp()) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 wxBeginBusyCursor(arg1
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 Py_INCREF(Py_None
); resultobj
= Py_None
;
4256 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4265 if (!wxPyCheckForApp()) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= (wxWindow
*)wxGetActiveWindow();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= wxPyMake_wxObject(result
, 0);
4281 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4286 PyObject
* obj0
= 0 ;
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4294 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4297 if (!wxPyCheckForApp()) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= wxPyMake_wxObject(result
, 0);
4313 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4318 PyObject
* obj0
= 0 ;
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4326 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4329 if (!wxPyCheckForApp()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= wxPyMake_wxObject(result
, 0);
4345 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxWindow
*arg1
= (wxWindow
*) 0 ;
4349 PyObject
* obj0
= 0 ;
4351 (char *) "win", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4358 if (!wxPyCheckForApp()) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= wxPyMake_wxObject(result
, 0);
4374 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4378 PyObject
* obj0
= 0 ;
4380 (char *) "key", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4384 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 if (!wxPyCheckForApp()) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4403 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4411 if (!wxPyCheckForApp()) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 wxWakeUpMainThread();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4433 if (!wxPyCheckForApp()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 Py_INCREF(Py_None
); resultobj
= Py_None
;
4447 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4455 if (!wxPyCheckForApp()) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxMutexGuiLocker
*result
;
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4478 if (!wxPyCheckForApp()) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4492 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4497 (char *) "self", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4517 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4520 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4522 return Py_BuildValue((char *)"");
4524 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)wxThread_IsMain();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4548 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxString
*arg1
= 0 ;
4552 bool temp1
= False
;
4553 PyObject
* obj0
= 0 ;
4555 (char *) "tip", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4560 arg1
= wxString_in_helper(obj0
);
4561 if (arg1
== NULL
) SWIG_fail
;
4565 if (!wxPyCheckForApp()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= wxPyMake_wxObject(result
, 1);
4589 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4592 wxString
*arg2
= 0 ;
4593 bool temp2
= False
;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "tip", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 arg2
= wxString_in_helper(obj1
);
4605 if (arg2
== NULL
) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->SetTip((wxString
const &)*arg2
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 Py_INCREF(Py_None
); resultobj
= Py_None
;
4630 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4636 (char *) "self", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 result
= (arg1
)->GetTip();
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4662 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (wxWindow
*)(arg1
)->GetWindow();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= wxPyMake_wxObject(result
, 0);
4690 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "flag", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4699 arg1
= (bool) SWIG_AsBool(obj0
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxToolTip::Enable(arg1
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4718 PyObject
* obj0
= 0 ;
4720 (char *) "milliseconds", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4724 arg1
= (long) SWIG_AsLong(obj0
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 wxToolTip::SetDelay(arg1
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 Py_INCREF(Py_None
); resultobj
= Py_None
;
4740 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4743 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4745 return Py_BuildValue((char *)"");
4747 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxWindow
*arg1
= (wxWindow
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4756 (char *) "window",(char *) "size", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4764 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4767 if (!wxPyCheckForApp()) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4781 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxCaret
*arg1
= (wxCaret
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4786 (char *) "self", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 Py_INCREF(Py_None
); resultobj
= Py_None
;
4806 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxCaret
*arg1
= (wxCaret
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4812 (char *) "self", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (bool)(arg1
)->IsOk();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxCaret
*arg1
= (wxCaret
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4840 (char *) "self", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsVisible();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4862 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxCaret
*arg1
= (wxCaret
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4868 (char *) "self", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (arg1
)->GetPosition();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4882 wxPoint
* resultptr
;
4883 resultptr
= new wxPoint((wxPoint
&) result
);
4884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4892 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxCaret
*arg1
= (wxCaret
*) 0 ;
4895 int *arg2
= (int *) 0 ;
4896 int *arg3
= (int *) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 (arg1
)->GetPosition(arg2
,arg3
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 Py_INCREF(Py_None
); resultobj
= Py_None
;
4918 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4919 resultobj
= t_output_helper(resultobj
,o
);
4922 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4923 resultobj
= t_output_helper(resultobj
,o
);
4931 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxCaret
*arg1
= (wxCaret
*) 0 ;
4935 PyObject
* obj0
= 0 ;
4937 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (arg1
)->GetSize();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4952 resultptr
= new wxSize((wxSize
&) result
);
4953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4961 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxCaret
*arg1
= (wxCaret
*) 0 ;
4964 int *arg2
= (int *) 0 ;
4965 int *arg3
= (int *) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 (arg1
)->GetSize(arg2
,arg3
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4987 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4988 resultobj
= t_output_helper(resultobj
,o
);
4991 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4992 resultobj
= t_output_helper(resultobj
,o
);
5000 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxCaret
*arg1
= (wxCaret
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5006 (char *) "self", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (wxWindow
*)(arg1
)->GetWindow();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= wxPyMake_wxObject(result
, 0);
5028 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxCaret
*arg1
= (wxCaret
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5035 PyObject
* obj2
= 0 ;
5037 (char *) "self",(char *) "x",(char *) "y", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5043 arg2
= (int) SWIG_AsInt(obj1
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5045 arg3
= (int) SWIG_AsInt(obj2
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->Move(arg2
,arg3
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxCaret
*arg1
= (wxCaret
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5069 (char *) "self",(char *) "pt", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 (arg1
)->Move((wxPoint
const &)*arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 Py_INCREF(Py_None
); resultobj
= Py_None
;
5093 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxCaret
*arg1
= (wxCaret
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5100 PyObject
* obj2
= 0 ;
5102 (char *) "self",(char *) "width",(char *) "height", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 arg2
= (int) SWIG_AsInt(obj1
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5110 arg3
= (int) SWIG_AsInt(obj2
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->SetSize(arg2
,arg3
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 Py_INCREF(Py_None
); resultobj
= Py_None
;
5126 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxCaret
*arg1
= (wxCaret
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "size", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5142 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetSize((wxSize
const &)*arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxCaret
*arg1
= (wxCaret
*) 0 ;
5161 int arg2
= (int) True
;
5162 PyObject
* obj0
= 0 ;
5163 PyObject
* obj1
= 0 ;
5165 (char *) "self",(char *) "show", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5172 arg2
= (int) SWIG_AsInt(obj1
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxCaret
*arg1
= (wxCaret
*) 0 ;
5192 PyObject
* obj0
= 0 ;
5194 (char *) "self", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5217 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5219 return Py_BuildValue((char *)"");
5221 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (int)wxCaret_GetBlinkTime();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_FromInt((int)result
);
5243 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "milliseconds", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5252 arg1
= (int) SWIG_AsInt(obj0
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 wxCaret_SetBlinkTime(arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5268 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
*resultobj
;
5270 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5271 wxBusyCursor
*result
;
5272 PyObject
* obj0
= 0 ;
5274 (char *) "cursor", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 if (!wxPyCheckForApp()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5297 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5302 (char *) "self", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5325 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5327 return Py_BuildValue((char *)"");
5329 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxWindow
*arg1
= (wxWindow
*) NULL
;
5332 wxWindowDisabler
*result
;
5333 PyObject
* obj0
= 0 ;
5335 (char *) "winToSkip", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5344 if (!wxPyCheckForApp()) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5358 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "self", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 Py_INCREF(Py_None
); resultobj
= Py_None
;
5383 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5386 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5388 return Py_BuildValue((char *)"");
5390 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxString
*arg1
= 0 ;
5394 bool temp1
= False
;
5395 PyObject
* obj0
= 0 ;
5397 (char *) "message", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5402 arg1
= wxString_in_helper(obj0
);
5403 if (arg1
== NULL
) SWIG_fail
;
5407 if (!wxPyCheckForApp()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5429 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5434 (char *) "self", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 Py_INCREF(Py_None
); resultobj
= Py_None
;
5454 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5457 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5459 return Py_BuildValue((char *)"");
5461 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxStopWatch
*result
;
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (wxStopWatch
*)new wxStopWatch();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5483 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5486 long arg2
= (long) 0 ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "t0", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 arg2
= (long) SWIG_AsLong(obj1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->Start(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5519 (char *) "self", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5570 (char *) "self", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_FromLong((long)result
);
5590 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5593 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5595 return Py_BuildValue((char *)"");
5597 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 int arg1
= (int) 9 ;
5600 wxFileHistory
*result
;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "maxFiles", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5608 arg1
= (int) SWIG_AsInt(obj0
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5625 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5630 (char *) "self", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5653 wxString
*arg2
= 0 ;
5654 bool temp2
= False
;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5658 (char *) "self",(char *) "file", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 arg2
= wxString_in_helper(obj1
);
5666 if (arg2
== NULL
) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5698 (char *) "self",(char *) "i", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 arg2
= (int) SWIG_AsInt(obj1
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->RemoveFileFromHistory(arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 Py_INCREF(Py_None
); resultobj
= Py_None
;
5720 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5726 (char *) "self", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= SWIG_FromInt((int)result
);
5746 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5749 wxMenu
*arg2
= (wxMenu
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "menu", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->UseMenu(arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5778 wxMenu
*arg2
= (wxMenu
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "menu", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->RemoveMenu(arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5807 wxConfigBase
*arg2
= 0 ;
5808 PyObject
* obj0
= 0 ;
5809 PyObject
* obj1
= 0 ;
5811 (char *) "self",(char *) "config", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5821 PyErr_SetString(PyExc_TypeError
,"null reference");
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->Load(*arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 Py_INCREF(Py_None
); resultobj
= Py_None
;
5838 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5841 wxConfigBase
*arg2
= 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5845 (char *) "self",(char *) "config", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5855 PyErr_SetString(PyExc_TypeError
,"null reference");
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->Save(*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "self", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->AddFilesToMenu();
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 Py_INCREF(Py_None
); resultobj
= Py_None
;
5897 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5900 wxMenu
*arg2
= (wxMenu
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5904 (char *) "self",(char *) "menu", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 (arg1
)->AddFilesToMenu(arg2
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5934 (char *) "self",(char *) "i", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 arg2
= (int) SWIG_AsInt(obj1
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5962 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5968 (char *) "self", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_FromInt((int)result
);
5988 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5991 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5993 return Py_BuildValue((char *)"");
5995 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxString
*arg1
= 0 ;
5998 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6000 wxSingleInstanceChecker
*result
;
6001 bool temp1
= False
;
6002 bool temp2
= False
;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6006 (char *) "name",(char *) "path", NULL
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6011 arg1
= wxString_in_helper(obj0
);
6012 if (arg1
== NULL
) SWIG_fail
;
6017 arg2
= wxString_in_helper(obj1
);
6018 if (arg2
== NULL
) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6052 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxSingleInstanceChecker
*result
;
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6074 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 Py_INCREF(Py_None
); resultobj
= Py_None
;
6099 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6102 wxString
*arg2
= 0 ;
6103 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6104 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6106 bool temp2
= False
;
6107 bool temp3
= False
;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 PyObject
* obj2
= 0 ;
6112 (char *) "self",(char *) "name",(char *) "path", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6119 arg2
= wxString_in_helper(obj1
);
6120 if (arg2
== NULL
) SWIG_fail
;
6125 arg3
= wxString_in_helper(obj2
);
6126 if (arg3
== NULL
) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6162 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6190 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6193 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6195 return Py_BuildValue((char *)"");
6197 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxWindow
*arg1
= (wxWindow
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6206 (char *) "window",(char *) "dc",(char *) "method", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6216 PyErr_SetString(PyExc_TypeError
,"null reference");
6219 arg3
= (int) SWIG_AsInt(obj2
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 Py_INCREF(Py_None
); resultobj
= Py_None
;
6235 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "self", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (arg1
)->GetTip();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6292 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (size_t)(arg1
)->GetCurrentTip();
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6318 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6321 wxString
*arg2
= 0 ;
6323 bool temp2
= False
;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6327 (char *) "self",(char *) "tip", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= wxString_in_helper(obj1
);
6335 if (arg2
== NULL
) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6366 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6369 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6371 return Py_BuildValue((char *)"");
6373 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6376 wxPyTipProvider
*result
;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "currentTip", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6383 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6399 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6402 PyObject
*arg2
= (PyObject
*) 0 ;
6403 PyObject
*arg3
= (PyObject
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 PyObject
* obj2
= 0 ;
6408 (char *) "self",(char *) "self",(char *) "_class", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 Py_INCREF(Py_None
); resultobj
= Py_None
;
6430 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6435 return Py_BuildValue((char *)"");
6437 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxWindow
*arg1
= (wxWindow
*) 0 ;
6440 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6441 bool arg3
= (bool) True
;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6447 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg3
= (bool) SWIG_AsBool(obj2
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6460 if (!wxPyCheckForApp()) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6476 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxString
*arg1
= 0 ;
6480 wxTipProvider
*result
;
6481 bool temp1
= False
;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "filename",(char *) "currentTip", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6490 arg1
= wxString_in_helper(obj0
);
6491 if (arg1
== NULL
) SWIG_fail
;
6494 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 if (!wxPyCheckForApp()) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6519 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6522 int arg2
= (int) -1 ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6527 (char *) "owner",(char *) "id", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 arg2
= (int) SWIG_AsInt(obj1
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 if (!wxPyCheckForApp()) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6554 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 Py_INCREF(Py_None
); resultobj
= Py_None
;
6579 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6582 PyObject
*arg2
= (PyObject
*) 0 ;
6583 PyObject
*arg3
= (PyObject
*) 0 ;
6584 int arg4
= (int) 1 ;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6587 PyObject
* obj2
= 0 ;
6588 PyObject
* obj3
= 0 ;
6590 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6599 arg4
= (int) SWIG_AsInt(obj3
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6619 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6620 int arg3
= (int) -1 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6623 PyObject
* obj2
= 0 ;
6625 (char *) "self",(char *) "owner",(char *) "id", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6634 arg3
= (int) SWIG_AsInt(obj2
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 (arg1
)->SetOwner(arg2
,arg3
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 Py_INCREF(Py_None
); resultobj
= Py_None
;
6651 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6654 wxEvtHandler
*result
;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= wxPyMake_wxObject(result
, 0);
6679 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6682 int arg2
= (int) -1 ;
6683 bool arg3
= (bool) False
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6689 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6696 arg2
= (int) SWIG_AsInt(obj1
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 arg3
= (bool) SWIG_AsBool(obj2
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6719 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6724 (char *) "self", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6750 (char *) "self", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6772 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6776 PyObject
* obj0
= 0 ;
6778 (char *) "self", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_FromInt((int)result
);
6798 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6804 (char *) "self", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6826 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_FromInt((int)result
);
6852 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6855 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6857 return Py_BuildValue((char *)"");
6859 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 int arg1
= (int) 0 ;
6862 int arg2
= (int) 0 ;
6863 wxTimerEvent
*result
;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "timerid",(char *) "interval", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6872 arg1
= (int) SWIG_AsInt(obj0
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 arg2
= (int) SWIG_AsInt(obj1
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6893 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_FromInt((int)result
);
6919 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6922 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6924 return Py_BuildValue((char *)"");
6926 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6927 PyObject
*resultobj
;
6929 wxTimerRunner
*result
;
6930 PyObject
* obj0
= 0 ;
6932 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6937 PyErr_SetString(PyExc_TypeError
,"null reference");
6941 if (!wxPyCheckForApp()) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6955 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6956 PyObject
*resultobj
;
6959 bool arg3
= (bool) False
;
6960 wxTimerRunner
*result
;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6963 PyObject
* obj2
= 0 ;
6965 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6970 PyErr_SetString(PyExc_TypeError
,"null reference");
6973 arg2
= (int) SWIG_AsInt(obj1
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 arg3
= (bool) SWIG_AsBool(obj2
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 if (!wxPyCheckForApp()) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6994 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6999 argc
= PyObject_Length(args
);
7000 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7001 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7007 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7015 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7018 if ((argc
>= 2) && (argc
<= 3)) {
7022 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7030 _v
= SWIG_CheckInt(argv
[1]);
7033 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7035 _v
= SWIG_CheckBool(argv
[2]);
7037 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7043 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7048 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 Py_INCREF(Py_None
); resultobj
= Py_None
;
7073 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7077 bool arg3
= (bool) False
;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7080 PyObject
* obj2
= 0 ;
7082 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 arg2
= (int) SWIG_AsInt(obj1
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 arg3
= (bool) SWIG_AsBool(obj2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 (arg1
)->Start(arg2
,arg3
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 Py_INCREF(Py_None
); resultobj
= Py_None
;
7108 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7111 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7113 return Py_BuildValue((char *)"");
7115 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (wxLog
*)new wxLog();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7137 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (bool)wxLog::IsEnabled();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7161 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 bool arg1
= (bool) True
;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "doIt", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7172 arg1
= (bool) SWIG_AsBool(obj0
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (bool)wxLog::EnableLogging(arg1
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7191 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7194 wxChar
*arg2
= (wxChar
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7198 PyObject
* obj2
= 0 ;
7200 (char *) "level",(char *) "szString",(char *) "t", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7204 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxLog
*arg1
= (wxLog
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxLog::FlushActive();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (wxLog
*)wxLog::GetActiveTarget();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7292 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxLog
*arg1
= (wxLog
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "pLogger", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7318 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 bool arg1
= (bool) True
;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "bVerbose", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7370 arg1
= (bool) SWIG_AsBool(obj0
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 wxLog::SetVerbose(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "logLevel", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7396 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxLog::SetLogLevel(arg1
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 wxLog::DontCreateOnDemand();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7436 PyObject
* obj0
= 0 ;
7438 (char *) "ulMask", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7442 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxLog::SetTraceMask(arg1
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 Py_INCREF(Py_None
); resultobj
= Py_None
;
7458 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxString
*arg1
= 0 ;
7461 bool temp1
= False
;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "str", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7469 arg1
= wxString_in_helper(obj0
);
7470 if (arg1
== NULL
) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 wxLog::AddTraceMask((wxString
const &)*arg1
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxString
*arg1
= 0 ;
7498 bool temp1
= False
;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "str", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7506 arg1
= wxString_in_helper(obj0
);
7507 if (arg1
== NULL
) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7532 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 wxLog::ClearTraceMasks();
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 Py_INCREF(Py_None
); resultobj
= Py_None
;
7553 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxArrayString
*result
;
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7565 result
= (wxArrayString
*) &_result_ref
;
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= wxArrayString2PyList_helper(*result
);
7580 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxChar
*arg1
= (wxChar
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 wxLog::SetTimestamp((wxChar
const *)arg1
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7605 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (bool)wxLog::GetVerbose();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7629 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (wxTraceMask
)wxLog::GetTraceMask();
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7651 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxChar
*arg1
= (wxChar
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "mask", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7679 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (wxLogLevel
)wxLog::GetLogLevel();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7701 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (wxChar
*)wxLog::GetTimestamp();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7723 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= Log_TimeStamp();
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7751 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxLog
*arg1
= (wxLog
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 wxLog_Destroy(arg1
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7779 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7781 return Py_BuildValue((char *)"");
7783 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxLogStderr
*result
;
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxLogStderr
*)new wxLogStderr();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7805 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7808 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7810 return Py_BuildValue((char *)"");
7812 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7815 wxLogTextCtrl
*result
;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "pTextCtrl", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7838 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7843 return Py_BuildValue((char *)"");
7845 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxLogGui
*)new wxLogGui();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7867 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7872 return Py_BuildValue((char *)"");
7874 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxFrame
*arg1
= (wxFrame
*) 0 ;
7877 wxString
*arg2
= 0 ;
7878 bool arg3
= (bool) True
;
7879 bool arg4
= (bool) True
;
7880 wxLogWindow
*result
;
7881 bool temp2
= False
;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7885 PyObject
* obj3
= 0 ;
7887 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7894 arg2
= wxString_in_helper(obj1
);
7895 if (arg2
== NULL
) SWIG_fail
;
7899 arg3
= (bool) SWIG_AsBool(obj2
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 arg4
= (bool) SWIG_AsBool(obj3
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7928 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7931 bool arg2
= (bool) True
;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "bShow", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 arg2
= (bool) SWIG_AsBool(obj1
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 Py_INCREF(Py_None
); resultobj
= Py_None
;
7959 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= wxPyMake_wxObject(result
, 0);
7987 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8013 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8041 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8048 (char *) "self",(char *) "bDoPass", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 arg2
= (bool) SWIG_AsBool(obj1
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 (arg1
)->PassMessages(arg2
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8070 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8073 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8075 return Py_BuildValue((char *)"");
8077 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxLog
*arg1
= (wxLog
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "logger", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (wxLogChain
*)new wxLogChain(arg1
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8103 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8106 wxLog
*arg2
= (wxLog
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8110 (char *) "self",(char *) "logger", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->SetLog(arg2
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8139 (char *) "self",(char *) "bDoPass", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 arg2
= (bool) SWIG_AsBool(obj1
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 (arg1
)->PassMessages(arg2
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 Py_INCREF(Py_None
); resultobj
= Py_None
;
8161 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (bool)(arg1
)->IsPassingMessages();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8189 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8193 PyObject
* obj0
= 0 ;
8195 (char *) "self", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 result
= (wxLog
*)(arg1
)->GetOldLog();
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8215 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8218 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8220 return Py_BuildValue((char *)"");
8222 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 unsigned long result
;
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (unsigned long)wxSysErrorCode();
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8244 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 unsigned long arg1
= (unsigned long) 0 ;
8248 PyObject
* obj0
= 0 ;
8250 (char *) "nErrCode", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8255 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= wxSysErrorMsg(arg1
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8278 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxString
*arg1
= 0 ;
8281 bool temp1
= False
;
8282 PyObject
* obj0
= 0 ;
8284 (char *) "msg", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8289 arg1
= wxString_in_helper(obj0
);
8290 if (arg1
== NULL
) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 wxLogFatalError((wxString
const &)*arg1
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxString
*arg1
= 0 ;
8318 bool temp1
= False
;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "msg", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8326 arg1
= wxString_in_helper(obj0
);
8327 if (arg1
== NULL
) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 wxLogError((wxString
const &)*arg1
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxString
*arg1
= 0 ;
8355 bool temp1
= False
;
8356 PyObject
* obj0
= 0 ;
8358 (char *) "msg", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8363 arg1
= wxString_in_helper(obj0
);
8364 if (arg1
== NULL
) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 wxLogWarning((wxString
const &)*arg1
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxString
*arg1
= 0 ;
8392 bool temp1
= False
;
8393 PyObject
* obj0
= 0 ;
8395 (char *) "msg", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8400 arg1
= wxString_in_helper(obj0
);
8401 if (arg1
== NULL
) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 wxLogMessage((wxString
const &)*arg1
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8426 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxString
*arg1
= 0 ;
8429 bool temp1
= False
;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "msg", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8437 arg1
= wxString_in_helper(obj0
);
8438 if (arg1
== NULL
) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 wxLogInfo((wxString
const &)*arg1
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxString
*arg1
= 0 ;
8466 bool temp1
= False
;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "msg", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8474 arg1
= wxString_in_helper(obj0
);
8475 if (arg1
== NULL
) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 wxLogDebug((wxString
const &)*arg1
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 Py_INCREF(Py_None
); resultobj
= Py_None
;
8500 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
;
8502 wxString
*arg1
= 0 ;
8503 bool temp1
= False
;
8504 PyObject
* obj0
= 0 ;
8506 (char *) "msg", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8511 arg1
= wxString_in_helper(obj0
);
8512 if (arg1
== NULL
) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 wxLogVerbose((wxString
const &)*arg1
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8537 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxString
*arg1
= 0 ;
8540 bool temp1
= False
;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "msg", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8548 arg1
= wxString_in_helper(obj0
);
8549 if (arg1
== NULL
) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 wxLogStatus((wxString
const &)*arg1
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 Py_INCREF(Py_None
); resultobj
= Py_None
;
8574 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxFrame
*arg1
= (wxFrame
*) 0 ;
8577 wxString
*arg2
= 0 ;
8578 bool temp2
= False
;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8582 (char *) "pFrame",(char *) "msg", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 arg2
= wxString_in_helper(obj1
);
8590 if (arg2
== NULL
) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8615 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxString
*arg1
= 0 ;
8618 bool temp1
= False
;
8619 PyObject
* obj0
= 0 ;
8621 (char *) "msg", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8626 arg1
= wxString_in_helper(obj0
);
8627 if (arg1
== NULL
) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 wxLogSysError((wxString
const &)*arg1
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 Py_INCREF(Py_None
); resultobj
= Py_None
;
8652 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8653 PyObject
*resultobj
;
8654 unsigned long arg1
;
8655 wxString
*arg2
= 0 ;
8656 bool temp2
= False
;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8660 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8661 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 arg2
= wxString_in_helper(obj1
);
8665 if (arg2
== NULL
) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8691 PyObject
*resultobj
;
8692 wxString
*arg1
= 0 ;
8693 wxString
*arg2
= 0 ;
8694 bool temp1
= False
;
8695 bool temp2
= False
;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8699 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8701 arg1
= wxString_in_helper(obj0
);
8702 if (arg1
== NULL
) SWIG_fail
;
8706 arg2
= wxString_in_helper(obj1
);
8707 if (arg2
== NULL
) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8740 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8745 argc
= PyObject_Length(args
);
8746 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8747 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8752 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8756 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8759 return _wrap_LogTrace__SWIG_1(self
,args
);
8765 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8768 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8771 return _wrap_LogTrace__SWIG_0(self
,args
);
8776 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8781 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 unsigned long arg1
;
8784 wxString
*arg2
= 0 ;
8785 bool temp2
= False
;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8789 (char *) "level",(char *) "msg", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8793 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 arg2
= wxString_in_helper(obj1
);
8797 if (arg2
== NULL
) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxString
*arg1
= 0 ;
8825 wxString
*arg2
= 0 ;
8826 bool temp1
= False
;
8827 bool temp2
= False
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8831 (char *) "title",(char *) "text", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 arg1
= wxString_in_helper(obj0
);
8837 if (arg1
== NULL
) SWIG_fail
;
8841 arg2
= wxString_in_helper(obj1
);
8842 if (arg2
== NULL
) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxLogNull
*)new wxLogNull();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8897 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "self", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8925 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8927 return Py_BuildValue((char *)"");
8929 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= (wxPyLog
*)new wxPyLog();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8951 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8954 PyObject
*arg2
= (PyObject
*) 0 ;
8955 PyObject
*arg3
= (PyObject
*) 0 ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8960 (char *) "self",(char *) "self",(char *) "_class", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8985 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8987 return Py_BuildValue((char *)"");
8989 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8992 int arg2
= (int) wxSIGTERM
;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8997 (char *) "pid",(char *) "sig", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9001 arg1
= (int) SWIG_AsInt(obj0
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_FromInt((int)result
);
9021 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "pid", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9031 arg1
= (int) SWIG_AsInt(obj0
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)wxPyProcess::Exists(arg1
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxString
*arg1
= 0 ;
9052 int arg2
= (int) wxEXEC_ASYNC
;
9053 wxPyProcess
*result
;
9054 bool temp1
= False
;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9058 (char *) "cmd",(char *) "flags", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9063 arg1
= wxString_in_helper(obj0
);
9064 if (arg1
== NULL
) SWIG_fail
;
9068 arg2
= (int) SWIG_AsInt(obj1
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9093 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9096 int arg2
= (int) -1 ;
9097 wxPyProcess
*result
;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9101 (char *) "parent",(char *) "id", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 arg2
= (int) SWIG_AsInt(obj1
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9127 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9130 PyObject
*arg2
= (PyObject
*) 0 ;
9131 PyObject
*arg3
= (PyObject
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 PyObject
* obj2
= 0 ;
9136 (char *) "self",(char *) "self",(char *) "_class", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9158 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9167 (char *) "self",(char *) "pid",(char *) "status", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (int) SWIG_AsInt(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9175 arg3
= (int) SWIG_AsInt(obj2
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 (arg1
)->base_OnTerminate(arg2
,arg3
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 Py_INCREF(Py_None
); resultobj
= Py_None
;
9191 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9196 (char *) "self", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9222 (char *) "self", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (bool)(arg1
)->IsRedirected();
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9244 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9272 wxInputStream
*result
;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 wxPyInputStream
* _ptr
= NULL
;
9292 _ptr
= new wxPyInputStream(result
);
9294 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9302 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9305 wxInputStream
*result
;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 wxPyInputStream
* _ptr
= NULL
;
9325 _ptr
= new wxPyInputStream(result
);
9327 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9335 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9338 wxOutputStream
*result
;
9339 PyObject
* obj0
= 0 ;
9341 (char *) "self", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9361 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 (arg1
)->CloseOutput();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 Py_INCREF(Py_None
); resultobj
= Py_None
;
9386 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9414 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9442 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9470 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9473 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9475 return Py_BuildValue((char *)"");
9477 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 int arg1
= (int) 0 ;
9480 int arg2
= (int) 0 ;
9481 int arg3
= (int) 0 ;
9482 wxProcessEvent
*result
;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 PyObject
* obj2
= 0 ;
9487 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9492 arg1
= (int) SWIG_AsInt(obj0
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 arg2
= (int) SWIG_AsInt(obj1
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 arg3
= (int) SWIG_AsInt(obj2
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9517 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (int)(arg1
)->GetPid();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_FromInt((int)result
);
9543 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9547 PyObject
* obj0
= 0 ;
9549 (char *) "self", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (int)(arg1
)->GetExitCode();
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_FromInt((int)result
);
9569 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9576 (char *) "self",(char *) "m_pid", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 arg2
= (int) SWIG_AsInt(obj1
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9584 if (arg1
) (arg1
)->m_pid
= arg2
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9593 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9599 (char *) "self", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 result
= (int) ((arg1
)->m_pid
);
9607 resultobj
= SWIG_FromInt((int)result
);
9614 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9621 (char *) "self",(char *) "m_exitcode", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 arg2
= (int) SWIG_AsInt(obj1
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9629 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9631 Py_INCREF(Py_None
); resultobj
= Py_None
;
9638 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9644 (char *) "self", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 result
= (int) ((arg1
)->m_exitcode
);
9652 resultobj
= SWIG_FromInt((int)result
);
9659 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9662 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9664 return Py_BuildValue((char *)"");
9666 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxString
*arg1
= 0 ;
9669 int arg2
= (int) wxEXEC_ASYNC
;
9670 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9672 bool temp1
= False
;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 PyObject
* obj2
= 0 ;
9677 (char *) "command",(char *) "flags",(char *) "process", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9682 arg1
= wxString_in_helper(obj0
);
9683 if (arg1
== NULL
) SWIG_fail
;
9687 arg2
= (int) SWIG_AsInt(obj1
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 if (!wxPyCheckForApp()) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_FromLong((long)result
);
9717 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 int arg1
= (int) wxJOYSTICK1
;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "joystick", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9728 arg1
= (int) SWIG_AsInt(obj0
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 if (!wxPyCheckForApp()) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (wxJoystick
*)new wxJoystick(arg1
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9746 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (arg1
)->GetPosition();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9791 wxPoint
* resultptr
;
9792 resultptr
= new wxPoint((wxPoint
&) result
);
9793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9801 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9807 (char *) "self", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (int)(arg1
)->GetZPosition();
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_FromInt((int)result
);
9827 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (int)(arg1
)->GetButtonState();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= SWIG_FromInt((int)result
);
9853 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (int)(arg1
)->GetPOVPosition();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_FromInt((int)result
);
9879 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 result
= (int)(arg1
)->GetPOVCTSPosition();
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_FromInt((int)result
);
9905 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9911 (char *) "self", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (int)(arg1
)->GetRudderPosition();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_FromInt((int)result
);
9931 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9937 (char *) "self", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 result
= (int)(arg1
)->GetUPosition();
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_FromInt((int)result
);
9957 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (int)(arg1
)->GetVPosition();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_FromInt((int)result
);
9983 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (int)(arg1
)->GetMovementThreshold();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_FromInt((int)result
);
10009 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "threshold", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 arg2
= (int) SWIG_AsInt(obj1
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 (arg1
)->SetMovementThreshold(arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 Py_INCREF(Py_None
); resultobj
= Py_None
;
10038 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (bool)(arg1
)->IsOk();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10066 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (int)(arg1
)->GetNumberJoysticks();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_FromInt((int)result
);
10092 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (int)(arg1
)->GetManufacturerId();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_FromInt((int)result
);
10118 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)(arg1
)->GetProductId();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_FromInt((int)result
);
10144 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (arg1
)->GetProductName();
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10176 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (int)(arg1
)->GetXMin();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_FromInt((int)result
);
10202 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (int)(arg1
)->GetYMin();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_FromInt((int)result
);
10228 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (int)(arg1
)->GetZMin();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_FromInt((int)result
);
10254 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (int)(arg1
)->GetXMax();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_FromInt((int)result
);
10280 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (int)(arg1
)->GetYMax();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_FromInt((int)result
);
10306 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (int)(arg1
)->GetZMax();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_FromInt((int)result
);
10332 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (int)(arg1
)->GetNumberButtons();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_FromInt((int)result
);
10358 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)(arg1
)->GetNumberAxes();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_FromInt((int)result
);
10384 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (int)(arg1
)->GetMaxButtons();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= SWIG_FromInt((int)result
);
10410 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (int)(arg1
)->GetMaxAxes();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_FromInt((int)result
);
10436 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (int)(arg1
)->GetPollingMin();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_FromInt((int)result
);
10462 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (int)(arg1
)->GetPollingMax();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_FromInt((int)result
);
10488 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
;
10490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (int)(arg1
)->GetRudderMin();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_FromInt((int)result
);
10514 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (int)(arg1
)->GetRudderMax();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_FromInt((int)result
);
10540 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (int)(arg1
)->GetUMin();
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= SWIG_FromInt((int)result
);
10566 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (int)(arg1
)->GetUMax();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_FromInt((int)result
);
10592 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (int)(arg1
)->GetVMin();
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_FromInt((int)result
);
10618 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (int)(arg1
)->GetVMax();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_FromInt((int)result
);
10644 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (bool)(arg1
)->HasRudder();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10672 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (bool)(arg1
)->HasZ();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10700 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (bool)(arg1
)->HasU();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10728 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (bool)(arg1
)->HasV();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10756 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10760 PyObject
* obj0
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= (bool)(arg1
)->HasPOV();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10784 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (bool)(arg1
)->HasPOV4Dir();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10812 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (bool)(arg1
)->HasPOVCTS();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10840 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10843 wxWindow
*arg2
= (wxWindow
*) 0 ;
10844 int arg3
= (int) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 PyObject
* obj2
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10859 arg3
= (int) SWIG_AsInt(obj2
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10878 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (bool)(arg1
)->ReleaseCapture();
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10906 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10909 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10911 return Py_BuildValue((char *)"");
10913 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10916 wxPoint
*arg2
= (wxPoint
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "m_pos", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 if (arg1
) (arg1
)->m_pos
= *arg2
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10949 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10958 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self",(char *) "m_zPosition", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10971 arg2
= (int) SWIG_AsInt(obj1
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10973 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 result
= (int) ((arg1
)->m_zPosition
);
10996 resultobj
= SWIG_FromInt((int)result
);
11003 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "m_buttonChange", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 arg2
= (int) SWIG_AsInt(obj1
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11018 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11020 Py_INCREF(Py_None
); resultobj
= Py_None
;
11027 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 result
= (int) ((arg1
)->m_buttonChange
);
11041 resultobj
= SWIG_FromInt((int)result
);
11048 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self",(char *) "m_buttonState", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 arg2
= (int) SWIG_AsInt(obj1
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11063 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11065 Py_INCREF(Py_None
); resultobj
= Py_None
;
11072 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 result
= (int) ((arg1
)->m_buttonState
);
11086 resultobj
= SWIG_FromInt((int)result
);
11093 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self",(char *) "m_joyStick", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11106 arg2
= (int) SWIG_AsInt(obj1
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11108 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 result
= (int) ((arg1
)->m_joyStick
);
11131 resultobj
= SWIG_FromInt((int)result
);
11138 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11141 int arg2
= (int) 0 ;
11142 int arg3
= (int) wxJOYSTICK1
;
11143 int arg4
= (int) 0 ;
11144 wxJoystickEvent
*result
;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 PyObject
* obj2
= 0 ;
11148 PyObject
* obj3
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11155 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 arg2
= (int) SWIG_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 arg3
= (int) SWIG_AsInt(obj2
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 arg4
= (int) SWIG_AsInt(obj3
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11184 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 wxPoint
* resultptr
;
11205 resultptr
= new wxPoint((wxPoint
&) result
);
11206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11214 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_FromInt((int)result
);
11240 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_FromInt((int)result
);
11266 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_FromInt((int)result
);
11292 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_FromInt((int)result
);
11318 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "stick", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11331 arg2
= (int) SWIG_AsInt(obj1
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 (arg1
)->SetJoystick(arg2
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 Py_INCREF(Py_None
); resultobj
= Py_None
;
11347 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 PyObject
* obj1
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self",(char *) "state", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11360 arg2
= (int) SWIG_AsInt(obj1
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 (arg1
)->SetButtonState(arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 Py_INCREF(Py_None
); resultobj
= Py_None
;
11376 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self",(char *) "change", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11389 arg2
= (int) SWIG_AsInt(obj1
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->SetButtonChange(arg2
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11408 wxPoint
*arg2
= 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "pos", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "zPos", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11450 arg2
= (int) SWIG_AsInt(obj1
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 (arg1
)->SetZPosition(arg2
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 Py_INCREF(Py_None
); resultobj
= Py_None
;
11466 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11494 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11522 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 static PyObject
*_wrap_JoystickEvent_ButtonDown(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_ButtonDown",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
)->ButtonDown(arg2
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11587 int arg2
= (int) wxJOY_BUTTON_ANY
;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "but", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 arg2
= (int) SWIG_AsInt(obj1
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11618 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
;
11620 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11621 int arg2
= (int) wxJOY_BUTTON_ANY
;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self",(char *) "but", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11633 arg2
= (int) SWIG_AsInt(obj1
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11655 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11657 return Py_BuildValue((char *)"");
11659 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11662 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11664 bool temp1
= False
;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "fileName", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11673 arg1
= wxString_in_helper(obj0
);
11674 if (arg1
== NULL
) SWIG_fail
;
11679 if (!wxPyCheckForApp()) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11701 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 PyObject
*arg1
= (PyObject
*) 0 ;
11705 PyObject
* obj0
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "data", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11713 if (!wxPyCheckForApp()) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (wxSound
*)new_wxSound(arg1
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11727 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxSound
*arg1
= (wxSound
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 Py_INCREF(Py_None
); resultobj
= Py_None
;
11752 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxSound
*arg1
= (wxSound
*) 0 ;
11755 wxString
*arg2
= 0 ;
11757 bool temp2
= False
;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self",(char *) "fileName", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11768 arg2
= wxString_in_helper(obj1
);
11769 if (arg2
== NULL
) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11796 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxSound
*arg1
= (wxSound
*) 0 ;
11799 PyObject
*arg2
= (PyObject
*) 0 ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "data", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11827 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxSound
*arg1
= (wxSound
*) 0 ;
11831 PyObject
* obj0
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (bool)(arg1
)->IsOk();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11855 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxSound
*arg1
= (wxSound
*) 0 ;
11858 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self",(char *) "flags", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11874 if (!wxPyCheckForApp()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11890 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxString
*arg1
= 0 ;
11893 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11895 bool temp1
= False
;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "filename",(char *) "flags", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11904 arg1
= wxString_in_helper(obj0
);
11905 if (arg1
== NULL
) SWIG_fail
;
11909 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 if (!wxPyCheckForApp()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11937 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 char *kwnames
[] = {
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11945 if (!wxPyCheckForApp()) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 Py_INCREF(Py_None
); resultobj
= Py_None
;
11959 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11962 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11964 return Py_BuildValue((char *)"");
11966 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxString
*arg1
= 0 ;
11969 wxString
*arg2
= 0 ;
11970 wxString
*arg3
= 0 ;
11971 wxString
*arg4
= 0 ;
11972 wxFileTypeInfo
*result
;
11973 bool temp1
= False
;
11974 bool temp2
= False
;
11975 bool temp3
= False
;
11976 bool temp4
= False
;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 PyObject
* obj3
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11987 arg1
= wxString_in_helper(obj0
);
11988 if (arg1
== NULL
) SWIG_fail
;
11992 arg2
= wxString_in_helper(obj1
);
11993 if (arg2
== NULL
) SWIG_fail
;
11997 arg3
= wxString_in_helper(obj2
);
11998 if (arg3
== NULL
) SWIG_fail
;
12002 arg4
= wxString_in_helper(obj3
);
12003 if (arg4
== NULL
) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12052 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxArrayString
*arg1
= 0 ;
12055 wxFileTypeInfo
*result
;
12056 bool temp1
= False
;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "sArray", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12064 if (! PySequence_Check(obj0
)) {
12065 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12068 arg1
= new wxArrayString
;
12070 int i
, len
=PySequence_Length(obj0
);
12071 for (i
=0; i
<len
; i
++) {
12072 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12074 PyObject
* str
= PyObject_Unicode(item
);
12076 PyObject
* str
= PyObject_Str(item
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12079 arg1
->Add(Py2wxString(str
));
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12093 if (temp1
) delete arg1
;
12098 if (temp1
) delete arg1
;
12104 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxFileTypeInfo
*result
;
12107 char *kwnames
[] = {
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12126 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12154 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12157 wxString
*arg2
= 0 ;
12158 int arg3
= (int) 0 ;
12159 bool temp2
= False
;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12171 arg2
= wxString_in_helper(obj1
);
12172 if (arg2
== NULL
) SWIG_fail
;
12176 arg3
= (int) SWIG_AsInt(obj2
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12204 wxString
*arg2
= 0 ;
12205 bool temp2
= False
;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self",(char *) "shortDesc", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12216 arg2
= wxString_in_helper(obj1
);
12217 if (arg2
== NULL
) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 Py_INCREF(Py_None
); resultobj
= Py_None
;
12242 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12258 result
= (wxString
*) &_result_ref
;
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12277 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12293 result
= (wxString
*) &_result_ref
;
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12303 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12312 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12316 PyObject
* obj0
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12328 result
= (wxString
*) &_result_ref
;
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12338 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12347 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12363 result
= (wxString
*) &_result_ref
;
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12373 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12382 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12398 result
= (wxString
*) &_result_ref
;
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12408 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12417 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12420 wxArrayString
*result
;
12421 PyObject
* obj0
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12433 result
= (wxArrayString
*) &_result_ref
;
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= wxArrayString2PyList_helper(*result
);
12448 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_FromInt((int)result
);
12474 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12490 result
= (wxString
*) &_result_ref
;
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12500 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12509 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_FromInt((int)result
);
12535 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12538 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12540 return Py_BuildValue((char *)"");
12542 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxFileTypeInfo
*arg1
= 0 ;
12545 wxFileType
*result
;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "ftInfo", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12555 if (arg1
== NULL
) {
12556 PyErr_SetString(PyExc_TypeError
,"null reference");
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12573 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxFileType
*arg1
= (wxFileType
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 Py_INCREF(Py_None
); resultobj
= Py_None
;
12598 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxFileType
*arg1
= (wxFileType
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= result
;
12624 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxFileType
*arg1
= (wxFileType
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= result
;
12650 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFileType
*arg1
= (wxFileType
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= result
;
12676 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxFileType
*arg1
= (wxFileType
*) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12702 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxFileType
*arg1
= (wxFileType
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= result
;
12728 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxFileType
*arg1
= (wxFileType
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= result
;
12754 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxFileType
*arg1
= (wxFileType
*) 0 ;
12757 wxString
*arg2
= 0 ;
12758 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12759 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12761 bool temp2
= False
;
12762 bool temp3
= False
;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 PyObject
* obj2
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12774 arg2
= wxString_in_helper(obj1
);
12775 if (arg2
== NULL
) SWIG_fail
;
12780 arg3
= wxString_in_helper(obj2
);
12781 if (arg3
== NULL
) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= result
;
12815 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxFileType
*arg1
= (wxFileType
*) 0 ;
12818 wxString
*arg2
= 0 ;
12819 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12820 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12822 bool temp2
= False
;
12823 bool temp3
= False
;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 PyObject
* obj2
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 arg2
= wxString_in_helper(obj1
);
12836 if (arg2
== NULL
) SWIG_fail
;
12841 arg3
= wxString_in_helper(obj2
);
12842 if (arg3
== NULL
) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= result
;
12876 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxFileType
*arg1
= (wxFileType
*) 0 ;
12879 wxString
*arg2
= 0 ;
12880 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12881 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12883 bool temp2
= False
;
12884 bool temp3
= False
;
12885 PyObject
* obj0
= 0 ;
12886 PyObject
* obj1
= 0 ;
12887 PyObject
* obj2
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 arg2
= wxString_in_helper(obj1
);
12897 if (arg2
== NULL
) SWIG_fail
;
12902 arg3
= wxString_in_helper(obj2
);
12903 if (arg3
== NULL
) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= result
;
12937 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxFileType
*arg1
= (wxFileType
*) 0 ;
12940 wxString
*arg2
= 0 ;
12941 wxString
*arg3
= 0 ;
12942 bool arg4
= (bool) True
;
12944 bool temp2
= False
;
12945 bool temp3
= False
;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 PyObject
* obj3
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 arg2
= wxString_in_helper(obj1
);
12959 if (arg2
== NULL
) SWIG_fail
;
12963 arg3
= wxString_in_helper(obj2
);
12964 if (arg3
== NULL
) SWIG_fail
;
12968 arg4
= (bool) SWIG_AsBool(obj3
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13003 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxFileType
*arg1
= (wxFileType
*) 0 ;
13006 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13007 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13008 int arg3
= (int) 0 ;
13010 bool temp2
= False
;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 PyObject
* obj2
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self",(char *) "cmd",(char *) "index", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13023 arg2
= wxString_in_helper(obj1
);
13024 if (arg2
== NULL
) SWIG_fail
;
13029 arg3
= (int) SWIG_AsInt(obj2
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13056 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxFileType
*arg1
= (wxFileType
*) 0 ;
13060 PyObject
* obj0
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (bool)(arg1
)->Unassociate();
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13084 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxString
*arg1
= 0 ;
13087 wxString
*arg2
= 0 ;
13088 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13091 bool temp1
= False
;
13092 bool temp2
= False
;
13093 bool temp3
= False
;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 PyObject
* obj2
= 0 ;
13097 char *kwnames
[] = {
13098 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13103 arg1
= wxString_in_helper(obj0
);
13104 if (arg1
== NULL
) SWIG_fail
;
13108 arg2
= wxString_in_helper(obj1
);
13109 if (arg2
== NULL
) SWIG_fail
;
13114 arg3
= wxString_in_helper(obj2
);
13115 if (arg3
== NULL
) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13163 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13166 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13168 return Py_BuildValue((char *)"");
13170 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13171 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13176 static PyObject
*_wrap_TheMimeTypesManager_get() {
13179 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13184 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxString
*arg1
= 0 ;
13187 wxString
*arg2
= 0 ;
13189 bool temp1
= False
;
13190 bool temp2
= False
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "mimeType",(char *) "wildcard", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13199 arg1
= wxString_in_helper(obj0
);
13200 if (arg1
== NULL
) SWIG_fail
;
13204 arg2
= wxString_in_helper(obj1
);
13205 if (arg2
== NULL
) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13240 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxMimeTypesManager
*result
;
13243 char *kwnames
[] = {
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13262 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13265 int arg2
= (int) wxMAILCAP_ALL
;
13266 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13268 bool temp3
= False
;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 arg2
= (int) SWIG_AsInt(obj1
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13285 arg3
= wxString_in_helper(obj2
);
13286 if (arg3
== NULL
) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 (arg1
)->ClearData();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 Py_INCREF(Py_None
); resultobj
= Py_None
;
13337 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13340 wxString
*arg2
= 0 ;
13341 wxFileType
*result
;
13342 bool temp2
= False
;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "ext", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13353 arg2
= wxString_in_helper(obj1
);
13354 if (arg2
== NULL
) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13379 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13382 wxString
*arg2
= 0 ;
13383 wxFileType
*result
;
13384 bool temp2
= False
;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "mimeType", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 arg2
= wxString_in_helper(obj1
);
13396 if (arg2
== NULL
) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13421 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13424 wxString
*arg2
= 0 ;
13425 bool arg3
= (bool) False
;
13427 bool temp2
= False
;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 PyObject
* obj2
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 arg2
= wxString_in_helper(obj1
);
13440 if (arg2
== NULL
) SWIG_fail
;
13444 arg3
= (bool) SWIG_AsBool(obj2
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13471 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13474 wxString
*arg2
= 0 ;
13476 bool temp2
= False
;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "filename", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= wxString_in_helper(obj1
);
13488 if (arg2
== NULL
) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13515 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
;
13541 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13544 wxFileTypeInfo
*arg2
= 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "ft", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13557 if (arg2
== NULL
) {
13558 PyErr_SetString(PyExc_TypeError
,"null reference");
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13578 wxFileTypeInfo
*arg2
= 0 ;
13579 wxFileType
*result
;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self",(char *) "ftInfo", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13592 if (arg2
== NULL
) {
13593 PyErr_SetString(PyExc_TypeError
,"null reference");
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13610 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13613 wxFileType
*arg2
= (wxFileType
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "ft", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)(arg1
)->Unassociate(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 Py_INCREF(Py_None
); resultobj
= Py_None
;
13667 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13672 return Py_BuildValue((char *)"");
13674 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13675 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13680 static PyObject
*_wrap_ART_TOOLBAR_get() {
13685 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13687 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13694 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13695 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13700 static PyObject
*_wrap_ART_MENU_get() {
13705 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13707 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13714 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13715 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13720 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13725 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13727 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13734 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13735 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13740 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13745 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13747 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13754 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13755 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13760 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13765 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13767 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13774 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13775 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13780 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13785 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13787 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13794 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13795 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13800 static PyObject
*_wrap_ART_OTHER_get() {
13805 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13807 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13814 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13815 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13820 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13825 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13827 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13834 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13835 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13840 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13845 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13847 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13854 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13855 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13860 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13865 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13867 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13874 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13875 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13880 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13885 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13887 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13894 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13895 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13900 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13905 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13907 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13914 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13915 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13920 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13925 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13927 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13934 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13935 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13940 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13945 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13947 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13954 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13955 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13960 static PyObject
*_wrap_ART_GO_BACK_get() {
13965 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13967 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13974 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13975 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13980 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13985 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13987 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13994 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13995 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14000 static PyObject
*_wrap_ART_GO_UP_get() {
14005 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14007 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14014 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14015 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14020 static PyObject
*_wrap_ART_GO_DOWN_get() {
14025 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14027 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14034 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14035 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14040 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14045 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14047 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14054 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14055 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14060 static PyObject
*_wrap_ART_GO_HOME_get() {
14065 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14067 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14074 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14075 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14080 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14085 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14087 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14094 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14095 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14100 static PyObject
*_wrap_ART_PRINT_get() {
14105 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14107 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14114 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14115 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14120 static PyObject
*_wrap_ART_HELP_get() {
14125 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14127 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14134 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14135 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14140 static PyObject
*_wrap_ART_TIP_get() {
14145 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14147 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14154 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14155 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14160 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14165 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14167 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14174 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14175 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14180 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14185 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14187 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14194 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14195 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14200 static PyObject
*_wrap_ART_NEW_DIR_get() {
14205 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14207 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14214 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14215 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14220 static PyObject
*_wrap_ART_FOLDER_get() {
14225 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14227 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14234 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14235 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14240 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14245 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14247 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14254 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14255 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14260 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14265 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14267 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14274 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14275 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14280 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14285 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14287 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14294 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14295 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14300 static PyObject
*_wrap_ART_TICK_MARK_get() {
14305 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14307 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14314 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14315 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14320 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14325 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14327 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14334 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14335 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14340 static PyObject
*_wrap_ART_ERROR_get() {
14345 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14347 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14354 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14355 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14360 static PyObject
*_wrap_ART_QUESTION_get() {
14365 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14367 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14374 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14375 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14380 static PyObject
*_wrap_ART_WARNING_get() {
14385 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14387 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14394 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14395 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14400 static PyObject
*_wrap_ART_INFORMATION_get() {
14405 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14407 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14414 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14415 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14420 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14425 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14427 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14434 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxPyArtProvider
*result
;
14437 char *kwnames
[] = {
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14443 if (!wxPyCheckForApp()) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14457 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14460 PyObject
*arg2
= (PyObject
*) 0 ;
14461 PyObject
*arg3
= (PyObject
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "self",(char *) "_class", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 Py_INCREF(Py_None
); resultobj
= Py_None
;
14488 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "provider", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 wxPyArtProvider::PushProvider(arg1
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14516 char *kwnames
[] = {
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)wxPyArtProvider::PopProvider();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "provider", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14565 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxString
*arg1
= 0 ;
14568 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14569 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14570 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14571 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14573 bool temp1
= False
;
14574 bool temp2
= False
;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 PyObject
* obj2
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "id",(char *) "client",(char *) "size", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14585 arg1
= wxString_in_helper(obj0
);
14586 if (arg1
== NULL
) SWIG_fail
;
14591 arg2
= wxString_in_helper(obj1
);
14592 if (arg2
== NULL
) SWIG_fail
;
14599 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14603 if (!wxPyCheckForApp()) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 wxBitmap
* resultptr
;
14612 resultptr
= new wxBitmap((wxBitmap
&) result
);
14613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14637 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxString
*arg1
= 0 ;
14640 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14641 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14642 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14643 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14645 bool temp1
= False
;
14646 bool temp2
= False
;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 PyObject
* obj2
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "id",(char *) "client",(char *) "size", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14657 arg1
= wxString_in_helper(obj0
);
14658 if (arg1
== NULL
) SWIG_fail
;
14663 arg2
= wxString_in_helper(obj1
);
14664 if (arg2
== NULL
) SWIG_fail
;
14671 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14675 if (!wxPyCheckForApp()) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14683 wxIcon
* resultptr
;
14684 resultptr
= new wxIcon((wxIcon
&) result
);
14685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14709 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 wxPyArtProvider_Destroy(arg1
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 Py_INCREF(Py_None
); resultobj
= Py_None
;
14734 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14737 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14739 return Py_BuildValue((char *)"");
14741 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 Py_INCREF(Py_None
); resultobj
= Py_None
;
14766 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14769 wxConfigBase
*result
;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "config", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14792 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 bool arg1
= (bool) True
;
14795 wxConfigBase
*result
;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "createOnDemand", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14803 arg1
= (bool) SWIG_AsBool(obj0
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14820 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxConfigBase
*result
;
14823 char *kwnames
[] = {
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxConfigBase
*)wxConfigBase::Create();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14842 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 char *kwnames
[] = {
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxConfigBase::DontCreateOnDemand();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14866 wxString
*arg2
= 0 ;
14867 bool temp2
= False
;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "self",(char *) "path", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14878 arg2
= wxString_in_helper(obj1
);
14879 if (arg2
== NULL
) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 (arg1
)->SetPath((wxString
const &)*arg2
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 Py_INCREF(Py_None
); resultobj
= Py_None
;
14904 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14920 result
= (wxString
*) &_result_ref
;
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14930 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14939 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= result
;
14965 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self",(char *) "index", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 arg2
= (long) SWIG_AsLong(obj1
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= result
;
14995 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
;
15021 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "index", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 arg2
= (long) SWIG_AsLong(obj1
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= result
;
15051 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15054 bool arg2
= (bool) False
;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self",(char *) "recursive", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 arg2
= (bool) SWIG_AsBool(obj1
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15083 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15086 bool arg2
= (bool) False
;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self",(char *) "recursive", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 arg2
= (bool) SWIG_AsBool(obj1
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15115 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15118 wxString
*arg2
= 0 ;
15120 bool temp2
= False
;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "name", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 arg2
= wxString_in_helper(obj1
);
15132 if (arg2
== NULL
) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15159 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15162 wxString
*arg2
= 0 ;
15164 bool temp2
= False
;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self",(char *) "name", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 arg2
= wxString_in_helper(obj1
);
15176 if (arg2
== NULL
) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15203 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15206 wxString
*arg2
= 0 ;
15208 bool temp2
= False
;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self",(char *) "name", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 arg2
= wxString_in_helper(obj1
);
15220 if (arg2
== NULL
) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15247 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15250 wxString
*arg2
= 0 ;
15252 bool temp2
= False
;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self",(char *) "name", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 arg2
= wxString_in_helper(obj1
);
15264 if (arg2
== NULL
) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_FromInt((int)result
);
15289 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15292 wxString
*arg2
= 0 ;
15293 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15294 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15296 bool temp2
= False
;
15297 bool temp3
= False
;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 PyObject
* obj2
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 arg2
= wxString_in_helper(obj1
);
15310 if (arg2
== NULL
) SWIG_fail
;
15315 arg3
= wxString_in_helper(obj2
);
15316 if (arg3
== NULL
) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15356 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15359 wxString
*arg2
= 0 ;
15360 long arg3
= (long) 0 ;
15362 bool temp2
= False
;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 arg2
= wxString_in_helper(obj1
);
15375 if (arg2
== NULL
) SWIG_fail
;
15379 arg3
= (long) SWIG_AsLong(obj2
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_FromLong((long)result
);
15404 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15407 wxString
*arg2
= 0 ;
15408 double arg3
= (double) 0.0 ;
15410 bool temp2
= False
;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 PyObject
* obj2
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15422 arg2
= wxString_in_helper(obj1
);
15423 if (arg2
== NULL
) SWIG_fail
;
15427 arg3
= (double) SWIG_AsDouble(obj2
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_FromDouble((double)result
);
15452 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15455 wxString
*arg2
= 0 ;
15456 bool arg3
= (bool) False
;
15458 bool temp2
= False
;
15459 PyObject
* obj0
= 0 ;
15460 PyObject
* obj1
= 0 ;
15461 PyObject
* obj2
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 arg2
= wxString_in_helper(obj1
);
15471 if (arg2
== NULL
) SWIG_fail
;
15475 arg3
= (bool) SWIG_AsBool(obj2
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15502 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15505 wxString
*arg2
= 0 ;
15506 wxString
*arg3
= 0 ;
15508 bool temp2
= False
;
15509 bool temp3
= False
;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 PyObject
* obj2
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self",(char *) "key",(char *) "value", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15521 arg2
= wxString_in_helper(obj1
);
15522 if (arg2
== NULL
) SWIG_fail
;
15526 arg3
= wxString_in_helper(obj2
);
15527 if (arg3
== NULL
) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15565 wxString
*arg2
= 0 ;
15568 bool temp2
= False
;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 PyObject
* obj2
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "key",(char *) "value", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15580 arg2
= wxString_in_helper(obj1
);
15581 if (arg2
== NULL
) SWIG_fail
;
15584 arg3
= (long) SWIG_AsLong(obj2
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15610 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15613 wxString
*arg2
= 0 ;
15616 bool temp2
= False
;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 PyObject
* obj2
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self",(char *) "key",(char *) "value", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 arg2
= wxString_in_helper(obj1
);
15629 if (arg2
== NULL
) SWIG_fail
;
15632 arg3
= (double) SWIG_AsDouble(obj2
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15658 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15661 wxString
*arg2
= 0 ;
15664 bool temp2
= False
;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 PyObject
* obj2
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "key",(char *) "value", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 arg2
= wxString_in_helper(obj1
);
15677 if (arg2
== NULL
) SWIG_fail
;
15680 arg3
= (bool) SWIG_AsBool(obj2
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15709 bool arg2
= (bool) False
;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "currentOnly", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 arg2
= (bool) SWIG_AsBool(obj1
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (bool)(arg1
)->Flush(arg2
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15740 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
;
15742 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15743 wxString
*arg2
= 0 ;
15744 wxString
*arg3
= 0 ;
15746 bool temp2
= False
;
15747 bool temp3
= False
;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 PyObject
* obj2
= 0 ;
15751 char *kwnames
[] = {
15752 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 arg2
= wxString_in_helper(obj1
);
15760 if (arg2
== NULL
) SWIG_fail
;
15764 arg3
= wxString_in_helper(obj2
);
15765 if (arg3
== NULL
) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15800 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15803 wxString
*arg2
= 0 ;
15804 wxString
*arg3
= 0 ;
15806 bool temp2
= False
;
15807 bool temp3
= False
;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 PyObject
* obj2
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15819 arg2
= wxString_in_helper(obj1
);
15820 if (arg2
== NULL
) SWIG_fail
;
15824 arg3
= wxString_in_helper(obj2
);
15825 if (arg3
== NULL
) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15860 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15863 wxString
*arg2
= 0 ;
15864 bool arg3
= (bool) True
;
15866 bool temp2
= False
;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 PyObject
* obj2
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 arg2
= wxString_in_helper(obj1
);
15879 if (arg2
== NULL
) SWIG_fail
;
15883 arg3
= (bool) SWIG_AsBool(obj2
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15910 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15913 wxString
*arg2
= 0 ;
15915 bool temp2
= False
;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "key", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 arg2
= wxString_in_helper(obj1
);
15927 if (arg2
== NULL
) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)(arg1
)->DeleteAll();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15985 bool arg2
= (bool) True
;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "doIt", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 arg2
= (bool) SWIG_AsBool(obj1
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 (arg1
)->SetExpandEnvVars(arg2
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16041 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16044 bool arg2
= (bool) True
;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self",(char *) "doIt", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 arg2
= (bool) SWIG_AsBool(obj1
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 (arg1
)->SetRecordDefaults(arg2
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 Py_INCREF(Py_None
); resultobj
= Py_None
;
16072 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16103 wxString
*arg2
= 0 ;
16105 bool temp2
= False
;
16106 PyObject
* obj0
= 0 ;
16107 PyObject
* obj1
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self",(char *) "str", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 arg2
= wxString_in_helper(obj1
);
16117 if (arg2
== NULL
) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16148 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16180 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16212 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16215 wxString
*arg2
= 0 ;
16216 bool temp2
= False
;
16217 PyObject
* obj0
= 0 ;
16218 PyObject
* obj1
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self",(char *) "appName", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 arg2
= wxString_in_helper(obj1
);
16228 if (arg2
== NULL
) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 (arg1
)->SetAppName((wxString
const &)*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 Py_INCREF(Py_None
); resultobj
= Py_None
;
16253 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16256 wxString
*arg2
= 0 ;
16257 bool temp2
= False
;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "vendorName", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 arg2
= wxString_in_helper(obj1
);
16269 if (arg2
== NULL
) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "style", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16307 arg2
= (long) SWIG_AsLong(obj1
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->SetStyle(arg2
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= SWIG_FromLong((long)result
);
16349 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16352 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16354 return Py_BuildValue((char *)"");
16356 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16359 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16360 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16361 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16362 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16363 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16364 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16365 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16366 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16368 bool temp1
= False
;
16369 bool temp2
= False
;
16370 bool temp3
= False
;
16371 bool temp4
= False
;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 PyObject
* obj3
= 0 ;
16376 PyObject
* obj4
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16384 arg1
= wxString_in_helper(obj0
);
16385 if (arg1
== NULL
) SWIG_fail
;
16391 arg2
= wxString_in_helper(obj1
);
16392 if (arg2
== NULL
) SWIG_fail
;
16398 arg3
= wxString_in_helper(obj2
);
16399 if (arg3
== NULL
) SWIG_fail
;
16405 arg4
= wxString_in_helper(obj3
);
16406 if (arg4
== NULL
) SWIG_fail
;
16411 arg5
= (long) SWIG_AsLong(obj4
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16460 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxConfig
*arg1
= (wxConfig
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16488 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16490 return Py_BuildValue((char *)"");
16492 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16495 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16496 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16497 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16500 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16501 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16502 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16503 wxFileConfig
*result
;
16504 bool temp1
= False
;
16505 bool temp2
= False
;
16506 bool temp3
= False
;
16507 bool temp4
= False
;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 PyObject
* obj2
= 0 ;
16511 PyObject
* obj3
= 0 ;
16512 PyObject
* obj4
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16520 arg1
= wxString_in_helper(obj0
);
16521 if (arg1
== NULL
) SWIG_fail
;
16527 arg2
= wxString_in_helper(obj1
);
16528 if (arg2
== NULL
) SWIG_fail
;
16534 arg3
= wxString_in_helper(obj2
);
16535 if (arg3
== NULL
) SWIG_fail
;
16541 arg4
= wxString_in_helper(obj3
);
16542 if (arg4
== NULL
) SWIG_fail
;
16547 arg5
= (long) SWIG_AsLong(obj4
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16596 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16624 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16626 return Py_BuildValue((char *)"");
16628 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16631 wxString
*arg2
= 0 ;
16632 wxConfigPathChanger
*result
;
16633 bool temp2
= False
;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "config",(char *) "entry", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 arg2
= wxString_in_helper(obj1
);
16645 if (arg2
== NULL
) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16670 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16673 PyObject
* obj0
= 0 ;
16674 char *kwnames
[] = {
16675 (char *) "self", NULL
16678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 Py_INCREF(Py_None
); resultobj
= Py_None
;
16695 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16711 result
= (wxString
*) &_result_ref
;
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16730 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16733 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16735 return Py_BuildValue((char *)"");
16737 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxString
*arg1
= 0 ;
16741 bool temp1
= False
;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "sz", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16749 arg1
= wxString_in_helper(obj0
);
16750 if (arg1
== NULL
) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16781 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16782 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16787 static PyObject
*_wrap_DateFormatStr_get() {
16792 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16794 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16801 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16802 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16807 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16812 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16814 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16821 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16824 PyObject
* obj0
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "country", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16830 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16846 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16849 char *kwnames
[] = {
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (int)wxDateTime::GetCountry();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_FromInt((int)result
);
16868 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 int arg1
= (int) wxDateTime::Country_Default
;
16872 PyObject
* obj0
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "country", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16879 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16898 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 int arg1
= (int) wxDateTime::Gregorian
;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "cal", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16909 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_FromInt((int)result
);
16926 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "year", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16936 arg1
= (int) SWIG_AsInt(obj0
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_FromInt((int)result
);
16952 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 int arg1
= (int) wxDateTime::Gregorian
;
16956 PyObject
* obj0
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "cal", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16963 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= SWIG_FromInt((int)result
);
16980 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 int arg1
= (int) wxDateTime::Inv_Year
;
16983 int arg2
= (int) wxDateTime::Gregorian
;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "year",(char *) "cal", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16993 arg1
= (int) SWIG_AsInt(obj0
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17016 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 int arg1
= (int) wxDateTime::Inv_Year
;
17020 PyObject
* obj0
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "year", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17027 arg1
= (int) SWIG_AsInt(obj0
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (int)wxDateTime::GetCentury(arg1
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_FromInt((int)result
);
17044 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17047 int arg2
= (int) wxDateTime::Gregorian
;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "year",(char *) "cal", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17056 arg1
= (int) SWIG_AsInt(obj0
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= SWIG_FromInt((int)result
);
17076 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17079 int arg2
= (int) wxDateTime::Inv_Year
;
17080 int arg3
= (int) wxDateTime::Gregorian
;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 PyObject
* obj2
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "month",(char *) "year",(char *) "cal", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17090 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 arg2
= (int) SWIG_AsInt(obj1
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_FromInt((int)result
);
17114 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17117 int arg2
= (int) wxDateTime::Name_Full
;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "month",(char *) "flags", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17126 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17152 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17155 int arg2
= (int) wxDateTime::Name_Full
;
17157 PyObject
* obj0
= 0 ;
17158 PyObject
* obj1
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "weekday",(char *) "flags", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17164 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17190 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxString
*arg1
= (wxString
*) 0 ;
17193 wxString
*arg2
= (wxString
*) 0 ;
17194 bool temp1
= False
;
17195 bool temp2
= False
;
17196 PyObject
* obj0
= 0 ;
17197 PyObject
* obj1
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 arg1
= wxString_in_helper(obj0
);
17205 if (arg1
== NULL
) SWIG_fail
;
17209 arg2
= wxString_in_helper(obj1
);
17210 if (arg2
== NULL
) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 int arg1
= (int) wxDateTime::Inv_Year
;
17246 int arg2
= (int) wxDateTime::Country_Default
;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "year",(char *) "country", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 arg1
= (int) SWIG_AsInt(obj0
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17279 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 int arg1
= (int) wxDateTime::Inv_Year
;
17282 int arg2
= (int) wxDateTime::Country_Default
;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "year",(char *) "country", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 arg1
= (int) SWIG_AsInt(obj0
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 wxDateTime
* resultptr
;
17308 resultptr
= new wxDateTime((wxDateTime
&) result
);
17309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17317 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 int arg1
= (int) wxDateTime::Inv_Year
;
17320 int arg2
= (int) wxDateTime::Country_Default
;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "year",(char *) "country", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 arg1
= (int) SWIG_AsInt(obj0
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 wxDateTime
* resultptr
;
17346 resultptr
= new wxDateTime((wxDateTime
&) result
);
17347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17355 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17358 char *kwnames
[] = {
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= wxDateTime::Now();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 wxDateTime
* resultptr
;
17372 resultptr
= new wxDateTime((wxDateTime
&) result
);
17373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17381 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17384 char *kwnames
[] = {
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= wxDateTime::UNow();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 wxDateTime
* resultptr
;
17398 resultptr
= new wxDateTime((wxDateTime
&) result
);
17399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17407 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17410 char *kwnames
[] = {
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= wxDateTime::Today();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 wxDateTime
* resultptr
;
17424 resultptr
= new wxDateTime((wxDateTime
&) result
);
17425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17433 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxDateTime
*result
;
17436 char *kwnames
[] = {
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (wxDateTime
*)new wxDateTime();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17455 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17458 wxDateTime
*result
;
17459 PyObject
* obj0
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "timet", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17465 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (wxDateTime
*)new wxDateTime(arg1
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17481 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17484 wxDateTime
*result
;
17485 PyObject
* obj0
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "jdn", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17491 arg1
= (double) SWIG_AsDouble(obj0
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (wxDateTime
*)new wxDateTime(arg1
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17507 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17510 int arg2
= (int) 0 ;
17511 int arg3
= (int) 0 ;
17512 int arg4
= (int) 0 ;
17513 wxDateTime
*result
;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 PyObject
* obj2
= 0 ;
17517 PyObject
* obj3
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17523 arg1
= (int) SWIG_AsInt(obj0
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 arg2
= (int) SWIG_AsInt(obj1
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 arg3
= (int) SWIG_AsInt(obj2
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 arg4
= (int) SWIG_AsInt(obj3
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17551 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17554 int arg2
= (int) wxDateTime::Inv_Month
;
17555 int arg3
= (int) wxDateTime::Inv_Year
;
17556 int arg4
= (int) 0 ;
17557 int arg5
= (int) 0 ;
17558 int arg6
= (int) 0 ;
17559 int arg7
= (int) 0 ;
17560 wxDateTime
*result
;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 PyObject
* obj5
= 0 ;
17567 PyObject
* obj6
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17573 arg1
= (int) SWIG_AsInt(obj0
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 arg3
= (int) SWIG_AsInt(obj2
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 arg4
= (int) SWIG_AsInt(obj3
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17588 arg5
= (int) SWIG_AsInt(obj4
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 arg6
= (int) SWIG_AsInt(obj5
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 arg7
= (int) SWIG_AsInt(obj6
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17613 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 Py_INCREF(Py_None
); resultobj
= Py_None
;
17638 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17641 wxDateTime
*result
;
17642 PyObject
* obj0
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17654 result
= (wxDateTime
*) &_result_ref
;
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17667 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17671 wxDateTime
*result
;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "timet", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17687 result
= (wxDateTime
*) &_result_ref
;
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17700 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17704 wxDateTime
*result
;
17705 PyObject
* obj0
= 0 ;
17706 PyObject
* obj1
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self",(char *) "jdn", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17714 arg2
= (double) SWIG_AsDouble(obj1
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17720 result
= (wxDateTime
*) &_result_ref
;
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17733 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17737 int arg3
= (int) 0 ;
17738 int arg4
= (int) 0 ;
17739 int arg5
= (int) 0 ;
17740 wxDateTime
*result
;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 PyObject
* obj2
= 0 ;
17744 PyObject
* obj3
= 0 ;
17745 PyObject
* obj4
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17753 arg2
= (int) SWIG_AsInt(obj1
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 arg3
= (int) SWIG_AsInt(obj2
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 arg4
= (int) SWIG_AsInt(obj3
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 arg5
= (int) SWIG_AsInt(obj4
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17771 result
= (wxDateTime
*) &_result_ref
;
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17784 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17788 int arg3
= (int) wxDateTime::Inv_Month
;
17789 int arg4
= (int) wxDateTime::Inv_Year
;
17790 int arg5
= (int) 0 ;
17791 int arg6
= (int) 0 ;
17792 int arg7
= (int) 0 ;
17793 int arg8
= (int) 0 ;
17794 wxDateTime
*result
;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 PyObject
* obj2
= 0 ;
17798 PyObject
* obj3
= 0 ;
17799 PyObject
* obj4
= 0 ;
17800 PyObject
* obj5
= 0 ;
17801 PyObject
* obj6
= 0 ;
17802 PyObject
* obj7
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 arg2
= (int) SWIG_AsInt(obj1
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 arg4
= (int) SWIG_AsInt(obj3
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 arg5
= (int) SWIG_AsInt(obj4
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 arg6
= (int) SWIG_AsInt(obj5
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 arg7
= (int) SWIG_AsInt(obj6
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 arg8
= (int) SWIG_AsInt(obj7
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17840 result
= (wxDateTime
*) &_result_ref
;
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17853 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17856 wxDateTime
*result
;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17869 result
= (wxDateTime
*) &_result_ref
;
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17882 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17886 wxDateTime
*result
;
17887 PyObject
* obj0
= 0 ;
17888 PyObject
* obj1
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "year", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17896 arg2
= (int) SWIG_AsInt(obj1
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17902 result
= (wxDateTime
*) &_result_ref
;
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17915 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17919 wxDateTime
*result
;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self",(char *) "month", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17929 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17935 result
= (wxDateTime
*) &_result_ref
;
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17948 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17952 wxDateTime
*result
;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "day", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 arg2
= (int) SWIG_AsInt(obj1
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17968 result
= (wxDateTime
*) &_result_ref
;
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17981 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17985 wxDateTime
*result
;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "hour", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 arg2
= (int) SWIG_AsInt(obj1
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18001 result
= (wxDateTime
*) &_result_ref
;
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18014 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18018 wxDateTime
*result
;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "minute", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 arg2
= (int) SWIG_AsInt(obj1
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18034 result
= (wxDateTime
*) &_result_ref
;
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18047 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18051 wxDateTime
*result
;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "second", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (int) SWIG_AsInt(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18067 result
= (wxDateTime
*) &_result_ref
;
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18080 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18084 wxDateTime
*result
;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "millisecond", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 arg2
= (int) SWIG_AsInt(obj1
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18100 result
= (wxDateTime
*) &_result_ref
;
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18113 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18117 int arg3
= (int) wxDateTime::Monday_First
;
18118 wxDateTime
*result
;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 PyObject
* obj2
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18139 result
= (wxDateTime
*) &_result_ref
;
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18152 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18156 int arg3
= (int) wxDateTime::Monday_First
;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 PyObject
* obj2
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 wxDateTime
* resultptr
;
18183 resultptr
= new wxDateTime((wxDateTime
&) result
);
18184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18192 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18196 wxDateTime
*result
;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self",(char *) "weekday", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18212 result
= (wxDateTime
*) &_result_ref
;
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18225 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "weekday", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 wxDateTime
* resultptr
;
18250 resultptr
= new wxDateTime((wxDateTime
&) result
);
18251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18259 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18263 wxDateTime
*result
;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "weekday", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18279 result
= (wxDateTime
*) &_result_ref
;
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18292 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self",(char *) "weekday", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 wxDateTime
* resultptr
;
18317 resultptr
= new wxDateTime((wxDateTime
&) result
);
18318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18326 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18330 int arg3
= (int) 1 ;
18331 int arg4
= (int) wxDateTime::Inv_Month
;
18332 int arg5
= (int) wxDateTime::Inv_Year
;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 PyObject
* obj2
= 0 ;
18337 PyObject
* obj3
= 0 ;
18338 PyObject
* obj4
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 arg3
= (int) SWIG_AsInt(obj2
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18357 arg5
= (int) SWIG_AsInt(obj4
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18376 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18377 PyObject
*resultobj
;
18378 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18380 int arg3
= (int) wxDateTime::Inv_Month
;
18381 int arg4
= (int) wxDateTime::Inv_Year
;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 PyObject
* obj2
= 0 ;
18386 PyObject
* obj3
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18394 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18401 arg4
= (int) SWIG_AsInt(obj3
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18420 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18424 int arg3
= (int) wxDateTime::Inv_Month
;
18425 int arg4
= (int) wxDateTime::Inv_Year
;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 PyObject
* obj3
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18438 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 arg4
= (int) SWIG_AsInt(obj3
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 wxDateTime
* resultptr
;
18457 resultptr
= new wxDateTime((wxDateTime
&) result
);
18458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18466 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18470 int arg3
= (int) wxDateTime::Mon
;
18471 int arg4
= (int) wxDateTime::Monday_First
;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 PyObject
* obj2
= 0 ;
18476 PyObject
* obj3
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18484 arg2
= (int) SWIG_AsInt(obj1
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18514 int arg3
= (int) wxDateTime::Mon
;
18515 int arg4
= (int) wxDateTime::Monday_First
;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 PyObject
* obj2
= 0 ;
18520 PyObject
* obj3
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18528 arg2
= (int) SWIG_AsInt(obj1
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 wxDateTime
* resultptr
;
18547 resultptr
= new wxDateTime((wxDateTime
&) result
);
18548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18556 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18559 int arg2
= (int) wxDateTime::Inv_Month
;
18560 int arg3
= (int) wxDateTime::Inv_Year
;
18561 wxDateTime
*result
;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 PyObject
* obj2
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "month",(char *) "year", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18573 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 arg3
= (int) SWIG_AsInt(obj2
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18584 result
= (wxDateTime
*) &_result_ref
;
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18597 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18600 int arg2
= (int) wxDateTime::Inv_Month
;
18601 int arg3
= (int) wxDateTime::Inv_Year
;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 PyObject
* obj2
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self",(char *) "month",(char *) "year", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 arg3
= (int) SWIG_AsInt(obj2
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18629 wxDateTime
* resultptr
;
18630 resultptr
= new wxDateTime((wxDateTime
&) result
);
18631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18639 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18643 wxDateTime
*result
;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self",(char *) "yday", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 arg2
= (int) SWIG_AsInt(obj1
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18659 result
= (wxDateTime
*) &_result_ref
;
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18672 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "yday", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 arg2
= (int) SWIG_AsInt(obj1
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (arg1
)->GetYearDay(arg2
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 wxDateTime
* resultptr
;
18697 resultptr
= new wxDateTime((wxDateTime
&) result
);
18698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18706 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (double)(arg1
)->GetJulianDayNumber();
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_FromDouble((double)result
);
18732 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (double)(arg1
)->GetJDN();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_FromDouble((double)result
);
18758 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_FromDouble((double)result
);
18784 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 result
= (double)(arg1
)->GetMJD();
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= SWIG_FromDouble((double)result
);
18810 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= (double)(arg1
)->GetRataDie();
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_FromDouble((double)result
);
18836 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18839 wxDateTime::TimeZone
*arg2
= 0 ;
18840 bool arg3
= (bool) False
;
18842 bool temp2
= False
;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 PyObject
* obj2
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18858 arg3
= (bool) SWIG_AsBool(obj2
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18869 wxDateTime
* resultptr
;
18870 resultptr
= new wxDateTime((wxDateTime
&) result
);
18871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18874 if (temp2
) delete arg2
;
18879 if (temp2
) delete arg2
;
18885 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18888 wxDateTime::TimeZone
*arg2
= 0 ;
18889 bool arg3
= (bool) False
;
18890 wxDateTime
*result
;
18891 bool temp2
= False
;
18892 PyObject
* obj0
= 0 ;
18893 PyObject
* obj1
= 0 ;
18894 PyObject
* obj2
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18903 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18907 arg3
= (bool) SWIG_AsBool(obj2
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18914 result
= (wxDateTime
*) &_result_ref
;
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18922 if (temp2
) delete arg2
;
18927 if (temp2
) delete arg2
;
18933 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18936 bool arg2
= (bool) False
;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "noDST", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 arg2
= (bool) SWIG_AsBool(obj1
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (arg1
)->ToGMT(arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 wxDateTime
* resultptr
;
18960 resultptr
= new wxDateTime((wxDateTime
&) result
);
18961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18969 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18972 bool arg2
= (bool) False
;
18973 wxDateTime
*result
;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "noDST", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18984 arg2
= (bool) SWIG_AsBool(obj1
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18991 result
= (wxDateTime
*) &_result_ref
;
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19004 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19007 int arg2
= (int) wxDateTime::Country_Default
;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self",(char *) "country", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_FromInt((int)result
);
19036 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19064 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19090 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19093 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19094 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19096 bool temp2
= False
;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "tz", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_FromInt((int)result
);
19121 if (temp2
) delete arg2
;
19126 if (temp2
) delete arg2
;
19132 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19135 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19136 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19138 bool temp2
= False
;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "tz", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_FromInt((int)result
);
19163 if (temp2
) delete arg2
;
19168 if (temp2
) delete arg2
;
19174 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19177 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19178 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19180 bool temp2
= False
;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "tz", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= SWIG_FromInt((int)result
);
19205 if (temp2
) delete arg2
;
19210 if (temp2
) delete arg2
;
19216 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19219 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19220 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19222 bool temp2
= False
;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "tz", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_FromInt((int)result
);
19247 if (temp2
) delete arg2
;
19252 if (temp2
) delete arg2
;
19258 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19261 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19262 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19264 bool temp2
= False
;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "tz", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_FromInt((int)result
);
19289 if (temp2
) delete arg2
;
19294 if (temp2
) delete arg2
;
19300 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19303 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19304 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19306 bool temp2
= False
;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self",(char *) "tz", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19318 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_FromInt((int)result
);
19331 if (temp2
) delete arg2
;
19336 if (temp2
) delete arg2
;
19342 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19345 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19346 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19348 bool temp2
= False
;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "tz", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_FromInt((int)result
);
19373 if (temp2
) delete arg2
;
19378 if (temp2
) delete arg2
;
19384 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19387 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19388 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19390 bool temp2
= False
;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self",(char *) "tz", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= SWIG_FromInt((int)result
);
19415 if (temp2
) delete arg2
;
19420 if (temp2
) delete arg2
;
19426 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19429 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19430 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19432 bool temp2
= False
;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "tz", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19444 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_FromInt((int)result
);
19457 if (temp2
) delete arg2
;
19462 if (temp2
) delete arg2
;
19468 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19471 int arg2
= (int) wxDateTime::Monday_First
;
19472 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19473 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19475 bool temp3
= False
;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 PyObject
* obj2
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "flags",(char *) "tz", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19492 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= SWIG_FromInt((int)result
);
19505 if (temp3
) delete arg3
;
19510 if (temp3
) delete arg3
;
19516 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19519 int arg2
= (int) wxDateTime::Monday_First
;
19520 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19521 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19523 bool temp3
= False
;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 PyObject
* obj2
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "flags",(char *) "tz", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19540 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_FromInt((int)result
);
19553 if (temp3
) delete arg3
;
19558 if (temp3
) delete arg3
;
19564 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19567 int arg2
= (int) wxDateTime::Country_Default
;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self",(char *) "country", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19579 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19598 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19601 wxDateTime
*arg2
= 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "datetime", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19615 if (arg2
== NULL
) {
19616 PyErr_SetString(PyExc_TypeError
,"null reference");
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19635 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19638 wxDateTime
*arg2
= 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "datetime", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19652 if (arg2
== NULL
) {
19653 PyErr_SetString(PyExc_TypeError
,"null reference");
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19672 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19675 wxDateTime
*arg2
= 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "datetime", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19689 if (arg2
== NULL
) {
19690 PyErr_SetString(PyExc_TypeError
,"null reference");
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19709 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19712 wxDateTime
*arg2
= 0 ;
19713 wxDateTime
*arg3
= 0 ;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 PyObject
* obj2
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "t1",(char *) "t2", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19728 if (arg2
== NULL
) {
19729 PyErr_SetString(PyExc_TypeError
,"null reference");
19732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19735 if (arg3
== NULL
) {
19736 PyErr_SetString(PyExc_TypeError
,"null reference");
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19755 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19758 wxDateTime
*arg2
= 0 ;
19759 wxDateTime
*arg3
= 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 PyObject
* obj2
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "t1",(char *) "t2", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19774 if (arg2
== NULL
) {
19775 PyErr_SetString(PyExc_TypeError
,"null reference");
19778 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19781 if (arg3
== NULL
) {
19782 PyErr_SetString(PyExc_TypeError
,"null reference");
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19801 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19804 wxDateTime
*arg2
= 0 ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self",(char *) "dt", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19818 if (arg2
== NULL
) {
19819 PyErr_SetString(PyExc_TypeError
,"null reference");
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19838 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19841 wxDateTime
*arg2
= 0 ;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self",(char *) "dt", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19855 if (arg2
== NULL
) {
19856 PyErr_SetString(PyExc_TypeError
,"null reference");
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19875 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19878 wxDateTime
*arg2
= 0 ;
19879 wxTimeSpan
*arg3
= 0 ;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 PyObject
* obj2
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "dt",(char *) "ts", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19894 if (arg2
== NULL
) {
19895 PyErr_SetString(PyExc_TypeError
,"null reference");
19898 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19901 if (arg3
== NULL
) {
19902 PyErr_SetString(PyExc_TypeError
,"null reference");
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19921 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19924 wxTimeSpan
*arg2
= 0 ;
19925 wxDateTime
*result
;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "diff", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19938 if (arg2
== NULL
) {
19939 PyErr_SetString(PyExc_TypeError
,"null reference");
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19946 result
= (wxDateTime
*) &_result_ref
;
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19959 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19962 wxDateSpan
*arg2
= 0 ;
19963 wxDateTime
*result
;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "diff", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19976 if (arg2
== NULL
) {
19977 PyErr_SetString(PyExc_TypeError
,"null reference");
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19984 result
= (wxDateTime
*) &_result_ref
;
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19997 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20000 wxTimeSpan
*arg2
= 0 ;
20001 wxDateTime
*result
;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self",(char *) "diff", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20014 if (arg2
== NULL
) {
20015 PyErr_SetString(PyExc_TypeError
,"null reference");
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20022 result
= (wxDateTime
*) &_result_ref
;
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20035 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20038 wxDateSpan
*arg2
= 0 ;
20039 wxDateTime
*result
;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "diff", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20052 if (arg2
== NULL
) {
20053 PyErr_SetString(PyExc_TypeError
,"null reference");
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20060 result
= (wxDateTime
*) &_result_ref
;
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20073 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20076 wxDateTime
*arg2
= 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "dt", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20090 if (arg2
== NULL
) {
20091 PyErr_SetString(PyExc_TypeError
,"null reference");
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20102 wxTimeSpan
* resultptr
;
20103 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20112 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20113 PyObject
*resultobj
;
20114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20115 wxTimeSpan
*arg2
= 0 ;
20116 wxDateTime
*result
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20120 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20126 if (arg2
== NULL
) {
20127 PyErr_SetString(PyExc_TypeError
,"null reference");
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20134 result
= (wxDateTime
*) &_result_ref
;
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20147 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20148 PyObject
*resultobj
;
20149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20150 wxDateSpan
*arg2
= 0 ;
20151 wxDateTime
*result
;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20155 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20161 if (arg2
== NULL
) {
20162 PyErr_SetString(PyExc_TypeError
,"null reference");
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20169 result
= (wxDateTime
*) &_result_ref
;
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20182 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20187 argc
= PyObject_Length(args
);
20188 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20189 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20205 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20213 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20221 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20231 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20239 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20244 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20249 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20250 PyObject
*resultobj
;
20251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20252 wxTimeSpan
*arg2
= 0 ;
20253 wxDateTime
*result
;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20257 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20263 if (arg2
== NULL
) {
20264 PyErr_SetString(PyExc_TypeError
,"null reference");
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20271 result
= (wxDateTime
*) &_result_ref
;
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20284 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20285 PyObject
*resultobj
;
20286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20287 wxDateSpan
*arg2
= 0 ;
20288 wxDateTime
*result
;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20292 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20298 if (arg2
== NULL
) {
20299 PyErr_SetString(PyExc_TypeError
,"null reference");
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20306 result
= (wxDateTime
*) &_result_ref
;
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20319 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20324 argc
= PyObject_Length(args
);
20325 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20326 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20332 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20342 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20350 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20358 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20368 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20376 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20381 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20386 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20387 PyObject
*resultobj
;
20388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20389 wxTimeSpan
*arg2
= 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20394 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20400 if (arg2
== NULL
) {
20401 PyErr_SetString(PyExc_TypeError
,"null reference");
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20412 wxDateTime
* resultptr
;
20413 resultptr
= new wxDateTime((wxDateTime
&) result
);
20414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20422 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20423 PyObject
*resultobj
;
20424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20425 wxDateSpan
*arg2
= 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20430 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20436 if (arg2
== NULL
) {
20437 PyErr_SetString(PyExc_TypeError
,"null reference");
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 wxDateTime
* resultptr
;
20449 resultptr
= new wxDateTime((wxDateTime
&) result
);
20450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20458 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20463 argc
= PyObject_Length(args
);
20464 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20465 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20481 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20489 return _wrap_DateTime___add____SWIG_0(self
,args
);
20497 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20507 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20515 return _wrap_DateTime___add____SWIG_1(self
,args
);
20520 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20525 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20526 PyObject
*resultobj
;
20527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20528 wxDateTime
*arg2
= 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20533 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20539 if (arg2
== NULL
) {
20540 PyErr_SetString(PyExc_TypeError
,"null reference");
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 wxTimeSpan
* resultptr
;
20552 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20561 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20562 PyObject
*resultobj
;
20563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20564 wxTimeSpan
*arg2
= 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20569 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20575 if (arg2
== NULL
) {
20576 PyErr_SetString(PyExc_TypeError
,"null reference");
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 wxDateTime
* resultptr
;
20588 resultptr
= new wxDateTime((wxDateTime
&) result
);
20589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20597 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20598 PyObject
*resultobj
;
20599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20600 wxDateSpan
*arg2
= 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20605 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20611 if (arg2
== NULL
) {
20612 PyErr_SetString(PyExc_TypeError
,"null reference");
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 wxDateTime
* resultptr
;
20624 resultptr
= new wxDateTime((wxDateTime
&) result
);
20625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20633 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20638 argc
= PyObject_Length(args
);
20639 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20640 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20646 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20656 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20664 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20672 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20682 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20690 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20698 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20708 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20716 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20721 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20726 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20727 PyObject
*resultobj
;
20728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20729 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20734 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20755 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20756 PyObject
*resultobj
;
20757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20758 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20763 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20784 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20785 PyObject
*resultobj
;
20786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20787 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20792 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20813 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20814 PyObject
*resultobj
;
20815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20816 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20821 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20842 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20843 PyObject
*resultobj
;
20844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20845 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20850 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20871 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20872 PyObject
*resultobj
;
20873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20874 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20879 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20900 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20903 wxString
*arg2
= 0 ;
20905 bool temp2
= False
;
20906 PyObject
* obj0
= 0 ;
20907 PyObject
* obj1
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self",(char *) "date", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 arg2
= wxString_in_helper(obj1
);
20917 if (arg2
== NULL
) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_FromInt((int)result
);
20942 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20945 wxString
*arg2
= 0 ;
20946 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20948 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20949 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20951 bool temp2
= False
;
20952 bool temp3
= False
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 PyObject
* obj2
= 0 ;
20956 PyObject
* obj3
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 arg2
= wxString_in_helper(obj1
);
20966 if (arg2
== NULL
) SWIG_fail
;
20971 arg3
= wxString_in_helper(obj2
);
20972 if (arg3
== NULL
) SWIG_fail
;
20977 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20980 if (arg4
== NULL
) {
20981 PyErr_SetString(PyExc_TypeError
,"null reference");
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_FromInt((int)result
);
21015 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21018 wxString
*arg2
= 0 ;
21020 bool temp2
= False
;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "datetime", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 arg2
= wxString_in_helper(obj1
);
21032 if (arg2
== NULL
) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= SWIG_FromInt((int)result
);
21057 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21060 wxString
*arg2
= 0 ;
21062 bool temp2
= False
;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "date", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 arg2
= wxString_in_helper(obj1
);
21074 if (arg2
== NULL
) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_FromInt((int)result
);
21099 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21102 wxString
*arg2
= 0 ;
21104 bool temp2
= False
;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self",(char *) "time", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 arg2
= wxString_in_helper(obj1
);
21116 if (arg2
== NULL
) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_FromInt((int)result
);
21141 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21144 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21145 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21146 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21147 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21149 bool temp2
= False
;
21150 bool temp3
= False
;
21151 PyObject
* obj0
= 0 ;
21152 PyObject
* obj1
= 0 ;
21153 PyObject
* obj2
= 0 ;
21154 char *kwnames
[] = {
21155 (char *) "self",(char *) "format",(char *) "tz", NULL
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21163 arg2
= wxString_in_helper(obj1
);
21164 if (arg2
== NULL
) SWIG_fail
;
21170 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21193 if (temp3
) delete arg3
;
21202 if (temp3
) delete arg3
;
21208 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21212 PyObject
* obj0
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21240 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21272 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21304 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21336 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21339 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21341 return Py_BuildValue((char *)"");
21343 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21347 PyObject
* obj0
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "sec", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21353 arg1
= (long) SWIG_AsLong(obj0
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= wxTimeSpan::Seconds(arg1
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 wxTimeSpan
* resultptr
;
21364 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21373 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21376 char *kwnames
[] = {
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= wxTimeSpan::Second();
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 wxTimeSpan
* resultptr
;
21390 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21399 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "min", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21409 arg1
= (long) SWIG_AsLong(obj0
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= wxTimeSpan::Minutes(arg1
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21419 wxTimeSpan
* resultptr
;
21420 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21429 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21432 char *kwnames
[] = {
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= wxTimeSpan::Minute();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 wxTimeSpan
* resultptr
;
21446 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21455 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21459 PyObject
* obj0
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "hours", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21465 arg1
= (long) SWIG_AsLong(obj0
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= wxTimeSpan::Hours(arg1
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21475 wxTimeSpan
* resultptr
;
21476 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21485 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21488 char *kwnames
[] = {
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= wxTimeSpan::Hour();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 wxTimeSpan
* resultptr
;
21502 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21511 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21515 PyObject
* obj0
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "days", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21521 arg1
= (long) SWIG_AsLong(obj0
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= wxTimeSpan::Days(arg1
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 wxTimeSpan
* resultptr
;
21532 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21541 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21544 char *kwnames
[] = {
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= wxTimeSpan::Day();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 wxTimeSpan
* resultptr
;
21558 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21567 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21571 PyObject
* obj0
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "days", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21577 arg1
= (long) SWIG_AsLong(obj0
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= wxTimeSpan::Weeks(arg1
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 wxTimeSpan
* resultptr
;
21588 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21597 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21600 char *kwnames
[] = {
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= wxTimeSpan::Week();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21613 wxTimeSpan
* resultptr
;
21614 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21623 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 long arg1
= (long) 0 ;
21626 long arg2
= (long) 0 ;
21627 long arg3
= (long) 0 ;
21628 long arg4
= (long) 0 ;
21629 wxTimeSpan
*result
;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 PyObject
* obj3
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21640 arg1
= (long) SWIG_AsLong(obj0
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21644 arg2
= (long) SWIG_AsLong(obj1
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21648 arg3
= (long) SWIG_AsLong(obj2
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21652 arg4
= (long) SWIG_AsLong(obj3
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21669 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 Py_INCREF(Py_None
); resultobj
= Py_None
;
21694 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21697 wxTimeSpan
*arg2
= 0 ;
21698 wxTimeSpan
*result
;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "diff", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21711 if (arg2
== NULL
) {
21712 PyErr_SetString(PyExc_TypeError
,"null reference");
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21719 result
= (wxTimeSpan
*) &_result_ref
;
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21732 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21735 wxTimeSpan
*arg2
= 0 ;
21736 wxTimeSpan
*result
;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "diff", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21749 if (arg2
== NULL
) {
21750 PyErr_SetString(PyExc_TypeError
,"null reference");
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21757 result
= (wxTimeSpan
*) &_result_ref
;
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21770 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21774 wxTimeSpan
*result
;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "n", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21784 arg2
= (int) SWIG_AsInt(obj1
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21790 result
= (wxTimeSpan
*) &_result_ref
;
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21803 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21806 wxTimeSpan
*result
;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
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_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 wxTimeSpan
* resultptr
;
21853 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21862 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21865 wxTimeSpan
*arg2
= 0 ;
21866 wxTimeSpan
*result
;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "diff", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21879 if (arg2
== NULL
) {
21880 PyErr_SetString(PyExc_TypeError
,"null reference");
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21887 result
= (wxTimeSpan
*) &_result_ref
;
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21900 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21903 wxTimeSpan
*arg2
= 0 ;
21904 wxTimeSpan
*result
;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "diff", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21917 if (arg2
== NULL
) {
21918 PyErr_SetString(PyExc_TypeError
,"null reference");
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21925 result
= (wxTimeSpan
*) &_result_ref
;
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21938 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21942 wxTimeSpan
*result
;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 char *kwnames
[] = {
21946 (char *) "self",(char *) "n", NULL
21949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21952 arg2
= (int) SWIG_AsInt(obj1
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21958 result
= (wxTimeSpan
*) &_result_ref
;
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21971 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21974 wxTimeSpan
*result
;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21987 result
= (wxTimeSpan
*) &_result_ref
;
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22000 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22003 wxTimeSpan
*arg2
= 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "other", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22017 if (arg2
== NULL
) {
22018 PyErr_SetString(PyExc_TypeError
,"null reference");
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 wxTimeSpan
* resultptr
;
22030 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22039 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22042 wxTimeSpan
*arg2
= 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "other", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22056 if (arg2
== NULL
) {
22057 PyErr_SetString(PyExc_TypeError
,"null reference");
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*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___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "n", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 arg2
= (int) SWIG_AsInt(obj1
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= wxTimeSpan___mul__(arg1
,arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 wxTimeSpan
* resultptr
;
22103 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22112 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "n", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 arg2
= (int) SWIG_AsInt(obj1
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 wxTimeSpan
* resultptr
;
22137 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22146 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22149 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "other", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22178 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22181 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "other", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22210 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22213 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "self",(char *) "other", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22242 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22245 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "other", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22274 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22277 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "other", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22306 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22309 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "other", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22338 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22366 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22394 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22422 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22425 wxTimeSpan
*arg2
= 0 ;
22427 PyObject
* obj0
= 0 ;
22428 PyObject
* obj1
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "self",(char *) "ts", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22439 if (arg2
== NULL
) {
22440 PyErr_SetString(PyExc_TypeError
,"null reference");
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22459 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22462 wxTimeSpan
*arg2
= 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "ts", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22476 if (arg2
== NULL
) {
22477 PyErr_SetString(PyExc_TypeError
,"null reference");
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22496 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22499 wxTimeSpan
*arg2
= 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "t", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22513 if (arg2
== NULL
) {
22514 PyErr_SetString(PyExc_TypeError
,"null reference");
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22533 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_FromInt((int)result
);
22559 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_FromInt((int)result
);
22585 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_FromInt((int)result
);
22611 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_FromInt((int)result
);
22637 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22658 hi
= PyLong_FromLong( (&result
)->GetHi() );
22659 lo
= PyLong_FromLong( (&result
)->GetLo() );
22660 shifter
= PyLong_FromLong(32);
22661 shifted
= PyNumber_Lshift(hi
, shifter
);
22662 resultobj
= PyNumber_Or(shifted
, lo
);
22665 Py_DECREF(shifter
);
22666 Py_DECREF(shifted
);
22674 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22694 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22695 hi
= PyLong_FromLong( (&result
)->GetHi() );
22696 lo
= PyLong_FromLong( (&result
)->GetLo() );
22697 shifter
= PyLong_FromLong(32);
22698 shifted
= PyNumber_Lshift(hi
, shifter
);
22699 resultobj
= PyNumber_Or(shifted
, lo
);
22702 Py_DECREF(shifter
);
22703 Py_DECREF(shifted
);
22711 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22714 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22715 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22717 bool temp2
= False
;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self",(char *) "format", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 arg2
= wxString_in_helper(obj1
);
22730 if (arg2
== NULL
) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22762 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22765 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22767 return Py_BuildValue((char *)"");
22769 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 int arg1
= (int) 0 ;
22772 int arg2
= (int) 0 ;
22773 int arg3
= (int) 0 ;
22774 int arg4
= (int) 0 ;
22775 wxDateSpan
*result
;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 PyObject
* obj2
= 0 ;
22779 PyObject
* obj3
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22786 arg1
= (int) SWIG_AsInt(obj0
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 arg2
= (int) SWIG_AsInt(obj1
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22794 arg3
= (int) SWIG_AsInt(obj2
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22798 arg4
= (int) SWIG_AsInt(obj3
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22815 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 Py_INCREF(Py_None
); resultobj
= Py_None
;
22840 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22844 PyObject
* obj0
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "days", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22850 arg1
= (int) SWIG_AsInt(obj0
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= wxDateSpan::Days(arg1
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 wxDateSpan
* resultptr
;
22861 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22870 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22873 char *kwnames
[] = {
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= wxDateSpan::Day();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 wxDateSpan
* resultptr
;
22887 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22896 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "weeks", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22906 arg1
= (int) SWIG_AsInt(obj0
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= wxDateSpan::Weeks(arg1
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22916 wxDateSpan
* resultptr
;
22917 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22926 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22929 char *kwnames
[] = {
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= wxDateSpan::Week();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 wxDateSpan
* resultptr
;
22943 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22952 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22956 PyObject
* obj0
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "mon", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22962 arg1
= (int) SWIG_AsInt(obj0
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= wxDateSpan::Months(arg1
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 wxDateSpan
* resultptr
;
22973 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22982 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22985 char *kwnames
[] = {
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= wxDateSpan::Month();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 wxDateSpan
* resultptr
;
22999 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23008 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23012 PyObject
* obj0
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "years", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23018 arg1
= (int) SWIG_AsInt(obj0
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= wxDateSpan::Years(arg1
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23028 wxDateSpan
* resultptr
;
23029 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23038 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23041 char *kwnames
[] = {
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= wxDateSpan::Year();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23054 wxDateSpan
* resultptr
;
23055 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23064 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23068 wxDateSpan
*result
;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "n", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 arg2
= (int) SWIG_AsInt(obj1
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23084 result
= (wxDateSpan
*) &_result_ref
;
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23097 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23101 wxDateSpan
*result
;
23102 PyObject
* obj0
= 0 ;
23103 PyObject
* obj1
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self",(char *) "n", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 arg2
= (int) SWIG_AsInt(obj1
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23117 result
= (wxDateSpan
*) &_result_ref
;
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23130 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23134 wxDateSpan
*result
;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self",(char *) "n", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 arg2
= (int) SWIG_AsInt(obj1
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23150 result
= (wxDateSpan
*) &_result_ref
;
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23163 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23167 wxDateSpan
*result
;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "n", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 arg2
= (int) SWIG_AsInt(obj1
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23183 result
= (wxDateSpan
*) &_result_ref
;
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23196 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23200 PyObject
* obj0
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_FromInt((int)result
);
23222 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_FromInt((int)result
);
23248 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= SWIG_FromInt((int)result
);
23274 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_FromInt((int)result
);
23300 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_FromInt((int)result
);
23326 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23329 wxDateSpan
*arg2
= 0 ;
23330 wxDateSpan
*result
;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "other", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23343 if (arg2
== NULL
) {
23344 PyErr_SetString(PyExc_TypeError
,"null reference");
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23351 result
= (wxDateSpan
*) &_result_ref
;
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23364 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23367 wxDateSpan
*arg2
= 0 ;
23368 wxDateSpan
*result
;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "other", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23381 if (arg2
== NULL
) {
23382 PyErr_SetString(PyExc_TypeError
,"null reference");
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23389 result
= (wxDateSpan
*) &_result_ref
;
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23402 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23405 wxDateSpan
*result
;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23418 result
= (wxDateSpan
*) &_result_ref
;
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23431 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23435 wxDateSpan
*result
;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "factor", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23445 arg2
= (int) SWIG_AsInt(obj1
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23451 result
= (wxDateSpan
*) &_result_ref
;
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23464 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23467 wxDateSpan
*arg2
= 0 ;
23468 wxDateSpan
*result
;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char *kwnames
[] = {
23472 (char *) "self",(char *) "other", NULL
23475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23481 if (arg2
== NULL
) {
23482 PyErr_SetString(PyExc_TypeError
,"null reference");
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23489 result
= (wxDateSpan
*) &_result_ref
;
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23502 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23505 wxDateSpan
*arg2
= 0 ;
23506 wxDateSpan
*result
;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "other", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23519 if (arg2
== NULL
) {
23520 PyErr_SetString(PyExc_TypeError
,"null reference");
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23527 result
= (wxDateSpan
*) &_result_ref
;
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23540 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23543 wxDateSpan
*result
;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23556 result
= (wxDateSpan
*) &_result_ref
;
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23569 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23573 wxDateSpan
*result
;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self",(char *) "factor", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 arg2
= (int) SWIG_AsInt(obj1
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23589 result
= (wxDateSpan
*) &_result_ref
;
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23602 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23605 wxDateSpan
*arg2
= 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "other", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23619 if (arg2
== NULL
) {
23620 PyErr_SetString(PyExc_TypeError
,"null reference");
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 wxDateSpan
* resultptr
;
23632 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23641 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23644 wxDateSpan
*arg2
= 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self",(char *) "other", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23658 if (arg2
== NULL
) {
23659 PyErr_SetString(PyExc_TypeError
,"null reference");
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*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___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "n", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 arg2
= (int) SWIG_AsInt(obj1
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= wxDateSpan___mul__(arg1
,arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23704 wxDateSpan
* resultptr
;
23705 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23714 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "n", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 arg2
= (int) SWIG_AsInt(obj1
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= wxDateSpan___rmul__(arg1
,arg2
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 wxDateSpan
* resultptr
;
23739 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23748 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23751 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "other", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23780 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23783 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self",(char *) "other", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23812 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23815 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23817 return Py_BuildValue((char *)"");
23819 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23822 char *kwnames
[] = {
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (long)wxGetLocalTime();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_FromLong((long)result
);
23841 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23844 char *kwnames
[] = {
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (long)wxGetUTCTime();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= SWIG_FromLong((long)result
);
23863 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23866 char *kwnames
[] = {
23870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (long)wxGetCurrentTime();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_FromLong((long)result
);
23885 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23888 char *kwnames
[] = {
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= wxGetLocalTimeMillis();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23902 hi
= PyLong_FromLong( (&result
)->GetHi() );
23903 lo
= PyLong_FromLong( (&result
)->GetLo() );
23904 shifter
= PyLong_FromLong(32);
23905 shifted
= PyNumber_Lshift(hi
, shifter
);
23906 resultobj
= PyNumber_Or(shifted
, lo
);
23909 Py_DECREF(shifter
);
23910 Py_DECREF(shifted
);
23918 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23919 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23924 static PyObject
*_wrap_DefaultDateTime_get() {
23927 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23932 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23935 wxDataFormat
*result
;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "type", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23942 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23958 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxString
*arg1
= 0 ;
23961 wxDataFormat
*result
;
23962 bool temp1
= False
;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "format", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23970 arg1
= wxString_in_helper(obj0
);
23971 if (arg1
== NULL
) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23996 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 Py_INCREF(Py_None
); resultobj
= Py_None
;
24021 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24022 PyObject
*resultobj
;
24023 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24029 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24050 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24051 PyObject
*resultobj
;
24052 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24058 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24079 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24080 PyObject
*resultobj
;
24081 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24082 wxDataFormat
*arg2
= 0 ;
24084 PyObject
* obj0
= 0 ;
24085 PyObject
* obj1
= 0 ;
24087 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24093 if (arg2
== NULL
) {
24094 PyErr_SetString(PyExc_TypeError
,"null reference");
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24113 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24118 argc
= PyObject_Length(args
);
24119 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24120 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24126 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24136 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24144 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24152 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24160 _v
= SWIG_CheckInt(argv
[1]);
24162 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24167 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24172 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24173 PyObject
*resultobj
;
24174 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24175 wxDataFormat
*arg2
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24180 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24186 if (arg2
== NULL
) {
24187 PyErr_SetString(PyExc_TypeError
,"null reference");
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24206 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24211 argc
= PyObject_Length(args
);
24212 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24213 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24229 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24237 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24245 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24253 _v
= SWIG_CheckInt(argv
[1]);
24255 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24260 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24265 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "format", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24278 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 (arg1
)->SetType((wxDataFormatId
)arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 Py_INCREF(Py_None
); resultobj
= Py_None
;
24294 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_FromInt((int)result
);
24320 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= ((wxDataFormat
const *)arg1
)->GetId();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24352 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24355 wxString
*arg2
= 0 ;
24356 bool temp2
= False
;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self",(char *) "format", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 arg2
= wxString_in_helper(obj1
);
24368 if (arg2
== NULL
) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 (arg1
)->SetId((wxString
const &)*arg2
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 Py_INCREF(Py_None
); resultobj
= Py_None
;
24393 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24396 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24398 return Py_BuildValue((char *)"");
24400 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24401 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24406 static PyObject
*_wrap_FormatInvalid_get() {
24409 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24414 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24417 PyObject
* obj0
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 Py_INCREF(Py_None
); resultobj
= Py_None
;
24439 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24442 int arg2
= (int) wxDataObject::Get
;
24443 SwigValueWrapper
< wxDataFormat
> result
;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "dir", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 wxDataFormat
* resultptr
;
24466 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24475 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24478 int arg2
= (int) wxDataObject::Get
;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "dir", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24507 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24510 wxDataFormat
*arg2
= 0 ;
24511 int arg3
= (int) wxDataObject::Get
;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 PyObject
* obj2
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self",(char *) "format",(char *) "dir", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24526 if (arg2
== NULL
) {
24527 PyErr_SetString(PyExc_TypeError
,"null reference");
24531 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24550 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24553 wxDataFormat
*arg2
= 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "format", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24567 if (arg2
== NULL
) {
24568 PyErr_SetString(PyExc_TypeError
,"null reference");
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24585 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24588 int arg2
= (int) wxDataObject::Get
;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 char *kwnames
[] = {
24593 (char *) "self",(char *) "dir", NULL
24596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24600 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= result
;
24617 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24620 wxDataFormat
*arg2
= 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "format", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24634 if (arg2
== NULL
) {
24635 PyErr_SetString(PyExc_TypeError
,"null reference");
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= result
;
24652 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24655 wxDataFormat
*arg2
= 0 ;
24656 PyObject
*arg3
= (PyObject
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 PyObject
* obj2
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "format",(char *) "data", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24671 if (arg2
== NULL
) {
24672 PyErr_SetString(PyExc_TypeError
,"null reference");
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24692 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24695 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24697 return Py_BuildValue((char *)"");
24699 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24702 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24703 wxDataObjectSimple
*result
;
24704 PyObject
* obj0
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "format", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24714 if (arg1
== NULL
) {
24715 PyErr_SetString(PyExc_TypeError
,"null reference");
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24733 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24736 wxDataFormat
*result
;
24737 PyObject
* obj0
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24749 result
= (wxDataFormat
*) &_result_ref
;
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24762 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24765 wxDataFormat
*arg2
= 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "format", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24778 if (arg2
== NULL
) {
24779 PyErr_SetString(PyExc_TypeError
,"null reference");
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 Py_INCREF(Py_None
); resultobj
= Py_None
;
24796 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24800 PyObject
* obj0
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24822 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= result
;
24848 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24851 PyObject
*arg2
= (PyObject
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self",(char *) "data", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24882 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24884 return Py_BuildValue((char *)"");
24886 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24889 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24890 wxPyDataObjectSimple
*result
;
24891 PyObject
* obj0
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "format", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24901 if (arg1
== NULL
) {
24902 PyErr_SetString(PyExc_TypeError
,"null reference");
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24920 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24923 PyObject
*arg2
= (PyObject
*) 0 ;
24924 PyObject
*arg3
= (PyObject
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 PyObject
* obj2
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "self",(char *) "_class", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24954 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24956 return Py_BuildValue((char *)"");
24958 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxDataObjectComposite
*result
;
24961 char *kwnames
[] = {
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24980 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24983 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24984 bool arg3
= (bool) False
;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 PyObject
* obj2
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24996 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24998 arg3
= (bool) SWIG_AsBool(obj2
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 (arg1
)->Add(arg2
,arg3
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 Py_INCREF(Py_None
); resultobj
= Py_None
;
25015 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25018 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25020 return Py_BuildValue((char *)"");
25022 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
;
25024 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25025 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25026 wxTextDataObject
*result
;
25027 bool temp1
= False
;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "text", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25036 arg1
= wxString_in_helper(obj0
);
25037 if (arg1
== NULL
) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25063 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (size_t)(arg1
)->GetTextLength();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25089 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25093 PyObject
* obj0
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (arg1
)->GetText();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25121 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25124 wxString
*arg2
= 0 ;
25125 bool temp2
= False
;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self",(char *) "text", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 arg2
= wxString_in_helper(obj1
);
25137 if (arg2
== NULL
) SWIG_fail
;
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 (arg1
)->SetText((wxString
const &)*arg2
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 Py_INCREF(Py_None
); resultobj
= Py_None
;
25162 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25165 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25167 return Py_BuildValue((char *)"");
25169 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25172 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25173 wxPyTextDataObject
*result
;
25174 bool temp1
= False
;
25175 PyObject
* obj0
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "text", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25183 arg1
= wxString_in_helper(obj0
);
25184 if (arg1
== NULL
) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25210 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25213 PyObject
*arg2
= (PyObject
*) 0 ;
25214 PyObject
*arg3
= (PyObject
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 PyObject
* obj2
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "self",(char *) "self",(char *) "_class", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 Py_INCREF(Py_None
); resultobj
= Py_None
;
25241 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25244 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25246 return Py_BuildValue((char *)"");
25248 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25251 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25252 wxBitmapDataObject
*result
;
25253 PyObject
* obj0
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "bitmap", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25263 if (arg1
== NULL
) {
25264 PyErr_SetString(PyExc_TypeError
,"null reference");
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25282 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 wxBitmap
* resultptr
;
25303 resultptr
= new wxBitmap((wxBitmap
&) result
);
25304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25312 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25315 wxBitmap
*arg2
= 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "bitmap", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25328 if (arg2
== NULL
) {
25329 PyErr_SetString(PyExc_TypeError
,"null reference");
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25349 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25351 return Py_BuildValue((char *)"");
25353 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25356 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25357 wxPyBitmapDataObject
*result
;
25358 PyObject
* obj0
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "bitmap", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25368 if (arg1
== NULL
) {
25369 PyErr_SetString(PyExc_TypeError
,"null reference");
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25387 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25390 PyObject
*arg2
= (PyObject
*) 0 ;
25391 PyObject
*arg3
= (PyObject
*) 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 PyObject
* obj2
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self",(char *) "self",(char *) "_class", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25421 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25423 return Py_BuildValue((char *)"");
25425 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
;
25427 wxFileDataObject
*result
;
25428 char *kwnames
[] = {
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (wxFileDataObject
*)new wxFileDataObject();
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25447 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
;
25449 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25450 wxArrayString
*result
;
25451 PyObject
* obj0
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25463 result
= (wxArrayString
*) &_result_ref
;
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= wxArrayString2PyList_helper(*result
);
25478 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25481 wxString
*arg2
= 0 ;
25482 bool temp2
= False
;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self",(char *) "filename", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 arg2
= wxString_in_helper(obj1
);
25494 if (arg2
== NULL
) SWIG_fail
;
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 (arg1
)->AddFile((wxString
const &)*arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 Py_INCREF(Py_None
); resultobj
= Py_None
;
25519 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25522 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25524 return Py_BuildValue((char *)"");
25526 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
;
25528 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25529 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25530 wxCustomDataObject
*result
;
25531 PyObject
* obj0
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "format", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25541 if (arg1
== NULL
) {
25542 PyErr_SetString(PyExc_TypeError
,"null reference");
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25560 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25563 PyObject
*arg2
= (PyObject
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self",(char *) "data", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25591 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (size_t)(arg1
)->GetSize();
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25617 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= result
;
25643 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25646 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25648 return Py_BuildValue((char *)"");
25650 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxURLDataObject
*result
;
25653 char *kwnames
[] = {
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (wxURLDataObject
*)new wxURLDataObject();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25672 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25676 PyObject
* obj0
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (arg1
)->GetURL();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25704 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25707 wxString
*arg2
= 0 ;
25708 bool temp2
= False
;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "url", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25719 arg2
= wxString_in_helper(obj1
);
25720 if (arg2
== NULL
) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 (arg1
)->SetURL((wxString
const &)*arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 Py_INCREF(Py_None
); resultobj
= Py_None
;
25745 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25748 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25750 return Py_BuildValue((char *)"");
25752 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxMetafileDataObject
*result
;
25755 char *kwnames
[] = {
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25774 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25777 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25779 return Py_BuildValue((char *)"");
25781 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25785 PyObject
* obj0
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "res", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25791 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25809 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxWindow
*arg1
= (wxWindow
*) 0 ;
25812 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25813 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25814 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25815 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25816 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25817 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25818 wxPyDropSource
*result
;
25819 PyObject
* obj0
= 0 ;
25820 PyObject
* obj1
= 0 ;
25821 PyObject
* obj2
= 0 ;
25822 PyObject
* obj3
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25834 if (arg2
== NULL
) {
25835 PyErr_SetString(PyExc_TypeError
,"null reference");
25840 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25843 if (arg3
== NULL
) {
25844 PyErr_SetString(PyExc_TypeError
,"null reference");
25849 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25852 if (arg4
== NULL
) {
25853 PyErr_SetString(PyExc_TypeError
,"null reference");
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25871 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25874 PyObject
*arg2
= (PyObject
*) 0 ;
25875 PyObject
*arg3
= (PyObject
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 PyObject
* obj3
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 arg4
= (int) SWIG_AsInt(obj3
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25909 PyObject
* obj0
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 Py_INCREF(Py_None
); resultobj
= Py_None
;
25931 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25934 wxDataObject
*arg2
= 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "data", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25947 if (arg2
== NULL
) {
25948 PyErr_SetString(PyExc_TypeError
,"null reference");
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->SetData(*arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 Py_INCREF(Py_None
); resultobj
= Py_None
;
25965 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25968 wxDataObject
*result
;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25991 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25995 wxCursor
*arg3
= 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 PyObject
* obj2
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self",(char *) "res",(char *) "cursor", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26008 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26011 if (arg3
== NULL
) {
26012 PyErr_SetString(PyExc_TypeError
,"null reference");
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 Py_INCREF(Py_None
); resultobj
= Py_None
;
26029 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26032 int arg2
= (int) wxDrag_CopyOnly
;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "flags", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 arg2
= (int) SWIG_AsInt(obj1
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (int)(arg1
)->DoDragDrop(arg2
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= SWIG_FromInt((int)result
);
26061 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
;
26063 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "effect", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26075 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26093 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26096 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26098 return Py_BuildValue((char *)"");
26100 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26103 wxPyDropTarget
*result
;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "dataObject", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26112 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26128 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26131 PyObject
*arg2
= (PyObject
*) 0 ;
26132 PyObject
*arg3
= (PyObject
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 PyObject
* obj2
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self",(char *) "self",(char *) "_class", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 Py_INCREF(Py_None
); resultobj
= Py_None
;
26159 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26162 PyObject
* obj0
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 Py_INCREF(Py_None
); resultobj
= Py_None
;
26184 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26187 wxDataObject
*result
;
26188 PyObject
* obj0
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26210 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
;
26212 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26213 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 PyObject
* obj1
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "dataObject", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26224 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->SetDataObject(arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 PyObject
* obj2
= 0 ;
26249 PyObject
* obj3
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 arg2
= (int) SWIG_AsInt(obj1
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26259 arg3
= (int) SWIG_AsInt(obj2
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26261 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_FromInt((int)result
);
26277 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 PyObject
* obj2
= 0 ;
26287 PyObject
* obj3
= 0 ;
26288 char *kwnames
[] = {
26289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26295 arg2
= (int) SWIG_AsInt(obj1
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26297 arg3
= (int) SWIG_AsInt(obj2
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26299 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_FromInt((int)result
);
26315 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->base_OnLeave();
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 Py_INCREF(Py_None
); resultobj
= Py_None
;
26340 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 PyObject
* obj2
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "x",(char *) "y", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 arg2
= (int) SWIG_AsInt(obj1
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26358 arg3
= (int) SWIG_AsInt(obj2
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26376 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 result
= (bool)(arg1
)->GetData();
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26404 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26407 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26409 return Py_BuildValue((char *)"");
26411 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyTextDropTarget
*result
;
26414 char *kwnames
[] = {
26418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26433 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26436 PyObject
*arg2
= (PyObject
*) 0 ;
26437 PyObject
*arg3
= (PyObject
*) 0 ;
26438 PyObject
* obj0
= 0 ;
26439 PyObject
* obj1
= 0 ;
26440 PyObject
* obj2
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self",(char *) "self",(char *) "_class", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 PyObject
* obj2
= 0 ;
26474 PyObject
* obj3
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26482 arg2
= (int) SWIG_AsInt(obj1
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26484 arg3
= (int) SWIG_AsInt(obj2
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26486 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_FromInt((int)result
);
26502 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 PyObject
* obj2
= 0 ;
26512 PyObject
* obj3
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26520 arg2
= (int) SWIG_AsInt(obj1
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26522 arg3
= (int) SWIG_AsInt(obj2
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26524 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= SWIG_FromInt((int)result
);
26540 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 (arg1
)->base_OnLeave();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 Py_INCREF(Py_None
); resultobj
= Py_None
;
26565 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 PyObject
* obj2
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "x",(char *) "y", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 arg2
= (int) SWIG_AsInt(obj1
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26583 arg3
= (int) SWIG_AsInt(obj2
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26601 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 PyObject
* obj2
= 0 ;
26611 PyObject
* obj3
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 arg2
= (int) SWIG_AsInt(obj1
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26621 arg3
= (int) SWIG_AsInt(obj2
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26623 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_FromInt((int)result
);
26639 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26642 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26644 return Py_BuildValue((char *)"");
26646 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
;
26648 wxPyFileDropTarget
*result
;
26649 char *kwnames
[] = {
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26668 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26671 PyObject
*arg2
= (PyObject
*) 0 ;
26672 PyObject
*arg3
= (PyObject
*) 0 ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 PyObject
* obj2
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "self",(char *) "_class", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 Py_INCREF(Py_None
); resultobj
= Py_None
;
26699 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 PyObject
* obj2
= 0 ;
26709 PyObject
* obj3
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26717 arg2
= (int) SWIG_AsInt(obj1
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26719 arg3
= (int) SWIG_AsInt(obj2
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26721 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_FromInt((int)result
);
26737 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 PyObject
* obj3
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26755 arg2
= (int) SWIG_AsInt(obj1
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26757 arg3
= (int) SWIG_AsInt(obj2
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26759 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_FromInt((int)result
);
26775 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 (arg1
)->base_OnLeave();
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 PyObject
* obj2
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "x",(char *) "y", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26816 arg2
= (int) SWIG_AsInt(obj1
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26818 arg3
= (int) SWIG_AsInt(obj2
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26836 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 PyObject
* obj1
= 0 ;
26845 PyObject
* obj2
= 0 ;
26846 PyObject
* obj3
= 0 ;
26847 char *kwnames
[] = {
26848 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26854 arg2
= (int) SWIG_AsInt(obj1
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26856 arg3
= (int) SWIG_AsInt(obj2
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26858 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_FromInt((int)result
);
26874 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26877 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26879 return Py_BuildValue((char *)"");
26881 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxClipboard
*result
;
26884 char *kwnames
[] = {
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (wxClipboard
*)new wxClipboard();
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26903 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 Py_INCREF(Py_None
); resultobj
= Py_None
;
26928 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
;
26930 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (bool)(arg1
)->Open();
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26956 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26959 PyObject
* obj0
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 Py_INCREF(Py_None
); resultobj
= Py_None
;
26981 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27009 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27012 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "data", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27024 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (bool)(arg1
)->AddData(arg2
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27041 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27044 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 PyObject
* obj1
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "self",(char *) "data", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27056 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)(arg1
)->SetData(arg2
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27073 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27076 wxDataFormat
*arg2
= 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self",(char *) "format", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27090 if (arg2
== NULL
) {
27091 PyErr_SetString(PyExc_TypeError
,"null reference");
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27110 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
;
27112 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27113 wxDataObject
*arg2
= 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "data", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27127 if (arg2
== NULL
) {
27128 PyErr_SetString(PyExc_TypeError
,"null reference");
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= (bool)(arg1
)->GetData(*arg2
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27147 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27150 PyObject
* obj0
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 Py_INCREF(Py_None
); resultobj
= Py_None
;
27172 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27176 PyObject
* obj0
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "self", NULL
27181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (bool)(arg1
)->Flush();
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27200 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27203 bool arg2
= (bool) True
;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self",(char *) "primary", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27214 arg2
= (bool) SWIG_AsBool(obj1
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 (arg1
)->UsePrimarySelection(arg2
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 Py_INCREF(Py_None
); resultobj
= Py_None
;
27231 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxClipboard
*result
;
27234 char *kwnames
[] = {
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (wxClipboard
*)wxClipboard::Get();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27253 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27256 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27258 return Py_BuildValue((char *)"");
27260 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27263 wxClipboardLocker
*result
;
27264 PyObject
* obj0
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "clipboard", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27288 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27341 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27344 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27346 return Py_BuildValue((char *)"");
27348 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 int arg1
= (int) 0 ;
27351 int arg2
= (int) 0 ;
27352 int arg3
= (int) 0 ;
27353 int arg4
= (int) 0 ;
27354 wxVideoMode
*result
;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 PyObject
* obj2
= 0 ;
27358 PyObject
* obj3
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27365 arg1
= (int) SWIG_AsInt(obj0
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27369 arg2
= (int) SWIG_AsInt(obj1
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 arg3
= (int) SWIG_AsInt(obj2
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27377 arg4
= (int) SWIG_AsInt(obj3
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27394 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 Py_INCREF(Py_None
); resultobj
= Py_None
;
27419 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27422 wxVideoMode
*arg2
= 0 ;
27424 PyObject
* obj0
= 0 ;
27425 PyObject
* obj1
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self",(char *) "other", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27436 if (arg2
== NULL
) {
27437 PyErr_SetString(PyExc_TypeError
,"null reference");
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27456 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_FromInt((int)result
);
27482 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= SWIG_FromInt((int)result
);
27508 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27527 resultobj
= SWIG_FromInt((int)result
);
27534 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27562 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27563 PyObject
*resultobj
;
27564 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27565 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 PyObject
* obj1
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self",(char *) "other", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27594 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27597 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self",(char *) "other", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27626 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "w", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 arg2
= (int) SWIG_AsInt(obj1
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27641 if (arg1
) (arg1
)->w
= arg2
;
27643 Py_INCREF(Py_None
); resultobj
= Py_None
;
27650 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 result
= (int) ((arg1
)->w
);
27664 resultobj
= SWIG_FromInt((int)result
);
27671 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 PyObject
* obj1
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "self",(char *) "h", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 arg2
= (int) SWIG_AsInt(obj1
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27686 if (arg1
) (arg1
)->h
= arg2
;
27688 Py_INCREF(Py_None
); resultobj
= Py_None
;
27695 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27707 result
= (int) ((arg1
)->h
);
27709 resultobj
= SWIG_FromInt((int)result
);
27716 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self",(char *) "bpp", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27729 arg2
= (int) SWIG_AsInt(obj1
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27731 if (arg1
) (arg1
)->bpp
= arg2
;
27733 Py_INCREF(Py_None
); resultobj
= Py_None
;
27740 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 char *kwnames
[] = {
27746 (char *) "self", NULL
27749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27752 result
= (int) ((arg1
)->bpp
);
27754 resultobj
= SWIG_FromInt((int)result
);
27761 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 PyObject
* obj1
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self",(char *) "refresh", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27774 arg2
= (int) SWIG_AsInt(obj1
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27776 if (arg1
) (arg1
)->refresh
= arg2
;
27778 Py_INCREF(Py_None
); resultobj
= Py_None
;
27785 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27797 result
= (int) ((arg1
)->refresh
);
27799 resultobj
= SWIG_FromInt((int)result
);
27806 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27809 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27811 return Py_BuildValue((char *)"");
27813 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27814 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27819 static PyObject
*_wrap_DefaultVideoMode_get() {
27822 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27827 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 size_t arg1
= (size_t) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "index", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27838 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (wxDisplay
*)new wxDisplay(arg1
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27855 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27883 char *kwnames
[] = {
27887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 result
= (size_t)wxDisplay::GetCount();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27902 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxPoint
*arg1
= 0 ;
27907 PyObject
* obj0
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "pt", NULL
27912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27915 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= SWIG_FromInt((int)result
);
27931 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxWindow
*arg1
= (wxWindow
*) 0 ;
27935 PyObject
* obj0
= 0 ;
27936 char *kwnames
[] = {
27937 (char *) "window", NULL
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 result
= (int)Display_GetFromWindow(arg1
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_FromInt((int)result
);
27957 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
;
27959 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27961 PyObject
* obj0
= 0 ;
27962 char *kwnames
[] = {
27963 (char *) "self", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27985 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27989 PyObject
* obj0
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28005 wxRect
* resultptr
;
28006 resultptr
= new wxRect((wxRect
&) result
);
28007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28015 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= ((wxDisplay
const *)arg1
)->GetName();
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28047 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28075 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28078 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28079 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self",(char *) "mode", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28094 if (arg2
== NULL
) {
28095 PyErr_SetString(PyExc_TypeError
,"null reference");
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= result
;
28113 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
;
28115 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28116 wxVideoMode result
;
28117 PyObject
* obj0
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "self", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 wxVideoMode
* resultptr
;
28134 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28143 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28146 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28147 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28149 PyObject
* obj0
= 0 ;
28150 PyObject
* obj1
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self",(char *) "mode", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28162 if (arg2
== NULL
) {
28163 PyErr_SetString(PyExc_TypeError
,"null reference");
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 (arg1
)->ResetMode();
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 Py_INCREF(Py_None
); resultobj
= Py_None
;
28208 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28211 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28213 return Py_BuildValue((char *)"");
28215 static PyMethodDef SwigMethods
[] = {
28216 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28223 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28230 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28291 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28299 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28315 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28320 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28323 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28326 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28332 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28346 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28352 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28358 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28361 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28375 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28378 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28379 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28382 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28409 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28411 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28413 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28415 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28422 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28428 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28441 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28446 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28449 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28466 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28474 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28520 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28548 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28558 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28574 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28590 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28604 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28613 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28656 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28659 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28662 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28666 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28758 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28759 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28760 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28761 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28762 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28763 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28764 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28765 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28766 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28767 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28778 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28823 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28857 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28865 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28866 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28871 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28880 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28887 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28890 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28893 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28898 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28901 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28905 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28908 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28912 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28917 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28921 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28923 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28933 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28944 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28952 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28960 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28974 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28978 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28996 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29014 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29016 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29017 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29019 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29020 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29022 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29023 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29025 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29026 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29028 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29029 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29031 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29032 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29034 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29035 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29037 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29038 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29040 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29043 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29044 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29046 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29047 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29049 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29050 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29052 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29053 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29055 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29056 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29058 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29059 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29061 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29062 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29064 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29065 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29067 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29068 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29070 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29071 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29073 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29074 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29076 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29077 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29079 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29080 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29082 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29083 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29085 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29086 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29088 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29089 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29091 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29092 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29094 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29095 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29097 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29098 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29100 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29101 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29103 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29106 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29107 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29109 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29110 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29112 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29113 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29115 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29118 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29119 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29121 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29122 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29124 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29125 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29127 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29128 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29130 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29131 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29133 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29134 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29136 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29137 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29139 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29140 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29142 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29143 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29145 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29146 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29148 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29149 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29151 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29152 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29154 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29155 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29157 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29158 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29160 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29161 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29163 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29164 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29166 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29167 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29169 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29170 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29172 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29173 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29175 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29176 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29178 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29179 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29181 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29182 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29184 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29185 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29187 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29188 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29190 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29191 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29193 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29194 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29196 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29197 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29199 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29200 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29202 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29203 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29205 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29206 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29208 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29211 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29212 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29214 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29215 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29217 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29218 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29220 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29221 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29223 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29224 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29226 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29227 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29229 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29230 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29232 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29233 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29235 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29238 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29241 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29244 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29247 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29250 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29253 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29256 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) ((wxSizer
*) x
));
29259 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29262 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29265 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29268 static void *_p_wxEventTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) ((wxEvent
*) x
));
29271 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29274 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29277 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29280 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29283 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29286 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29289 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29292 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29295 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29298 static void *_p_wxControlTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29301 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29304 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29307 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29310 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29313 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29316 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29319 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29322 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29325 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29328 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29331 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29334 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29337 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29340 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29343 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29346 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29349 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29350 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29352 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29353 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29355 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29358 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29361 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29364 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29367 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29368 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29370 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29373 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29374 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29376 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29377 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29379 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29380 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29382 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29385 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29386 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29388 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29391 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29392 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29394 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29395 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29397 static void *_p_wxImageTo_p_wxObject(void *x
) {
29398 return (void *)((wxObject
*) ((wxImage
*) x
));
29400 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29401 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29403 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29404 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29406 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29407 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29409 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29412 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29413 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29415 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29416 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29418 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29419 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29421 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29422 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29424 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29427 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29428 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29430 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29431 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29433 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29436 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29437 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29439 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29440 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29442 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29443 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29445 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29446 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29448 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29449 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29451 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29452 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29454 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29457 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29458 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29460 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29461 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29463 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29464 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29466 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29469 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29470 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29472 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29475 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29478 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29479 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29481 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29482 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29484 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29485 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29487 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29488 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29490 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29491 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29493 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29494 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29496 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29497 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29499 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29500 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29502 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29503 return (void *)((wxWindow
*) ((wxControl
*) x
));
29505 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29506 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29508 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29509 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29511 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29512 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29514 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29515 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29576 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}};
29577 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}};
29578 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}};
29579 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}};
29580 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}};
29581 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}};
29582 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}};
29583 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}};
29584 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}};
29585 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}};
29586 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}};
29587 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}};
29588 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}};
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29603 static swig_type_info
*swig_types_initial
[] = {
29604 _swigt__p_wxLogChain
,
29605 _swigt__p_wxMutexGuiLocker
,
29606 _swigt__p_wxFileHistory
,
29608 _swigt__p_wxDateTime__TimeZone
,
29611 _swigt__p_wxConfigBase
,
29612 _swigt__p_wxDisplay
,
29613 _swigt__p_wxFileType
,
29614 _swigt__p_wxLogGui
,
29616 _swigt__p_wxDataFormat
,
29617 _swigt__p_wxTimerEvent
,
29621 _swigt__p_wxClipboard
,
29622 _swigt__p_wxStopWatch
,
29624 _swigt__p_wxClipboardLocker
,
29626 _swigt__p_wxLogStderr
,
29627 _swigt__p_wxLogTextCtrl
,
29628 _swigt__p_wxTextCtrl
,
29629 _swigt__p_wxBusyCursor
,
29630 _swigt__p_wxPyBitmapDataObject
,
29631 _swigt__p_wxPyTextDataObject
,
29632 _swigt__p_wxBitmapDataObject
,
29633 _swigt__p_wxTextDataObject
,
29634 _swigt__p_wxDataObject
,
29635 _swigt__p_wxFileDataObject
,
29636 _swigt__p_wxCustomDataObject
,
29637 _swigt__p_wxURLDataObject
,
29638 _swigt__p_wxMetafileDataObject
,
29640 _swigt__p_wxTimerRunner
,
29641 _swigt__p_wxLogWindow
,
29642 _swigt__p_wxTimeSpan
,
29643 _swigt__p_wxArrayString
,
29644 _swigt__p_wxWindowDisabler
,
29645 _swigt__p_wxToolTip
,
29646 _swigt__p_wxDataObjectComposite
,
29647 _swigt__p_wxFileConfig
,
29648 _swigt__p_wxSystemSettings
,
29649 _swigt__p_wxVideoMode
,
29650 _swigt__p_wxPyDataObjectSimple
,
29651 _swigt__p_wxDataObjectSimple
,
29652 _swigt__p_wxEvtHandler
,
29655 _swigt__p_wxSingleInstanceChecker
,
29656 _swigt__p_wxFileTypeInfo
,
29659 _swigt__p_wxMimeTypesManager
,
29660 _swigt__p_wxPyArtProvider
,
29661 _swigt__p_wxPyTipProvider
,
29662 _swigt__p_wxTipProvider
,
29663 _swigt__p_wxJoystick
,
29664 _swigt__p_wxSystemOptions
,
29666 _swigt__p_wxJoystickEvent
,
29667 _swigt__p_wxCursor
,
29668 _swigt__p_wxObject
,
29669 _swigt__p_wxOutputStream
,
29670 _swigt__p_wxDateTime
,
29671 _swigt__p_wxPyDropSource
,
29672 _swigt__p_wxWindow
,
29673 _swigt__p_wxString
,
29674 _swigt__p_wxPyProcess
,
29675 _swigt__p_wxBitmap
,
29676 _swigt__p_wxConfig
,
29678 _swigt__p_wxBusyInfo
,
29679 _swigt__p_wxPyDropTarget
,
29680 _swigt__p_wxPyTextDropTarget
,
29681 _swigt__p_wxPyFileDropTarget
,
29682 _swigt__p_wxProcessEvent
,
29684 _swigt__p_wxLogNull
,
29685 _swigt__p_wxColour
,
29686 _swigt__p_wxConfigPathChanger
,
29687 _swigt__p_wxPyTimer
,
29688 _swigt__p_wxDateSpan
,
29693 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29695 static swig_const_info swig_const_table
[] = {
29696 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29697 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29698 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29699 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29700 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29710 SWIGEXPORT(void) SWIG_init(void) {
29711 static PyObject
*SWIG_globals
= 0;
29712 static int typeinit
= 0;
29715 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29716 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29717 d
= PyModule_GetDict(m
);
29720 for (i
= 0; swig_types_initial
[i
]; i
++) {
29721 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29725 SWIG_InstallConstants(d
,swig_const_table
);
29727 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29728 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29729 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29730 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29731 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29732 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29733 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29734 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29735 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29736 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29737 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29738 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29739 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29740 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29741 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29742 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29743 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29744 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29745 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29746 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29747 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29748 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29749 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29750 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29751 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29752 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29753 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29754 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29755 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29756 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29757 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29758 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29759 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29760 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29761 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29762 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29763 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29764 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29765 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29766 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29767 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29768 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29769 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29770 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29771 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29772 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29773 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29774 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29775 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29776 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29777 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29778 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29779 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29780 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29781 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29782 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29783 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29784 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29785 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29786 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29787 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29788 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29789 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29790 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29791 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29792 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29793 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29794 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29795 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29796 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29797 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29798 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29799 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29800 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29801 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29802 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29803 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29804 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29805 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29806 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29807 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29808 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29809 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29810 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29811 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29812 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29813 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29814 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29815 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29816 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29817 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29818 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29819 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29820 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29821 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29822 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29823 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29824 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29825 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29826 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29828 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29830 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29831 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29832 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29833 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29834 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29835 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29836 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29837 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29838 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29839 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29840 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29841 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29842 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29843 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29844 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29845 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29846 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29847 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29848 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29849 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29850 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29851 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29852 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29853 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29854 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29855 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29856 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29857 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29858 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29859 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29860 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29861 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29862 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29863 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29864 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29865 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29866 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29867 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29868 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29869 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29870 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29871 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29872 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29873 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29874 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29875 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29876 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29877 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29878 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29879 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29881 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29883 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29884 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29885 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29886 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29887 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29888 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29889 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29890 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29891 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29892 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29893 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29894 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29895 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29896 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29897 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29898 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29899 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29900 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29901 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29902 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29922 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29923 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29924 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29933 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29934 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29935 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29936 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29937 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29938 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29942 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29944 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29945 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29946 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29947 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29948 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29949 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29950 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29951 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29952 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29953 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29954 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29955 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29956 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29957 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29958 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29959 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29960 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29961 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29962 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29963 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29964 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29965 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29966 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29967 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29968 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29969 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29970 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29971 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29972 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29973 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29974 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29975 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29976 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29977 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29978 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29979 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29980 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29981 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29982 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29983 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29984 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29985 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29986 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29987 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29988 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29989 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29990 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29991 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29992 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29993 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29994 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29995 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29996 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29997 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29998 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29999 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30000 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30001 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30002 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30003 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30004 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30005 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30006 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30007 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30008 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30009 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30010 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30011 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30012 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30013 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30014 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30015 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30016 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30017 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30018 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30019 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30020 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30021 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30022 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30023 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30024 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30025 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30026 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30027 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30028 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30029 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30030 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30031 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30032 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30033 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30034 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30035 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30036 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30037 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30038 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30039 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30040 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30041 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30042 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30043 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30044 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30045 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30046 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30047 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30048 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30049 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30050 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30051 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30052 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30053 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30054 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30055 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30056 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30057 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30058 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30059 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30060 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30061 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30062 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30063 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30064 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30065 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30066 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30067 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30068 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30069 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30070 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30071 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30072 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30073 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30074 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30075 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30076 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30077 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30078 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30079 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30080 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30081 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30082 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30083 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30084 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30085 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30086 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30087 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30088 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30089 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30090 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30091 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30092 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30093 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30094 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30095 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30096 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30097 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30098 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30099 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30100 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30101 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30102 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30103 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30104 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30105 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30106 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30107 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30108 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30109 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30110 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30111 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30112 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30113 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30114 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30115 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30116 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30117 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30118 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30119 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30120 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30121 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30122 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30123 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30124 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30125 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30126 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30127 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30128 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30129 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30130 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30131 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30132 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30133 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30134 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30135 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30136 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30137 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30138 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30139 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30140 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30141 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30142 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30143 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30145 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30146 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30147 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30148 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30150 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);