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_Usleep(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:Usleep",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_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "enable", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2574 arg1
= (bool) SWIG_AsBool(obj0
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 wxEnableTopLevelWindows(arg1
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxString
*arg1
= 0 ;
2594 bool temp1
= False
;
2595 PyObject
* obj0
= 0 ;
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2602 arg1
= wxString_in_helper(obj0
);
2603 if (arg1
== NULL
) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2634 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 result
= wxGetEmailAddress();
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2662 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 result
= wxGetHostName();
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2690 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
*resultobj
;
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= wxGetFullHostName();
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2718 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 result
= wxGetUserId();
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2746 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= wxGetUserName();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2774 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 result
= wxGetHomeDir();
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2802 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2805 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2807 bool temp1
= False
;
2808 PyObject
* obj0
= 0 ;
2810 (char *) "user", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2816 arg1
= wxString_in_helper(obj0
);
2817 if (arg1
== NULL
) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= wxGetUserHome((wxString
const &)*arg1
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2849 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 unsigned long result
;
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= (unsigned long)wxGetProcessId();
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2871 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2885 Py_INCREF(Py_None
); resultobj
= Py_None
;
2892 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
*resultobj
;
2894 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2895 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2896 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2897 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2898 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2899 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2900 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2901 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2902 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2903 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2904 int arg6
= (int) 0 ;
2905 wxWindow
*arg7
= (wxWindow
*) NULL
;
2906 int arg8
= (int) -1 ;
2907 int arg9
= (int) -1 ;
2909 bool temp1
= False
;
2910 bool temp2
= False
;
2911 bool temp3
= False
;
2912 bool temp4
= False
;
2913 bool temp5
= False
;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2916 PyObject
* obj2
= 0 ;
2917 PyObject
* obj3
= 0 ;
2918 PyObject
* obj4
= 0 ;
2919 PyObject
* obj5
= 0 ;
2920 PyObject
* obj6
= 0 ;
2921 PyObject
* obj7
= 0 ;
2922 PyObject
* obj8
= 0 ;
2924 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2930 arg1
= wxString_in_helper(obj0
);
2931 if (arg1
== NULL
) SWIG_fail
;
2937 arg2
= wxString_in_helper(obj1
);
2938 if (arg2
== NULL
) SWIG_fail
;
2944 arg3
= wxString_in_helper(obj2
);
2945 if (arg3
== NULL
) SWIG_fail
;
2951 arg4
= wxString_in_helper(obj3
);
2952 if (arg4
== NULL
) SWIG_fail
;
2958 arg5
= wxString_in_helper(obj4
);
2959 if (arg5
== NULL
) SWIG_fail
;
2964 arg6
= (int) SWIG_AsInt(obj5
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2968 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 arg8
= (int) SWIG_AsInt(obj7
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2976 arg9
= (int) SWIG_AsInt(obj8
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2980 if (!wxPyCheckForApp()) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3040 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3042 wxString
*arg1
= 0 ;
3043 wxString
*arg2
= 0 ;
3044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3046 wxWindow
*arg4
= (wxWindow
*) NULL
;
3048 bool temp1
= False
;
3049 bool temp2
= False
;
3050 bool temp3
= False
;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3053 PyObject
* obj2
= 0 ;
3054 PyObject
* obj3
= 0 ;
3056 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3061 arg1
= wxString_in_helper(obj0
);
3062 if (arg1
== NULL
) SWIG_fail
;
3066 arg2
= wxString_in_helper(obj1
);
3067 if (arg2
== NULL
) SWIG_fail
;
3072 arg3
= wxString_in_helper(obj2
);
3073 if (arg3
== NULL
) SWIG_fail
;
3078 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 if (!wxPyCheckForApp()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3126 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxString
*arg1
= 0 ;
3129 wxString
*arg2
= 0 ;
3130 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3132 wxWindow
*arg4
= (wxWindow
*) NULL
;
3134 bool temp1
= False
;
3135 bool temp2
= False
;
3136 bool temp3
= False
;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3139 PyObject
* obj2
= 0 ;
3140 PyObject
* obj3
= 0 ;
3142 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3147 arg1
= wxString_in_helper(obj0
);
3148 if (arg1
== NULL
) SWIG_fail
;
3152 arg2
= wxString_in_helper(obj1
);
3153 if (arg2
== NULL
) SWIG_fail
;
3158 arg3
= wxString_in_helper(obj2
);
3159 if (arg3
== NULL
) SWIG_fail
;
3164 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 if (!wxPyCheckForApp()) SWIG_fail
;
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3212 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3215 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3216 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3217 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3218 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3219 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3220 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3221 wxWindow
*arg5
= (wxWindow
*) NULL
;
3223 bool temp1
= False
;
3224 bool temp2
= False
;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3228 PyObject
* obj2
= 0 ;
3229 PyObject
* obj3
= 0 ;
3230 PyObject
* obj4
= 0 ;
3232 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3238 arg1
= wxString_in_helper(obj0
);
3239 if (arg1
== NULL
) SWIG_fail
;
3245 arg2
= wxString_in_helper(obj1
);
3246 if (arg2
== NULL
) SWIG_fail
;
3251 arg3
= (long) SWIG_AsLong(obj2
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3261 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3265 if (!wxPyCheckForApp()) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3301 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxString
*arg1
= 0 ;
3304 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3305 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3306 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3307 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3308 wxWindow
*arg4
= (wxWindow
*) NULL
;
3309 int arg5
= (int) -1 ;
3310 int arg6
= (int) -1 ;
3311 bool arg7
= (bool) True
;
3313 bool temp1
= False
;
3314 bool temp2
= False
;
3315 bool temp3
= False
;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3318 PyObject
* obj2
= 0 ;
3319 PyObject
* obj3
= 0 ;
3320 PyObject
* obj4
= 0 ;
3321 PyObject
* obj5
= 0 ;
3322 PyObject
* obj6
= 0 ;
3324 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3329 arg1
= wxString_in_helper(obj0
);
3330 if (arg1
== NULL
) SWIG_fail
;
3335 arg2
= wxString_in_helper(obj1
);
3336 if (arg2
== NULL
) SWIG_fail
;
3342 arg3
= wxString_in_helper(obj2
);
3343 if (arg3
== NULL
) SWIG_fail
;
3348 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 arg5
= (int) SWIG_AsInt(obj4
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3356 arg6
= (int) SWIG_AsInt(obj5
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 arg7
= (bool) SWIG_AsBool(obj6
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 if (!wxPyCheckForApp()) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3408 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxString
*arg1
= 0 ;
3411 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3412 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3413 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3414 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3415 wxWindow
*arg4
= (wxWindow
*) NULL
;
3417 bool temp1
= False
;
3418 bool temp2
= False
;
3419 bool temp3
= False
;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3422 PyObject
* obj2
= 0 ;
3423 PyObject
* obj3
= 0 ;
3425 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3430 arg1
= wxString_in_helper(obj0
);
3431 if (arg1
== NULL
) SWIG_fail
;
3436 arg2
= wxString_in_helper(obj1
);
3437 if (arg2
== NULL
) SWIG_fail
;
3443 arg3
= wxString_in_helper(obj2
);
3444 if (arg3
== NULL
) SWIG_fail
;
3449 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3453 if (!wxPyCheckForApp()) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3497 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxString
*arg1
= 0 ;
3500 wxString
*arg2
= 0 ;
3502 wxString
*arg4
= (wxString
*) 0 ;
3503 wxWindow
*arg5
= (wxWindow
*) NULL
;
3504 int arg6
= (int) -1 ;
3505 int arg7
= (int) -1 ;
3506 bool arg8
= (bool) True
;
3507 int arg9
= (int) 150 ;
3508 int arg10
= (int) 200 ;
3510 bool temp1
= False
;
3511 bool temp2
= False
;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3514 PyObject
* obj2
= 0 ;
3515 PyObject
* obj3
= 0 ;
3516 PyObject
* obj4
= 0 ;
3517 PyObject
* obj5
= 0 ;
3518 PyObject
* obj6
= 0 ;
3519 PyObject
* obj7
= 0 ;
3520 PyObject
* obj8
= 0 ;
3522 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3527 arg1
= wxString_in_helper(obj0
);
3528 if (arg1
== NULL
) SWIG_fail
;
3532 arg2
= wxString_in_helper(obj1
);
3533 if (arg2
== NULL
) SWIG_fail
;
3537 arg3
= PyList_Size(obj2
);
3538 arg4
= wxString_LIST_helper(obj2
);
3539 if (arg4
== NULL
) SWIG_fail
;
3542 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3546 arg6
= (int) SWIG_AsInt(obj4
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3550 arg7
= (int) SWIG_AsInt(obj5
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 arg8
= (bool) SWIG_AsBool(obj6
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 arg9
= (int) SWIG_AsInt(obj7
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 arg10
= (int) SWIG_AsInt(obj8
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3566 if (!wxPyCheckForApp()) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3589 if (arg4
) delete [] arg4
;
3602 if (arg4
) delete [] arg4
;
3608 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxString
*arg1
= 0 ;
3611 wxString
*arg2
= 0 ;
3613 wxString
*arg4
= (wxString
*) 0 ;
3614 wxWindow
*arg5
= (wxWindow
*) NULL
;
3615 int arg6
= (int) -1 ;
3616 int arg7
= (int) -1 ;
3617 bool arg8
= (bool) True
;
3618 int arg9
= (int) 150 ;
3619 int arg10
= (int) 200 ;
3621 bool temp1
= False
;
3622 bool temp2
= False
;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3625 PyObject
* obj2
= 0 ;
3626 PyObject
* obj3
= 0 ;
3627 PyObject
* obj4
= 0 ;
3628 PyObject
* obj5
= 0 ;
3629 PyObject
* obj6
= 0 ;
3630 PyObject
* obj7
= 0 ;
3631 PyObject
* obj8
= 0 ;
3633 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3638 arg1
= wxString_in_helper(obj0
);
3639 if (arg1
== NULL
) SWIG_fail
;
3643 arg2
= wxString_in_helper(obj1
);
3644 if (arg2
== NULL
) SWIG_fail
;
3648 arg3
= PyList_Size(obj2
);
3649 arg4
= wxString_LIST_helper(obj2
);
3650 if (arg4
== NULL
) SWIG_fail
;
3653 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 arg6
= (int) SWIG_AsInt(obj4
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 arg7
= (int) SWIG_AsInt(obj5
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 arg8
= (bool) SWIG_AsBool(obj6
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3669 arg9
= (int) SWIG_AsInt(obj7
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3673 arg10
= (int) SWIG_AsInt(obj8
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3677 if (!wxPyCheckForApp()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= SWIG_FromInt((int)result
);
3694 if (arg4
) delete [] arg4
;
3707 if (arg4
) delete [] arg4
;
3713 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxString
*arg1
= 0 ;
3716 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3717 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3718 int arg3
= (int) wxOK
|wxCENTRE
;
3719 wxWindow
*arg4
= (wxWindow
*) NULL
;
3720 int arg5
= (int) -1 ;
3721 int arg6
= (int) -1 ;
3723 bool temp1
= False
;
3724 bool temp2
= False
;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3727 PyObject
* obj2
= 0 ;
3728 PyObject
* obj3
= 0 ;
3729 PyObject
* obj4
= 0 ;
3730 PyObject
* obj5
= 0 ;
3732 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3737 arg1
= wxString_in_helper(obj0
);
3738 if (arg1
== NULL
) SWIG_fail
;
3743 arg2
= wxString_in_helper(obj1
);
3744 if (arg2
== NULL
) SWIG_fail
;
3749 arg3
= (int) SWIG_AsInt(obj2
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3757 arg5
= (int) SWIG_AsInt(obj4
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 arg6
= (int) SWIG_AsInt(obj5
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3765 if (!wxPyCheckForApp()) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_FromInt((int)result
);
3795 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxString
*arg1
= 0 ;
3798 wxString
*arg2
= 0 ;
3799 wxString
*arg3
= 0 ;
3801 long arg5
= (long) 0 ;
3802 long arg6
= (long) 100 ;
3803 wxWindow
*arg7
= (wxWindow
*) NULL
;
3804 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3805 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3807 bool temp1
= False
;
3808 bool temp2
= False
;
3809 bool temp3
= False
;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3813 PyObject
* obj2
= 0 ;
3814 PyObject
* obj3
= 0 ;
3815 PyObject
* obj4
= 0 ;
3816 PyObject
* obj5
= 0 ;
3817 PyObject
* obj6
= 0 ;
3818 PyObject
* obj7
= 0 ;
3820 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3825 arg1
= wxString_in_helper(obj0
);
3826 if (arg1
== NULL
) SWIG_fail
;
3830 arg2
= wxString_in_helper(obj1
);
3831 if (arg2
== NULL
) SWIG_fail
;
3835 arg3
= wxString_in_helper(obj2
);
3836 if (arg3
== NULL
) SWIG_fail
;
3839 arg4
= (long) SWIG_AsLong(obj3
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 arg5
= (long) SWIG_AsLong(obj4
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 arg6
= (long) SWIG_AsLong(obj5
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3856 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3860 if (!wxPyCheckForApp()) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_FromLong((long)result
);
3898 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3907 if (!wxPyCheckForApp()) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (bool)wxColourDisplay();
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3923 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3932 if (!wxPyCheckForApp()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (int)wxDisplayDepth();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_FromInt((int)result
);
3946 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3955 if (!wxPyCheckForApp()) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (int)wxGetDisplayDepth();
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= SWIG_FromInt((int)result
);
3969 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 int *arg1
= (int *) 0 ;
3972 int *arg2
= (int *) 0 ;
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3983 if (!wxPyCheckForApp()) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 wxDisplaySize(arg1
,arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3993 resultobj
= t_output_helper(resultobj
,o
);
3996 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3997 resultobj
= t_output_helper(resultobj
,o
);
4005 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4014 if (!wxPyCheckForApp()) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= wxGetDisplaySize();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4023 resultptr
= new wxSize((wxSize
&) result
);
4024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4032 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 int *arg1
= (int *) 0 ;
4035 int *arg2
= (int *) 0 ;
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4046 if (!wxPyCheckForApp()) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 wxDisplaySizeMM(arg1
,arg2
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 Py_INCREF(Py_None
); resultobj
= Py_None
;
4055 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4056 resultobj
= t_output_helper(resultobj
,o
);
4059 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4060 resultobj
= t_output_helper(resultobj
,o
);
4068 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4077 if (!wxPyCheckForApp()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= wxGetDisplaySizeMM();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4086 resultptr
= new wxSize((wxSize
&) result
);
4087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4095 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 int *arg1
= (int *) 0 ;
4098 int *arg2
= (int *) 0 ;
4099 int *arg3
= (int *) 0 ;
4100 int *arg4
= (int *) 0 ;
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4115 if (!wxPyCheckForApp()) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4125 resultobj
= t_output_helper(resultobj
,o
);
4128 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4129 resultobj
= t_output_helper(resultobj
,o
);
4132 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4133 resultobj
= t_output_helper(resultobj
,o
);
4136 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4137 resultobj
= t_output_helper(resultobj
,o
);
4145 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4154 if (!wxPyCheckForApp()) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= wxGetClientDisplayRect();
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4163 resultptr
= new wxRect((wxRect
&) result
);
4164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4172 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxCursor
*arg1
= 0 ;
4175 PyObject
* obj0
= 0 ;
4177 (char *) "cursor", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4185 PyErr_SetString(PyExc_TypeError
,"null reference");
4189 if (!wxPyCheckForApp()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 Py_INCREF(Py_None
); resultobj
= Py_None
;
4203 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4206 PyObject
* obj0
= 0 ;
4208 (char *) "cursor", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 wxBeginBusyCursor(arg1
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4231 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4240 if (!wxPyCheckForApp()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (wxWindow
*)wxGetActiveWindow();
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= wxPyMake_wxObject(result
);
4256 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4261 PyObject
* obj0
= 0 ;
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4269 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4272 if (!wxPyCheckForApp()) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= wxPyMake_wxObject(result
);
4288 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4293 PyObject
* obj0
= 0 ;
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4301 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4304 if (!wxPyCheckForApp()) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= wxPyMake_wxObject(result
);
4320 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxWindow
*arg1
= (wxWindow
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "win", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 if (!wxPyCheckForApp()) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= wxPyMake_wxObject(result
);
4349 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "key", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4359 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 if (!wxPyCheckForApp()) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4378 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4386 if (!wxPyCheckForApp()) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 wxWakeUpMainThread();
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 Py_INCREF(Py_None
); resultobj
= Py_None
;
4400 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4408 if (!wxPyCheckForApp()) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 Py_INCREF(Py_None
); resultobj
= Py_None
;
4422 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4430 if (!wxPyCheckForApp()) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxMutexGuiLocker
*result
;
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4453 if (!wxPyCheckForApp()) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4467 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
;
4469 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4470 PyObject
* obj0
= 0 ;
4472 (char *) "self", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 Py_INCREF(Py_None
); resultobj
= Py_None
;
4492 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4495 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4497 return Py_BuildValue((char *)"");
4499 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)wxThread_IsMain();
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxString
*arg1
= 0 ;
4527 bool temp1
= False
;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "tip", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4535 arg1
= wxString_in_helper(obj0
);
4536 if (arg1
== NULL
) SWIG_fail
;
4540 if (!wxPyCheckForApp()) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= wxPyMake_wxObject(result
);
4564 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4567 wxString
*arg2
= 0 ;
4568 bool temp2
= False
;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "tip", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4579 arg2
= wxString_in_helper(obj1
);
4580 if (arg2
== NULL
) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 (arg1
)->SetTip((wxString
const &)*arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4605 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
;
4607 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4609 PyObject
* obj0
= 0 ;
4611 (char *) "self", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (arg1
)->GetTip();
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4637 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (wxWindow
*)(arg1
)->GetWindow();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= wxPyMake_wxObject(result
);
4665 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "flag", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4674 arg1
= (bool) SWIG_AsBool(obj0
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxToolTip::Enable(arg1
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 Py_INCREF(Py_None
); resultobj
= Py_None
;
4690 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "milliseconds", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4699 arg1
= (long) SWIG_AsLong(obj0
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxToolTip::SetDelay(arg1
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4718 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4720 return Py_BuildValue((char *)"");
4722 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxWindow
*arg1
= (wxWindow
*) 0 ;
4728 PyObject
* obj0
= 0 ;
4729 PyObject
* obj1
= 0 ;
4731 (char *) "window",(char *) "size", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4742 if (!wxPyCheckForApp()) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4756 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxCaret
*arg1
= (wxCaret
*) 0 ;
4759 PyObject
* obj0
= 0 ;
4761 (char *) "self", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 Py_INCREF(Py_None
); resultobj
= Py_None
;
4781 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxCaret
*arg1
= (wxCaret
*) 0 ;
4785 PyObject
* obj0
= 0 ;
4787 (char *) "self", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (bool)(arg1
)->IsOk();
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4809 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxCaret
*arg1
= (wxCaret
*) 0 ;
4813 PyObject
* obj0
= 0 ;
4815 (char *) "self", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (bool)(arg1
)->IsVisible();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4837 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxCaret
*arg1
= (wxCaret
*) 0 ;
4841 PyObject
* obj0
= 0 ;
4843 (char *) "self", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (arg1
)->GetPosition();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4857 wxPoint
* resultptr
;
4858 resultptr
= new wxPoint((wxPoint
&) result
);
4859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4867 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxCaret
*arg1
= (wxCaret
*) 0 ;
4870 int *arg2
= (int *) 0 ;
4871 int *arg3
= (int *) 0 ;
4874 PyObject
* obj0
= 0 ;
4876 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 (arg1
)->GetPosition(arg2
,arg3
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 Py_INCREF(Py_None
); resultobj
= Py_None
;
4893 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4894 resultobj
= t_output_helper(resultobj
,o
);
4897 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4898 resultobj
= t_output_helper(resultobj
,o
);
4906 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxCaret
*arg1
= (wxCaret
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "self", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (arg1
)->GetSize();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4927 resultptr
= new wxSize((wxSize
&) result
);
4928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4936 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxCaret
*arg1
= (wxCaret
*) 0 ;
4939 int *arg2
= (int *) 0 ;
4940 int *arg3
= (int *) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 (arg1
)->GetSize(arg2
,arg3
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4962 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4963 resultobj
= t_output_helper(resultobj
,o
);
4966 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4967 resultobj
= t_output_helper(resultobj
,o
);
4975 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxCaret
*arg1
= (wxCaret
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4981 (char *) "self", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (wxWindow
*)(arg1
)->GetWindow();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= wxPyMake_wxObject(result
);
5003 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxCaret
*arg1
= (wxCaret
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5012 (char *) "self",(char *) "x",(char *) "y", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5018 arg2
= (int) SWIG_AsInt(obj1
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5020 arg3
= (int) SWIG_AsInt(obj2
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 (arg1
)->Move(arg2
,arg3
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 Py_INCREF(Py_None
); resultobj
= Py_None
;
5036 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxCaret
*arg1
= (wxCaret
*) 0 ;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5044 (char *) "self",(char *) "pt", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 (arg1
)->Move((wxPoint
const &)*arg2
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 Py_INCREF(Py_None
); resultobj
= Py_None
;
5068 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxCaret
*arg1
= (wxCaret
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5077 (char *) "self",(char *) "width",(char *) "height", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 arg2
= (int) SWIG_AsInt(obj1
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5085 arg3
= (int) SWIG_AsInt(obj2
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetSize(arg2
,arg3
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxCaret
*arg1
= (wxCaret
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5109 (char *) "self",(char *) "size", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5117 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->SetSize((wxSize
const &)*arg2
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxCaret
*arg1
= (wxCaret
*) 0 ;
5136 int arg2
= (int) True
;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "show", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 arg2
= (int) SWIG_AsInt(obj1
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxCaret
*arg1
= (wxCaret
*) 0 ;
5167 PyObject
* obj0
= 0 ;
5169 (char *) "self", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) 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
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5192 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5194 return Py_BuildValue((char *)"");
5196 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (int)wxCaret_GetBlinkTime();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_FromInt((int)result
);
5218 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "milliseconds", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5227 arg1
= (int) SWIG_AsInt(obj0
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 wxCaret_SetBlinkTime(arg1
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 Py_INCREF(Py_None
); resultobj
= Py_None
;
5243 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5246 wxBusyCursor
*result
;
5247 PyObject
* obj0
= 0 ;
5249 (char *) "cursor", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 if (!wxPyCheckForApp()) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5272 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5277 (char *) "self", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5300 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5302 return Py_BuildValue((char *)"");
5304 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxWindow
*arg1
= (wxWindow
*) NULL
;
5307 wxWindowDisabler
*result
;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "winToSkip", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5319 if (!wxPyCheckForApp()) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5333 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 Py_INCREF(Py_None
); resultobj
= Py_None
;
5358 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5363 return Py_BuildValue((char *)"");
5365 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxString
*arg1
= 0 ;
5369 bool temp1
= False
;
5370 PyObject
* obj0
= 0 ;
5372 (char *) "message", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5377 arg1
= wxString_in_helper(obj0
);
5378 if (arg1
== NULL
) SWIG_fail
;
5382 if (!wxPyCheckForApp()) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5404 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "self", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 Py_INCREF(Py_None
); resultobj
= Py_None
;
5429 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5432 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5434 return Py_BuildValue((char *)"");
5436 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxStopWatch
*result
;
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (wxStopWatch
*)new wxStopWatch();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5458 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5461 long arg2
= (long) 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "t0", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 arg2
= (long) SWIG_AsLong(obj1
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->Start(arg2
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 Py_INCREF(Py_None
); resultobj
= Py_None
;
5489 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "self", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_StopWatch_Resume(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_Resume",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_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_FromLong((long)result
);
5565 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5568 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5570 return Py_BuildValue((char *)"");
5572 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 int arg1
= (int) 9 ;
5575 wxFileHistory
*result
;
5576 PyObject
* obj0
= 0 ;
5578 (char *) "maxFiles", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5583 arg1
= (int) SWIG_AsInt(obj0
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5600 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5605 (char *) "self", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 Py_INCREF(Py_None
); resultobj
= Py_None
;
5625 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5628 wxString
*arg2
= 0 ;
5629 bool temp2
= False
;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5633 (char *) "self",(char *) "file", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 arg2
= wxString_in_helper(obj1
);
5641 if (arg2
== NULL
) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 Py_INCREF(Py_None
); resultobj
= Py_None
;
5666 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "i", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 arg2
= (int) SWIG_AsInt(obj1
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 (arg1
)->RemoveFileFromHistory(arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 Py_INCREF(Py_None
); resultobj
= Py_None
;
5695 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "self", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_FromInt((int)result
);
5721 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5724 wxMenu
*arg2
= (wxMenu
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "menu", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->UseMenu(arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5753 wxMenu
*arg2
= (wxMenu
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5757 (char *) "self",(char *) "menu", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 (arg1
)->RemoveMenu(arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 Py_INCREF(Py_None
); resultobj
= Py_None
;
5779 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5782 wxConfigBase
*arg2
= 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5786 (char *) "self",(char *) "config", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5796 PyErr_SetString(PyExc_TypeError
,"null reference");
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 (arg1
)->Load(*arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5816 wxConfigBase
*arg2
= 0 ;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5820 (char *) "self",(char *) "config", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5830 PyErr_SetString(PyExc_TypeError
,"null reference");
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 (arg1
)->Save(*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 Py_INCREF(Py_None
); resultobj
= Py_None
;
5847 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5850 PyObject
* obj0
= 0 ;
5852 (char *) "self", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->AddFilesToMenu();
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5875 wxMenu
*arg2
= (wxMenu
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5877 PyObject
* obj1
= 0 ;
5879 (char *) "self",(char *) "menu", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 (arg1
)->AddFilesToMenu(arg2
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "i", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 arg2
= (int) SWIG_AsInt(obj1
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5937 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_FromInt((int)result
);
5963 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5966 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5968 return Py_BuildValue((char *)"");
5970 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxString
*arg1
= 0 ;
5973 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5974 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5975 wxSingleInstanceChecker
*result
;
5976 bool temp1
= False
;
5977 bool temp2
= False
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5981 (char *) "name",(char *) "path", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5986 arg1
= wxString_in_helper(obj0
);
5987 if (arg1
== NULL
) SWIG_fail
;
5992 arg2
= wxString_in_helper(obj1
);
5993 if (arg2
== NULL
) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6027 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxSingleInstanceChecker
*result
;
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6049 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 Py_INCREF(Py_None
); resultobj
= Py_None
;
6074 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6077 wxString
*arg2
= 0 ;
6078 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6079 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6081 bool temp2
= False
;
6082 bool temp3
= False
;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6085 PyObject
* obj2
= 0 ;
6087 (char *) "self",(char *) "name",(char *) "path", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6094 arg2
= wxString_in_helper(obj1
);
6095 if (arg2
== NULL
) SWIG_fail
;
6100 arg3
= wxString_in_helper(obj2
);
6101 if (arg3
== NULL
) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6137 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6165 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxWindow
*arg1
= (wxWindow
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 PyObject
* obj2
= 0 ;
6181 (char *) "window",(char *) "dc",(char *) "method", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6191 PyErr_SetString(PyExc_TypeError
,"null reference");
6194 arg3
= (int) SWIG_AsInt(obj2
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 Py_INCREF(Py_None
); resultobj
= Py_None
;
6210 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6213 PyObject
* obj0
= 0 ;
6215 (char *) "self", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 Py_INCREF(Py_None
); resultobj
= Py_None
;
6235 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "self", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (arg1
)->GetTip();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6267 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "self", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (size_t)(arg1
)->GetCurrentTip();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6293 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6296 wxString
*arg2
= 0 ;
6298 bool temp2
= False
;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "tip", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 arg2
= wxString_in_helper(obj1
);
6310 if (arg2
== NULL
) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6341 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6344 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6346 return Py_BuildValue((char *)"");
6348 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6351 wxPyTipProvider
*result
;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "currentTip", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6358 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6374 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6377 PyObject
*arg2
= (PyObject
*) 0 ;
6378 PyObject
*arg3
= (PyObject
*) 0 ;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6381 PyObject
* obj2
= 0 ;
6383 (char *) "self",(char *) "self",(char *) "_class", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 Py_INCREF(Py_None
); resultobj
= Py_None
;
6405 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6408 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6410 return Py_BuildValue((char *)"");
6412 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxWindow
*arg1
= (wxWindow
*) 0 ;
6415 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6416 bool arg3
= (bool) True
;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6420 PyObject
* obj2
= 0 ;
6422 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6431 arg3
= (bool) SWIG_AsBool(obj2
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6435 if (!wxPyCheckForApp()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6451 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxString
*arg1
= 0 ;
6455 wxTipProvider
*result
;
6456 bool temp1
= False
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6460 (char *) "filename",(char *) "currentTip", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6465 arg1
= wxString_in_helper(obj0
);
6466 if (arg1
== NULL
) SWIG_fail
;
6469 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 if (!wxPyCheckForApp()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6494 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6497 int arg2
= (int) -1 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6502 (char *) "owner",(char *) "id", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 arg2
= (int) SWIG_AsInt(obj1
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 if (!wxPyCheckForApp()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6529 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "self", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6557 PyObject
*arg2
= (PyObject
*) 0 ;
6558 PyObject
*arg3
= (PyObject
*) 0 ;
6559 int arg4
= (int) 1 ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 PyObject
* obj2
= 0 ;
6563 PyObject
* obj3
= 0 ;
6565 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6574 arg4
= (int) SWIG_AsInt(obj3
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6594 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6595 int arg3
= (int) -1 ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6598 PyObject
* obj2
= 0 ;
6600 (char *) "self",(char *) "owner",(char *) "id", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6609 arg3
= (int) SWIG_AsInt(obj2
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 (arg1
)->SetOwner(arg2
,arg3
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 Py_INCREF(Py_None
); resultobj
= Py_None
;
6626 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6629 wxEvtHandler
*result
;
6630 PyObject
* obj0
= 0 ;
6632 (char *) "self", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= wxPyMake_wxObject(result
);
6654 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6657 int arg2
= (int) -1 ;
6658 bool arg3
= (bool) False
;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6662 PyObject
* obj2
= 0 ;
6664 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 arg2
= (int) SWIG_AsInt(obj1
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6675 arg3
= (bool) SWIG_AsBool(obj2
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6694 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 Py_INCREF(Py_None
); resultobj
= Py_None
;
6719 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6725 (char *) "self", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6747 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6753 (char *) "self", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_FromInt((int)result
);
6773 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6801 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_FromInt((int)result
);
6827 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6832 return Py_BuildValue((char *)"");
6834 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 int arg1
= (int) 0 ;
6837 int arg2
= (int) 0 ;
6838 wxTimerEvent
*result
;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "timerid",(char *) "interval", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6847 arg1
= (int) SWIG_AsInt(obj0
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 arg2
= (int) SWIG_AsInt(obj1
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6868 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6874 (char *) "self", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_FromInt((int)result
);
6894 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6897 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6899 return Py_BuildValue((char *)"");
6901 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6902 PyObject
*resultobj
;
6904 wxTimerRunner
*result
;
6905 PyObject
* obj0
= 0 ;
6907 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6912 PyErr_SetString(PyExc_TypeError
,"null reference");
6916 if (!wxPyCheckForApp()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6930 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6931 PyObject
*resultobj
;
6934 bool arg3
= (bool) False
;
6935 wxTimerRunner
*result
;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 PyObject
* obj2
= 0 ;
6940 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6945 PyErr_SetString(PyExc_TypeError
,"null reference");
6948 arg2
= (int) SWIG_AsInt(obj1
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 arg3
= (bool) SWIG_AsBool(obj2
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 if (!wxPyCheckForApp()) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6969 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6974 argc
= PyObject_Length(args
);
6975 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6982 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6990 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6993 if ((argc
>= 2) && (argc
<= 3)) {
6997 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7005 _v
= SWIG_CheckInt(argv
[1]);
7008 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7010 _v
= SWIG_CheckBool(argv
[2]);
7012 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7018 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7023 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7052 bool arg3
= (bool) False
;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7057 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 arg2
= (int) SWIG_AsInt(obj1
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 arg3
= (bool) SWIG_AsBool(obj2
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->Start(arg2
,arg3
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7086 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7088 return Py_BuildValue((char *)"");
7090 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (wxLog
*)new wxLog();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7112 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (bool)wxLog::IsEnabled();
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7136 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 bool arg1
= (bool) True
;
7140 PyObject
* obj0
= 0 ;
7142 (char *) "doIt", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7147 arg1
= (bool) SWIG_AsBool(obj0
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= (bool)wxLog::EnableLogging(arg1
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7166 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7169 wxChar
*arg2
= (wxChar
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7173 PyObject
* obj2
= 0 ;
7175 (char *) "level",(char *) "szString",(char *) "t", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7179 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxLog
*arg1
= (wxLog
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7204 (char *) "self", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 wxLog::FlushActive();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (wxLog
*)wxLog::GetActiveTarget();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7267 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxLog
*arg1
= (wxLog
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "pLogger", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7293 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 Py_INCREF(Py_None
); resultobj
= Py_None
;
7335 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7337 bool arg1
= (bool) True
;
7338 PyObject
* obj0
= 0 ;
7340 (char *) "bVerbose", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7345 arg1
= (bool) SWIG_AsBool(obj0
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 wxLog::SetVerbose(arg1
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 Py_INCREF(Py_None
); resultobj
= Py_None
;
7362 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "logLevel", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7371 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 wxLog::SetLogLevel(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 wxLog::DontCreateOnDemand();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7411 PyObject
* obj0
= 0 ;
7413 (char *) "ulMask", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7417 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 wxLog::SetTraceMask(arg1
);
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxString
*arg1
= 0 ;
7436 bool temp1
= False
;
7437 PyObject
* obj0
= 0 ;
7439 (char *) "str", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7444 arg1
= wxString_in_helper(obj0
);
7445 if (arg1
== NULL
) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 wxLog::AddTraceMask((wxString
const &)*arg1
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxString
*arg1
= 0 ;
7473 bool temp1
= False
;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "str", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7481 arg1
= wxString_in_helper(obj0
);
7482 if (arg1
== NULL
) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 wxLog::ClearTraceMasks();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxArrayString
*result
;
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7540 result
= (wxArrayString
*) &_result_ref
;
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= wxArrayString2PyList_helper(*result
);
7555 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxChar
*arg1
= (wxChar
*) 0 ;
7558 PyObject
* obj0
= 0 ;
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxLog::SetTimestamp((wxChar
const *)arg1
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 Py_INCREF(Py_None
); resultobj
= Py_None
;
7580 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (bool)wxLog::GetVerbose();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7604 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxTraceMask
)wxLog::GetTraceMask();
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7626 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxChar
*arg1
= (wxChar
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "mask", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7654 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (wxLogLevel
)wxLog::GetLogLevel();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7676 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (wxChar
*)wxLog::GetTimestamp();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7698 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= Log_TimeStamp();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7726 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxLog
*arg1
= (wxLog
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "self", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 wxLog_Destroy(arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 Py_INCREF(Py_None
); resultobj
= Py_None
;
7751 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7754 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7756 return Py_BuildValue((char *)"");
7758 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxLogStderr
*result
;
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 result
= (wxLogStderr
*)new wxLogStderr();
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7780 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7783 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7785 return Py_BuildValue((char *)"");
7787 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7790 wxLogTextCtrl
*result
;
7791 PyObject
* obj0
= 0 ;
7793 (char *) "pTextCtrl", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7813 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7816 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7818 return Py_BuildValue((char *)"");
7820 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxLogGui
*)new wxLogGui();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7842 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7845 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7847 return Py_BuildValue((char *)"");
7849 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxFrame
*arg1
= (wxFrame
*) 0 ;
7852 wxString
*arg2
= 0 ;
7853 bool arg3
= (bool) True
;
7854 bool arg4
= (bool) True
;
7855 wxLogWindow
*result
;
7856 bool temp2
= False
;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 PyObject
* obj2
= 0 ;
7860 PyObject
* obj3
= 0 ;
7862 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 arg2
= wxString_in_helper(obj1
);
7870 if (arg2
== NULL
) SWIG_fail
;
7874 arg3
= (bool) SWIG_AsBool(obj2
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 arg4
= (bool) SWIG_AsBool(obj3
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7903 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7906 bool arg2
= (bool) True
;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7910 (char *) "self",(char *) "bShow", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7917 arg2
= (bool) SWIG_AsBool(obj1
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7934 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= wxPyMake_wxObject(result
);
7962 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7968 (char *) "self", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7988 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8016 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8023 (char *) "self",(char *) "bDoPass", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8029 arg2
= (bool) SWIG_AsBool(obj1
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 (arg1
)->PassMessages(arg2
);
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 Py_INCREF(Py_None
); resultobj
= Py_None
;
8045 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8048 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8050 return Py_BuildValue((char *)"");
8052 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxLog
*arg1
= (wxLog
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "logger", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (wxLogChain
*)new wxLogChain(arg1
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8078 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8081 wxLog
*arg2
= (wxLog
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8085 (char *) "self",(char *) "logger", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 (arg1
)->SetLog(arg2
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 Py_INCREF(Py_None
); resultobj
= Py_None
;
8107 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8114 (char *) "self",(char *) "bDoPass", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 arg2
= (bool) SWIG_AsBool(obj1
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 (arg1
)->PassMessages(arg2
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (bool)(arg1
)->IsPassingMessages();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8164 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (wxLog
*)(arg1
)->GetOldLog();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8190 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8193 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8195 return Py_BuildValue((char *)"");
8197 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 unsigned long result
;
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (unsigned long)wxSysErrorCode();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8219 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 unsigned long arg1
= (unsigned long) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "nErrCode", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8230 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 result
= wxSysErrorMsg(arg1
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8253 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxString
*arg1
= 0 ;
8256 bool temp1
= False
;
8257 PyObject
* obj0
= 0 ;
8259 (char *) "msg", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8264 arg1
= wxString_in_helper(obj0
);
8265 if (arg1
== NULL
) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 wxLogFatalError((wxString
const &)*arg1
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 Py_INCREF(Py_None
); resultobj
= Py_None
;
8290 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxString
*arg1
= 0 ;
8293 bool temp1
= False
;
8294 PyObject
* obj0
= 0 ;
8296 (char *) "msg", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8301 arg1
= wxString_in_helper(obj0
);
8302 if (arg1
== NULL
) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 wxLogError((wxString
const &)*arg1
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxString
*arg1
= 0 ;
8330 bool temp1
= False
;
8331 PyObject
* obj0
= 0 ;
8333 (char *) "msg", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8338 arg1
= wxString_in_helper(obj0
);
8339 if (arg1
== NULL
) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 wxLogWarning((wxString
const &)*arg1
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 Py_INCREF(Py_None
); resultobj
= Py_None
;
8364 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxString
*arg1
= 0 ;
8367 bool temp1
= False
;
8368 PyObject
* obj0
= 0 ;
8370 (char *) "msg", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8375 arg1
= wxString_in_helper(obj0
);
8376 if (arg1
== NULL
) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 wxLogMessage((wxString
const &)*arg1
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 Py_INCREF(Py_None
); resultobj
= Py_None
;
8401 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxString
*arg1
= 0 ;
8404 bool temp1
= False
;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "msg", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8412 arg1
= wxString_in_helper(obj0
);
8413 if (arg1
== NULL
) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 wxLogInfo((wxString
const &)*arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxString
*arg1
= 0 ;
8441 bool temp1
= False
;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "msg", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8449 arg1
= wxString_in_helper(obj0
);
8450 if (arg1
== NULL
) SWIG_fail
;
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 wxLogDebug((wxString
const &)*arg1
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 Py_INCREF(Py_None
); resultobj
= Py_None
;
8475 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxString
*arg1
= 0 ;
8478 bool temp1
= False
;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "msg", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8486 arg1
= wxString_in_helper(obj0
);
8487 if (arg1
== NULL
) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 wxLogVerbose((wxString
const &)*arg1
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxString
*arg1
= 0 ;
8515 bool temp1
= False
;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "msg", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8523 arg1
= wxString_in_helper(obj0
);
8524 if (arg1
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 wxLogStatus((wxString
const &)*arg1
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 Py_INCREF(Py_None
); resultobj
= Py_None
;
8549 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxFrame
*arg1
= (wxFrame
*) 0 ;
8552 wxString
*arg2
= 0 ;
8553 bool temp2
= False
;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "pFrame",(char *) "msg", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 arg2
= wxString_in_helper(obj1
);
8565 if (arg2
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8590 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxString
*arg1
= 0 ;
8593 bool temp1
= False
;
8594 PyObject
* obj0
= 0 ;
8596 (char *) "msg", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8601 arg1
= wxString_in_helper(obj0
);
8602 if (arg1
== NULL
) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxLogSysError((wxString
const &)*arg1
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8628 PyObject
*resultobj
;
8629 unsigned long arg1
;
8630 wxString
*arg2
= 0 ;
8631 bool temp2
= False
;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8635 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8636 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 arg2
= wxString_in_helper(obj1
);
8640 if (arg2
== NULL
) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 Py_INCREF(Py_None
); resultobj
= Py_None
;
8665 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8666 PyObject
*resultobj
;
8667 wxString
*arg1
= 0 ;
8668 wxString
*arg2
= 0 ;
8669 bool temp1
= False
;
8670 bool temp2
= False
;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8674 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8676 arg1
= wxString_in_helper(obj0
);
8677 if (arg1
== NULL
) SWIG_fail
;
8681 arg2
= wxString_in_helper(obj1
);
8682 if (arg2
== NULL
) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8715 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8720 argc
= PyObject_Length(args
);
8721 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8722 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8727 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8731 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8734 return _wrap_LogTrace__SWIG_1(self
,args
);
8740 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8743 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8746 return _wrap_LogTrace__SWIG_0(self
,args
);
8751 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8756 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 unsigned long arg1
;
8759 wxString
*arg2
= 0 ;
8760 bool temp2
= False
;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "level",(char *) "msg", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 arg2
= wxString_in_helper(obj1
);
8772 if (arg2
== NULL
) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxString
*arg1
= 0 ;
8800 wxString
*arg2
= 0 ;
8801 bool temp1
= False
;
8802 bool temp2
= False
;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8806 (char *) "title",(char *) "text", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8811 arg1
= wxString_in_helper(obj0
);
8812 if (arg1
== NULL
) SWIG_fail
;
8816 arg2
= wxString_in_helper(obj1
);
8817 if (arg2
== NULL
) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8850 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (wxLogNull
*)new wxLogNull();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8872 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8877 (char *) "self", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 Py_INCREF(Py_None
); resultobj
= Py_None
;
8897 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8900 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8902 return Py_BuildValue((char *)"");
8904 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxPyLog
*)new wxPyLog();
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8926 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
;
8928 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8929 PyObject
*arg2
= (PyObject
*) 0 ;
8930 PyObject
*arg3
= (PyObject
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "self",(char *) "_class", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8960 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8962 return Py_BuildValue((char *)"");
8964 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8967 int arg2
= (int) wxSIGTERM
;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8972 (char *) "pid",(char *) "sig", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8976 arg1
= (int) SWIG_AsInt(obj0
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= SWIG_FromInt((int)result
);
8996 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "pid", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9006 arg1
= (int) SWIG_AsInt(obj0
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (bool)wxPyProcess::Exists(arg1
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9024 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxString
*arg1
= 0 ;
9027 int arg2
= (int) wxEXEC_ASYNC
;
9028 wxPyProcess
*result
;
9029 bool temp1
= False
;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "cmd",(char *) "flags", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9038 arg1
= wxString_in_helper(obj0
);
9039 if (arg1
== NULL
) SWIG_fail
;
9043 arg2
= (int) SWIG_AsInt(obj1
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9068 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9071 int arg2
= (int) -1 ;
9072 wxPyProcess
*result
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9076 (char *) "parent",(char *) "id", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 arg2
= (int) SWIG_AsInt(obj1
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9102 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9105 PyObject
*arg2
= (PyObject
*) 0 ;
9106 PyObject
*arg3
= (PyObject
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9109 PyObject
* obj2
= 0 ;
9111 (char *) "self",(char *) "self",(char *) "_class", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 Py_INCREF(Py_None
); resultobj
= Py_None
;
9133 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 PyObject
* obj2
= 0 ;
9142 (char *) "self",(char *) "pid",(char *) "status", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9148 arg2
= (int) SWIG_AsInt(obj1
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9150 arg3
= (int) SWIG_AsInt(obj2
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->base_OnTerminate(arg2
,arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 Py_INCREF(Py_None
); resultobj
= Py_None
;
9191 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (bool)(arg1
)->IsRedirected();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9219 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 Py_INCREF(Py_None
); resultobj
= Py_None
;
9244 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9247 wxInputStream
*result
;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 wxPyInputStream
* _ptr
= NULL
;
9267 _ptr
= new wxPyInputStream(result
);
9269 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9277 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9280 wxInputStream
*result
;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 wxPyInputStream
* _ptr
= NULL
;
9300 _ptr
= new wxPyInputStream(result
);
9302 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9310 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9313 wxOutputStream
*result
;
9314 PyObject
* obj0
= 0 ;
9316 (char *) "self", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9336 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9341 (char *) "self", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",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 (arg1
)->CloseOutput();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 Py_INCREF(Py_None
); resultobj
= Py_None
;
9361 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9389 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9417 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9448 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9450 return Py_BuildValue((char *)"");
9452 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 int arg1
= (int) 0 ;
9455 int arg2
= (int) 0 ;
9456 int arg3
= (int) 0 ;
9457 wxProcessEvent
*result
;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9462 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9467 arg1
= (int) SWIG_AsInt(obj0
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 arg2
= (int) SWIG_AsInt(obj1
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 arg3
= (int) SWIG_AsInt(obj2
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9492 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (int)(arg1
)->GetPid();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_FromInt((int)result
);
9518 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9524 (char *) "self", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (int)(arg1
)->GetExitCode();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_FromInt((int)result
);
9544 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9551 (char *) "self",(char *) "m_pid", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 arg2
= (int) SWIG_AsInt(obj1
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9559 if (arg1
) (arg1
)->m_pid
= arg2
;
9561 Py_INCREF(Py_None
); resultobj
= Py_None
;
9568 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9580 result
= (int) ((arg1
)->m_pid
);
9582 resultobj
= SWIG_FromInt((int)result
);
9589 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9596 (char *) "self",(char *) "m_exitcode", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 arg2
= (int) SWIG_AsInt(obj1
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9604 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9606 Py_INCREF(Py_None
); resultobj
= Py_None
;
9613 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9625 result
= (int) ((arg1
)->m_exitcode
);
9627 resultobj
= SWIG_FromInt((int)result
);
9634 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9637 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9639 return Py_BuildValue((char *)"");
9641 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxString
*arg1
= 0 ;
9644 int arg2
= (int) wxEXEC_ASYNC
;
9645 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9647 bool temp1
= False
;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9650 PyObject
* obj2
= 0 ;
9652 (char *) "command",(char *) "flags",(char *) "process", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9657 arg1
= wxString_in_helper(obj0
);
9658 if (arg1
== NULL
) SWIG_fail
;
9662 arg2
= (int) SWIG_AsInt(obj1
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 if (!wxPyCheckForApp()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_FromLong((long)result
);
9692 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 int arg1
= (int) wxJOYSTICK1
;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "joystick", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9703 arg1
= (int) SWIG_AsInt(obj0
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9707 if (!wxPyCheckForApp()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (wxJoystick
*)new wxJoystick(arg1
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9721 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9726 (char *) "self", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 Py_INCREF(Py_None
); resultobj
= Py_None
;
9746 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (arg1
)->GetPosition();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 wxPoint
* resultptr
;
9767 resultptr
= new wxPoint((wxPoint
&) result
);
9768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9776 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (int)(arg1
)->GetZPosition();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_FromInt((int)result
);
9802 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetButtonState();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (int)(arg1
)->GetPOVPosition();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_FromInt((int)result
);
9854 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (int)(arg1
)->GetPOVCTSPosition();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_FromInt((int)result
);
9880 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)(arg1
)->GetRudderPosition();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_FromInt((int)result
);
9906 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (int)(arg1
)->GetUPosition();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_FromInt((int)result
);
9932 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9938 (char *) "self", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (int)(arg1
)->GetVPosition();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_FromInt((int)result
);
9958 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9964 (char *) "self", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (int)(arg1
)->GetMovementThreshold();
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_FromInt((int)result
);
9984 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9991 (char *) "self",(char *) "threshold", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9997 arg2
= (int) SWIG_AsInt(obj1
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 (arg1
)->SetMovementThreshold(arg2
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 Py_INCREF(Py_None
); resultobj
= Py_None
;
10013 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (bool)(arg1
)->IsOk();
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10041 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
;
10043 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10045 PyObject
* obj0
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (int)(arg1
)->GetNumberJoysticks();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_FromInt((int)result
);
10067 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (int)(arg1
)->GetManufacturerId();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_FromInt((int)result
);
10093 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (int)(arg1
)->GetProductId();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_FromInt((int)result
);
10119 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (arg1
)->GetProductName();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10151 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (int)(arg1
)->GetXMin();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_FromInt((int)result
);
10177 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (int)(arg1
)->GetYMin();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_FromInt((int)result
);
10203 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetZMin();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_FromInt((int)result
);
10229 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetXMax();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_FromInt((int)result
);
10255 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)(arg1
)->GetYMax();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_FromInt((int)result
);
10281 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)(arg1
)->GetZMax();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_FromInt((int)result
);
10307 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetNumberButtons();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_FromInt((int)result
);
10333 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetNumberAxes();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_FromInt((int)result
);
10359 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->GetMaxButtons();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_FromInt((int)result
);
10385 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (int)(arg1
)->GetMaxAxes();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_FromInt((int)result
);
10411 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (int)(arg1
)->GetPollingMin();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_FromInt((int)result
);
10437 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (int)(arg1
)->GetPollingMax();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_FromInt((int)result
);
10463 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
;
10465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (int)(arg1
)->GetRudderMin();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_FromInt((int)result
);
10489 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)(arg1
)->GetRudderMax();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_FromInt((int)result
);
10515 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (int)(arg1
)->GetUMin();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_FromInt((int)result
);
10541 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (int)(arg1
)->GetUMax();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_FromInt((int)result
);
10567 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (int)(arg1
)->GetVMin();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_FromInt((int)result
);
10593 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (int)(arg1
)->GetVMax();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_FromInt((int)result
);
10619 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (bool)(arg1
)->HasRudder();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10647 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (bool)(arg1
)->HasZ();
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10675 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10679 PyObject
* obj0
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (bool)(arg1
)->HasU();
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10703 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (bool)(arg1
)->HasV();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10731 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (bool)(arg1
)->HasPOV();
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10759 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (bool)(arg1
)->HasPOV4Dir();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (bool)(arg1
)->HasPOVCTS();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10815 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10818 wxWindow
*arg2
= (wxWindow
*) 0 ;
10819 int arg3
= (int) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 arg3
= (int) SWIG_AsInt(obj2
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10853 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (bool)(arg1
)->ReleaseCapture();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10881 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10884 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10886 return Py_BuildValue((char *)"");
10888 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10891 wxPoint
*arg2
= (wxPoint
*) 0 ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self",(char *) "m_pos", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 if (arg1
) (arg1
)->m_pos
= *arg2
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10933 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "m_zPosition", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 arg2
= (int) SWIG_AsInt(obj1
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10948 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 result
= (int) ((arg1
)->m_zPosition
);
10971 resultobj
= SWIG_FromInt((int)result
);
10978 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "m_buttonChange", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 arg2
= (int) SWIG_AsInt(obj1
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10993 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 result
= (int) ((arg1
)->m_buttonChange
);
11016 resultobj
= SWIG_FromInt((int)result
);
11023 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "m_buttonState", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11036 arg2
= (int) SWIG_AsInt(obj1
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11038 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11059 result
= (int) ((arg1
)->m_buttonState
);
11061 resultobj
= SWIG_FromInt((int)result
);
11068 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "m_joyStick", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (int) SWIG_AsInt(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11083 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 result
= (int) ((arg1
)->m_joyStick
);
11106 resultobj
= SWIG_FromInt((int)result
);
11113 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11116 int arg2
= (int) 0 ;
11117 int arg3
= (int) wxJOYSTICK1
;
11118 int arg4
= (int) 0 ;
11119 wxJoystickEvent
*result
;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 PyObject
* obj2
= 0 ;
11123 PyObject
* obj3
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11130 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 arg2
= (int) SWIG_AsInt(obj1
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 arg3
= (int) SWIG_AsInt(obj2
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 arg4
= (int) SWIG_AsInt(obj3
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11159 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 wxPoint
* resultptr
;
11180 resultptr
= new wxPoint((wxPoint
&) result
);
11181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11189 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_FromInt((int)result
);
11215 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_FromInt((int)result
);
11241 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_FromInt((int)result
);
11267 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_FromInt((int)result
);
11293 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "stick", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 arg2
= (int) SWIG_AsInt(obj1
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 (arg1
)->SetJoystick(arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 Py_INCREF(Py_None
); resultobj
= Py_None
;
11322 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self",(char *) "state", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11335 arg2
= (int) SWIG_AsInt(obj1
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 (arg1
)->SetButtonState(arg2
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 Py_INCREF(Py_None
); resultobj
= Py_None
;
11351 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "change", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11364 arg2
= (int) SWIG_AsInt(obj1
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 (arg1
)->SetButtonChange(arg2
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11383 wxPoint
*arg2
= 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "pos", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 Py_INCREF(Py_None
); resultobj
= Py_None
;
11412 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "zPos", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 arg2
= (int) SWIG_AsInt(obj1
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 (arg1
)->SetZPosition(arg2
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 Py_INCREF(Py_None
); resultobj
= Py_None
;
11441 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11469 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11497 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11525 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11528 int arg2
= (int) wxJOY_BUTTON_ANY
;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "but", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 arg2
= (int) SWIG_AsInt(obj1
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11562 int arg2
= (int) wxJOY_BUTTON_ANY
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "but", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 arg2
= (int) SWIG_AsInt(obj1
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11593 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11596 int arg2
= (int) wxJOY_BUTTON_ANY
;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self",(char *) "but", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 arg2
= (int) SWIG_AsInt(obj1
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11627 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11630 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11632 return Py_BuildValue((char *)"");
11634 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11637 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11639 bool temp1
= False
;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "fileName", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11648 arg1
= wxString_in_helper(obj0
);
11649 if (arg1
== NULL
) SWIG_fail
;
11654 if (!wxPyCheckForApp()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11676 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 PyObject
*arg1
= (PyObject
*) 0 ;
11680 PyObject
* obj0
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "data", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11688 if (!wxPyCheckForApp()) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxSound
*)new_wxSound(arg1
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11702 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxSound
*arg1
= (wxSound
*) 0 ;
11705 PyObject
* obj0
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "self", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 Py_INCREF(Py_None
); resultobj
= Py_None
;
11727 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxSound
*arg1
= (wxSound
*) 0 ;
11730 wxString
*arg2
= 0 ;
11732 bool temp2
= False
;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "fileName", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 arg2
= wxString_in_helper(obj1
);
11744 if (arg2
== NULL
) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11771 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxSound
*arg1
= (wxSound
*) 0 ;
11774 PyObject
*arg2
= (PyObject
*) 0 ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self",(char *) "data", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11802 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxSound
*arg1
= (wxSound
*) 0 ;
11806 PyObject
* obj0
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (bool)(arg1
)->IsOk();
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11830 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxSound
*arg1
= (wxSound
*) 0 ;
11833 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self",(char *) "flags", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11845 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 if (!wxPyCheckForApp()) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11865 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxString
*arg1
= 0 ;
11868 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11870 bool temp1
= False
;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "filename",(char *) "flags", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11879 arg1
= wxString_in_helper(obj0
);
11880 if (arg1
== NULL
) SWIG_fail
;
11884 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 if (!wxPyCheckForApp()) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11912 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 char *kwnames
[] = {
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11920 if (!wxPyCheckForApp()) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 Py_INCREF(Py_None
); resultobj
= Py_None
;
11934 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11937 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11939 return Py_BuildValue((char *)"");
11941 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxString
*arg1
= 0 ;
11944 wxString
*arg2
= 0 ;
11945 wxString
*arg3
= 0 ;
11946 wxString
*arg4
= 0 ;
11947 wxFileTypeInfo
*result
;
11948 bool temp1
= False
;
11949 bool temp2
= False
;
11950 bool temp3
= False
;
11951 bool temp4
= False
;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 PyObject
* obj3
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11962 arg1
= wxString_in_helper(obj0
);
11963 if (arg1
== NULL
) SWIG_fail
;
11967 arg2
= wxString_in_helper(obj1
);
11968 if (arg2
== NULL
) SWIG_fail
;
11972 arg3
= wxString_in_helper(obj2
);
11973 if (arg3
== NULL
) SWIG_fail
;
11977 arg4
= wxString_in_helper(obj3
);
11978 if (arg4
== NULL
) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12027 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxArrayString
*arg1
= 0 ;
12030 wxFileTypeInfo
*result
;
12031 bool temp1
= False
;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "sArray", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12039 if (! PySequence_Check(obj0
)) {
12040 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12043 arg1
= new wxArrayString
;
12045 int i
, len
=PySequence_Length(obj0
);
12046 for (i
=0; i
<len
; i
++) {
12047 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12049 PyObject
* str
= PyObject_Unicode(item
);
12051 PyObject
* str
= PyObject_Str(item
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12054 arg1
->Add(Py2wxString(str
));
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12068 if (temp1
) delete arg1
;
12073 if (temp1
) delete arg1
;
12079 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxFileTypeInfo
*result
;
12082 char *kwnames
[] = {
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12101 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12129 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12132 wxString
*arg2
= 0 ;
12133 int arg3
= (int) 0 ;
12134 bool temp2
= False
;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 PyObject
* obj2
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12146 arg2
= wxString_in_helper(obj1
);
12147 if (arg2
== NULL
) SWIG_fail
;
12151 arg3
= (int) SWIG_AsInt(obj2
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12179 wxString
*arg2
= 0 ;
12180 bool temp2
= False
;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "shortDesc", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 arg2
= wxString_in_helper(obj1
);
12192 if (arg2
== NULL
) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12233 result
= (wxString
*) &_result_ref
;
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12243 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12252 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12268 result
= (wxString
*) &_result_ref
;
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12278 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12287 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12303 result
= (wxString
*) &_result_ref
;
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12313 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12322 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12338 result
= (wxString
*) &_result_ref
;
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12348 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12357 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12373 result
= (wxString
*) &_result_ref
;
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12383 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12392 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12395 wxArrayString
*result
;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12408 result
= (wxArrayString
*) &_result_ref
;
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= wxArrayString2PyList_helper(*result
);
12423 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_FromInt((int)result
);
12449 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12465 result
= (wxString
*) &_result_ref
;
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12475 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12484 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_FromInt((int)result
);
12510 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12513 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12515 return Py_BuildValue((char *)"");
12517 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxFileTypeInfo
*arg1
= 0 ;
12520 wxFileType
*result
;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "ftInfo", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12530 if (arg1
== NULL
) {
12531 PyErr_SetString(PyExc_TypeError
,"null reference");
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12548 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxFileType
*arg1
= (wxFileType
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxFileType
*arg1
= (wxFileType
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= result
;
12599 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxFileType
*arg1
= (wxFileType
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= result
;
12625 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxFileType
*arg1
= (wxFileType
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= result
;
12651 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxFileType
*arg1
= (wxFileType
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12677 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFileType
*arg1
= (wxFileType
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= result
;
12703 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxFileType
*arg1
= (wxFileType
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= result
;
12729 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxFileType
*arg1
= (wxFileType
*) 0 ;
12732 wxString
*arg2
= 0 ;
12733 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12734 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12736 bool temp2
= False
;
12737 bool temp3
= False
;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 PyObject
* obj2
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12749 arg2
= wxString_in_helper(obj1
);
12750 if (arg2
== NULL
) SWIG_fail
;
12755 arg3
= wxString_in_helper(obj2
);
12756 if (arg3
== NULL
) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= result
;
12790 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxFileType
*arg1
= (wxFileType
*) 0 ;
12793 wxString
*arg2
= 0 ;
12794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12797 bool temp2
= False
;
12798 bool temp3
= False
;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 PyObject
* obj2
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12810 arg2
= wxString_in_helper(obj1
);
12811 if (arg2
== NULL
) SWIG_fail
;
12816 arg3
= wxString_in_helper(obj2
);
12817 if (arg3
== NULL
) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= result
;
12851 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxFileType
*arg1
= (wxFileType
*) 0 ;
12854 wxString
*arg2
= 0 ;
12855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12858 bool temp2
= False
;
12859 bool temp3
= False
;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 PyObject
* obj2
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 arg2
= wxString_in_helper(obj1
);
12872 if (arg2
== NULL
) SWIG_fail
;
12877 arg3
= wxString_in_helper(obj2
);
12878 if (arg3
== NULL
) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
;
12912 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxFileType
*arg1
= (wxFileType
*) 0 ;
12915 wxString
*arg2
= 0 ;
12916 wxString
*arg3
= 0 ;
12917 bool arg4
= (bool) True
;
12919 bool temp2
= False
;
12920 bool temp3
= False
;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 PyObject
* obj2
= 0 ;
12924 PyObject
* obj3
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 arg2
= wxString_in_helper(obj1
);
12934 if (arg2
== NULL
) SWIG_fail
;
12938 arg3
= wxString_in_helper(obj2
);
12939 if (arg3
== NULL
) SWIG_fail
;
12943 arg4
= (bool) SWIG_AsBool(obj3
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12978 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxFileType
*arg1
= (wxFileType
*) 0 ;
12981 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12982 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12983 int arg3
= (int) 0 ;
12985 bool temp2
= False
;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "cmd",(char *) "index", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 arg2
= wxString_in_helper(obj1
);
12999 if (arg2
== NULL
) SWIG_fail
;
13004 arg3
= (int) SWIG_AsInt(obj2
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13031 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxFileType
*arg1
= (wxFileType
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->Unassociate();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13059 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxString
*arg1
= 0 ;
13062 wxString
*arg2
= 0 ;
13063 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13064 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13066 bool temp1
= False
;
13067 bool temp2
= False
;
13068 bool temp3
= False
;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 PyObject
* obj2
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13078 arg1
= wxString_in_helper(obj0
);
13079 if (arg1
== NULL
) SWIG_fail
;
13083 arg2
= wxString_in_helper(obj1
);
13084 if (arg2
== NULL
) SWIG_fail
;
13089 arg3
= wxString_in_helper(obj2
);
13090 if (arg3
== NULL
) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13138 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13141 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13143 return Py_BuildValue((char *)"");
13145 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13146 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13151 static PyObject
*_wrap_TheMimeTypesManager_get() {
13154 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13159 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxString
*arg1
= 0 ;
13162 wxString
*arg2
= 0 ;
13164 bool temp1
= False
;
13165 bool temp2
= False
;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "mimeType",(char *) "wildcard", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13174 arg1
= wxString_in_helper(obj0
);
13175 if (arg1
== NULL
) SWIG_fail
;
13179 arg2
= wxString_in_helper(obj1
);
13180 if (arg2
== NULL
) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxMimeTypesManager
*result
;
13218 char *kwnames
[] = {
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13237 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13240 int arg2
= (int) wxMAILCAP_ALL
;
13241 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13242 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13243 bool temp3
= False
;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 PyObject
* obj2
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 arg2
= (int) SWIG_AsInt(obj1
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13260 arg3
= wxString_in_helper(obj2
);
13261 if (arg3
== NULL
) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 Py_INCREF(Py_None
); resultobj
= Py_None
;
13287 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->ClearData();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13315 wxString
*arg2
= 0 ;
13316 wxFileType
*result
;
13317 bool temp2
= False
;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "ext", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 arg2
= wxString_in_helper(obj1
);
13329 if (arg2
== NULL
) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13354 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13357 wxString
*arg2
= 0 ;
13358 wxFileType
*result
;
13359 bool temp2
= False
;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "mimeType", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 arg2
= wxString_in_helper(obj1
);
13371 if (arg2
== NULL
) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13396 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13399 wxString
*arg2
= 0 ;
13400 bool arg3
= (bool) False
;
13402 bool temp2
= False
;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 PyObject
* obj2
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 arg2
= wxString_in_helper(obj1
);
13415 if (arg2
== NULL
) SWIG_fail
;
13419 arg3
= (bool) SWIG_AsBool(obj2
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13446 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13449 wxString
*arg2
= 0 ;
13451 bool temp2
= False
;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "filename", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13462 arg2
= wxString_in_helper(obj1
);
13463 if (arg2
== NULL
) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13490 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
;
13516 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13519 wxFileTypeInfo
*arg2
= 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "ft", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13532 if (arg2
== NULL
) {
13533 PyErr_SetString(PyExc_TypeError
,"null reference");
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13553 wxFileTypeInfo
*arg2
= 0 ;
13554 wxFileType
*result
;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "ftInfo", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13567 if (arg2
== NULL
) {
13568 PyErr_SetString(PyExc_TypeError
,"null reference");
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13585 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13588 wxFileType
*arg2
= (wxFileType
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 PyObject
* obj1
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self",(char *) "ft", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (bool)(arg1
)->Unassociate(arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13617 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13645 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13647 return Py_BuildValue((char *)"");
13649 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13650 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13655 static PyObject
*_wrap_ART_TOOLBAR_get() {
13660 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13662 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13669 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13670 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13675 static PyObject
*_wrap_ART_MENU_get() {
13680 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13682 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13689 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13690 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13695 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13700 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13702 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13709 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13710 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13715 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13720 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13722 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13729 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13730 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13735 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13740 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13742 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13749 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13750 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13755 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13760 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13762 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13769 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13770 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13775 static PyObject
*_wrap_ART_OTHER_get() {
13780 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13782 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13789 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13790 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13795 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13800 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13802 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13809 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13810 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13815 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13820 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13822 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13829 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13835 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13840 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13842 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13849 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13850 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13855 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13860 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13862 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13869 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13870 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13875 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13880 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13882 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13889 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13890 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13895 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13900 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13902 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13909 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13910 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13915 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13920 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13922 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13929 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13930 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13935 static PyObject
*_wrap_ART_GO_BACK_get() {
13940 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13942 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13949 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13950 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13955 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13960 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13962 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13969 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13970 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13975 static PyObject
*_wrap_ART_GO_UP_get() {
13980 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13989 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13990 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13995 static PyObject
*_wrap_ART_GO_DOWN_get() {
14000 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14009 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14010 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14015 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14020 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14022 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14029 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14030 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14035 static PyObject
*_wrap_ART_GO_HOME_get() {
14040 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14042 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14049 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14050 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14055 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14060 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14062 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14069 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14070 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14075 static PyObject
*_wrap_ART_PRINT_get() {
14080 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14082 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14089 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14090 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14095 static PyObject
*_wrap_ART_HELP_get() {
14100 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14102 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14109 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14110 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14115 static PyObject
*_wrap_ART_TIP_get() {
14120 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14122 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14129 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14130 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14135 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14140 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14142 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14149 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14150 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14155 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14160 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14162 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14169 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14170 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14175 static PyObject
*_wrap_ART_NEW_DIR_get() {
14180 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14182 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14189 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14190 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14195 static PyObject
*_wrap_ART_FOLDER_get() {
14200 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14202 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14209 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14210 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14215 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14220 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14222 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14229 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14230 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14235 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14240 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14242 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14249 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14250 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14255 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14260 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14262 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14269 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14270 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14275 static PyObject
*_wrap_ART_TICK_MARK_get() {
14280 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14282 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14289 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14290 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14295 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14300 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14302 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14309 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14310 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14315 static PyObject
*_wrap_ART_ERROR_get() {
14320 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14322 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14329 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14330 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14335 static PyObject
*_wrap_ART_QUESTION_get() {
14340 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14342 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14349 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14350 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14355 static PyObject
*_wrap_ART_WARNING_get() {
14360 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14362 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14369 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14370 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14375 static PyObject
*_wrap_ART_INFORMATION_get() {
14380 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14382 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14389 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14390 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14395 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14400 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14402 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14409 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxPyArtProvider
*result
;
14412 char *kwnames
[] = {
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14418 if (!wxPyCheckForApp()) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14432 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14435 PyObject
*arg2
= (PyObject
*) 0 ;
14436 PyObject
*arg3
= (PyObject
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 PyObject
* obj2
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self",(char *) "self",(char *) "_class", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 Py_INCREF(Py_None
); resultobj
= Py_None
;
14463 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "provider", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 wxPyArtProvider::PushProvider(arg1
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 Py_INCREF(Py_None
); resultobj
= Py_None
;
14488 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14491 char *kwnames
[] = {
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (bool)wxPyArtProvider::PopProvider();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14512 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "provider", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14540 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxString
*arg1
= 0 ;
14543 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14544 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14545 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14546 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14548 bool temp1
= False
;
14549 bool temp2
= False
;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 PyObject
* obj2
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "id",(char *) "client",(char *) "size", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14560 arg1
= wxString_in_helper(obj0
);
14561 if (arg1
== NULL
) SWIG_fail
;
14566 arg2
= wxString_in_helper(obj1
);
14567 if (arg2
== NULL
) SWIG_fail
;
14574 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14578 if (!wxPyCheckForApp()) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 wxBitmap
* resultptr
;
14587 resultptr
= new wxBitmap((wxBitmap
&) result
);
14588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14612 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxString
*arg1
= 0 ;
14615 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14616 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14617 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14618 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14620 bool temp1
= False
;
14621 bool temp2
= False
;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 PyObject
* obj2
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "id",(char *) "client",(char *) "size", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14632 arg1
= wxString_in_helper(obj0
);
14633 if (arg1
== NULL
) SWIG_fail
;
14638 arg2
= wxString_in_helper(obj1
);
14639 if (arg2
== NULL
) SWIG_fail
;
14646 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14650 if (!wxPyCheckForApp()) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 wxIcon
* resultptr
;
14659 resultptr
= new wxIcon((wxIcon
&) result
);
14660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14684 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 wxPyArtProvider_Destroy(arg1
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 Py_INCREF(Py_None
); resultobj
= Py_None
;
14709 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14712 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14714 return Py_BuildValue((char *)"");
14716 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 Py_INCREF(Py_None
); resultobj
= Py_None
;
14741 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14744 wxConfigBase
*result
;
14745 PyObject
* obj0
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "config", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14767 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 bool arg1
= (bool) True
;
14770 wxConfigBase
*result
;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "createOnDemand", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14778 arg1
= (bool) SWIG_AsBool(obj0
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14795 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxConfigBase
*result
;
14798 char *kwnames
[] = {
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (wxConfigBase
*)wxConfigBase::Create();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14817 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 char *kwnames
[] = {
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 wxConfigBase::DontCreateOnDemand();
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14841 wxString
*arg2
= 0 ;
14842 bool temp2
= False
;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self",(char *) "path", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 arg2
= wxString_in_helper(obj1
);
14854 if (arg2
== NULL
) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 (arg1
)->SetPath((wxString
const &)*arg2
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14879 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14895 result
= (wxString
*) &_result_ref
;
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14905 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14914 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
;
14940 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "index", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 arg2
= (long) SWIG_AsLong(obj1
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= result
;
14970 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= result
;
14996 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self",(char *) "index", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15010 arg2
= (long) SWIG_AsLong(obj1
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= result
;
15026 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15029 bool arg2
= (bool) False
;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "recursive", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 arg2
= (bool) SWIG_AsBool(obj1
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15058 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15061 bool arg2
= (bool) False
;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self",(char *) "recursive", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 arg2
= (bool) SWIG_AsBool(obj1
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15090 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15093 wxString
*arg2
= 0 ;
15095 bool temp2
= False
;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self",(char *) "name", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 arg2
= wxString_in_helper(obj1
);
15107 if (arg2
== NULL
) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15134 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15137 wxString
*arg2
= 0 ;
15139 bool temp2
= False
;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self",(char *) "name", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 arg2
= wxString_in_helper(obj1
);
15151 if (arg2
== NULL
) SWIG_fail
;
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15181 wxString
*arg2
= 0 ;
15183 bool temp2
= False
;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self",(char *) "name", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 arg2
= wxString_in_helper(obj1
);
15195 if (arg2
== NULL
) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15222 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15225 wxString
*arg2
= 0 ;
15227 bool temp2
= False
;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self",(char *) "name", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 arg2
= wxString_in_helper(obj1
);
15239 if (arg2
== NULL
) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_FromInt((int)result
);
15264 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15267 wxString
*arg2
= 0 ;
15268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15271 bool temp2
= False
;
15272 bool temp3
= False
;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 PyObject
* obj2
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 arg2
= wxString_in_helper(obj1
);
15285 if (arg2
== NULL
) SWIG_fail
;
15290 arg3
= wxString_in_helper(obj2
);
15291 if (arg3
== NULL
) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15331 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15334 wxString
*arg2
= 0 ;
15335 long arg3
= (long) 0 ;
15337 bool temp2
= False
;
15338 PyObject
* obj0
= 0 ;
15339 PyObject
* obj1
= 0 ;
15340 PyObject
* obj2
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 arg2
= wxString_in_helper(obj1
);
15350 if (arg2
== NULL
) SWIG_fail
;
15354 arg3
= (long) SWIG_AsLong(obj2
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= SWIG_FromLong((long)result
);
15379 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15382 wxString
*arg2
= 0 ;
15383 double arg3
= (double) 0.0 ;
15385 bool temp2
= False
;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 PyObject
* obj2
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 arg2
= wxString_in_helper(obj1
);
15398 if (arg2
== NULL
) SWIG_fail
;
15402 arg3
= (double) SWIG_AsDouble(obj2
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_FromDouble((double)result
);
15427 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15430 wxString
*arg2
= 0 ;
15431 bool arg3
= (bool) False
;
15433 bool temp2
= False
;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 PyObject
* obj2
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 arg2
= wxString_in_helper(obj1
);
15446 if (arg2
== NULL
) SWIG_fail
;
15450 arg3
= (bool) SWIG_AsBool(obj2
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15477 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15480 wxString
*arg2
= 0 ;
15481 wxString
*arg3
= 0 ;
15483 bool temp2
= False
;
15484 bool temp3
= False
;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 PyObject
* obj2
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "key",(char *) "value", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15496 arg2
= wxString_in_helper(obj1
);
15497 if (arg2
== NULL
) SWIG_fail
;
15501 arg3
= wxString_in_helper(obj2
);
15502 if (arg3
== NULL
) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15537 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15540 wxString
*arg2
= 0 ;
15543 bool temp2
= False
;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self",(char *) "key",(char *) "value", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 arg2
= wxString_in_helper(obj1
);
15556 if (arg2
== NULL
) SWIG_fail
;
15559 arg3
= (long) SWIG_AsLong(obj2
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15585 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15588 wxString
*arg2
= 0 ;
15591 bool temp2
= False
;
15592 PyObject
* obj0
= 0 ;
15593 PyObject
* obj1
= 0 ;
15594 PyObject
* obj2
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self",(char *) "key",(char *) "value", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15603 arg2
= wxString_in_helper(obj1
);
15604 if (arg2
== NULL
) SWIG_fail
;
15607 arg3
= (double) SWIG_AsDouble(obj2
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15633 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15636 wxString
*arg2
= 0 ;
15639 bool temp2
= False
;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "key",(char *) "value", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 arg2
= wxString_in_helper(obj1
);
15652 if (arg2
== NULL
) SWIG_fail
;
15655 arg3
= (bool) SWIG_AsBool(obj2
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15681 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15684 bool arg2
= (bool) False
;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "currentOnly", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 arg2
= (bool) SWIG_AsBool(obj1
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (bool)(arg1
)->Flush(arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15715 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15718 wxString
*arg2
= 0 ;
15719 wxString
*arg3
= 0 ;
15721 bool temp2
= False
;
15722 bool temp3
= False
;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 arg2
= wxString_in_helper(obj1
);
15735 if (arg2
== NULL
) SWIG_fail
;
15739 arg3
= wxString_in_helper(obj2
);
15740 if (arg3
== NULL
) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15775 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15778 wxString
*arg2
= 0 ;
15779 wxString
*arg3
= 0 ;
15781 bool temp2
= False
;
15782 bool temp3
= False
;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 PyObject
* obj2
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 arg2
= wxString_in_helper(obj1
);
15795 if (arg2
== NULL
) SWIG_fail
;
15799 arg3
= wxString_in_helper(obj2
);
15800 if (arg3
== NULL
) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15835 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15838 wxString
*arg2
= 0 ;
15839 bool arg3
= (bool) True
;
15841 bool temp2
= False
;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 PyObject
* obj2
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 arg2
= wxString_in_helper(obj1
);
15854 if (arg2
== NULL
) SWIG_fail
;
15858 arg3
= (bool) SWIG_AsBool(obj2
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15885 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15888 wxString
*arg2
= 0 ;
15890 bool temp2
= False
;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self",(char *) "key", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 arg2
= wxString_in_helper(obj1
);
15902 if (arg2
== NULL
) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15929 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)(arg1
)->DeleteAll();
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15957 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15960 bool arg2
= (bool) True
;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "doIt", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15971 arg2
= (bool) SWIG_AsBool(obj1
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 (arg1
)->SetExpandEnvVars(arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 Py_INCREF(Py_None
); resultobj
= Py_None
;
15988 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16016 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16019 bool arg2
= (bool) True
;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "doIt", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16030 arg2
= (bool) SWIG_AsBool(obj1
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 (arg1
)->SetRecordDefaults(arg2
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16047 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16075 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16078 wxString
*arg2
= 0 ;
16080 bool temp2
= False
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self",(char *) "str", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 arg2
= wxString_in_helper(obj1
);
16092 if (arg2
== NULL
) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16123 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16155 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16187 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16190 wxString
*arg2
= 0 ;
16191 bool temp2
= False
;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self",(char *) "appName", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16202 arg2
= wxString_in_helper(obj1
);
16203 if (arg2
== NULL
) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 (arg1
)->SetAppName((wxString
const &)*arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16231 wxString
*arg2
= 0 ;
16232 bool temp2
= False
;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self",(char *) "vendorName", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16243 arg2
= wxString_in_helper(obj1
);
16244 if (arg2
== NULL
) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self",(char *) "style", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 arg2
= (long) SWIG_AsLong(obj1
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 (arg1
)->SetStyle(arg2
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 Py_INCREF(Py_None
); resultobj
= Py_None
;
16298 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= SWIG_FromLong((long)result
);
16324 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16327 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16329 return Py_BuildValue((char *)"");
16331 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16334 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16335 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16336 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16337 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16338 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16339 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16340 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16341 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16343 bool temp1
= False
;
16344 bool temp2
= False
;
16345 bool temp3
= False
;
16346 bool temp4
= False
;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 PyObject
* obj2
= 0 ;
16350 PyObject
* obj3
= 0 ;
16351 PyObject
* obj4
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16359 arg1
= wxString_in_helper(obj0
);
16360 if (arg1
== NULL
) SWIG_fail
;
16366 arg2
= wxString_in_helper(obj1
);
16367 if (arg2
== NULL
) SWIG_fail
;
16373 arg3
= wxString_in_helper(obj2
);
16374 if (arg3
== NULL
) SWIG_fail
;
16380 arg4
= wxString_in_helper(obj3
);
16381 if (arg4
== NULL
) SWIG_fail
;
16386 arg5
= (long) SWIG_AsLong(obj4
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16435 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxConfig
*arg1
= (wxConfig
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16463 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16465 return Py_BuildValue((char *)"");
16467 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16470 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16471 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16472 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16473 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16474 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16477 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16478 wxFileConfig
*result
;
16479 bool temp1
= False
;
16480 bool temp2
= False
;
16481 bool temp3
= False
;
16482 bool temp4
= False
;
16483 PyObject
* obj0
= 0 ;
16484 PyObject
* obj1
= 0 ;
16485 PyObject
* obj2
= 0 ;
16486 PyObject
* obj3
= 0 ;
16487 PyObject
* obj4
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16495 arg1
= wxString_in_helper(obj0
);
16496 if (arg1
== NULL
) SWIG_fail
;
16502 arg2
= wxString_in_helper(obj1
);
16503 if (arg2
== NULL
) SWIG_fail
;
16509 arg3
= wxString_in_helper(obj2
);
16510 if (arg3
== NULL
) SWIG_fail
;
16516 arg4
= wxString_in_helper(obj3
);
16517 if (arg4
== NULL
) SWIG_fail
;
16522 arg5
= (long) SWIG_AsLong(obj4
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16571 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16599 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16601 return Py_BuildValue((char *)"");
16603 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16606 wxString
*arg2
= 0 ;
16607 wxConfigPathChanger
*result
;
16608 bool temp2
= False
;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "config",(char *) "entry", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16619 arg2
= wxString_in_helper(obj1
);
16620 if (arg2
== NULL
) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16645 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 Py_INCREF(Py_None
); resultobj
= Py_None
;
16670 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16686 result
= (wxString
*) &_result_ref
;
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16705 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16708 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16710 return Py_BuildValue((char *)"");
16712 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
;
16714 wxString
*arg1
= 0 ;
16716 bool temp1
= False
;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "sz", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16724 arg1
= wxString_in_helper(obj0
);
16725 if (arg1
== NULL
) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16756 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16757 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16762 static PyObject
*_wrap_DateFormatStr_get() {
16767 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16769 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16776 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16777 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16782 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16787 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16789 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16796 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "country", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16805 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 Py_INCREF(Py_None
); resultobj
= Py_None
;
16821 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16824 char *kwnames
[] = {
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (int)wxDateTime::GetCountry();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_FromInt((int)result
);
16843 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 int arg1
= (int) wxDateTime::Country_Default
;
16847 PyObject
* obj0
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "country", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16854 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 int arg1
= (int) wxDateTime::Gregorian
;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "cal", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16884 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_FromInt((int)result
);
16901 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "year", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16911 arg1
= (int) SWIG_AsInt(obj0
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_FromInt((int)result
);
16927 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 int arg1
= (int) wxDateTime::Gregorian
;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "cal", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16938 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_FromInt((int)result
);
16955 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 int arg1
= (int) wxDateTime::Inv_Year
;
16958 int arg2
= (int) wxDateTime::Gregorian
;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "year",(char *) "cal", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16968 arg1
= (int) SWIG_AsInt(obj0
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16991 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 int arg1
= (int) wxDateTime::Inv_Year
;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "year", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17002 arg1
= (int) SWIG_AsInt(obj0
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (int)wxDateTime::GetCentury(arg1
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= SWIG_FromInt((int)result
);
17019 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17022 int arg2
= (int) wxDateTime::Gregorian
;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "year",(char *) "cal", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17031 arg1
= (int) SWIG_AsInt(obj0
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_FromInt((int)result
);
17051 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17054 int arg2
= (int) wxDateTime::Inv_Year
;
17055 int arg3
= (int) wxDateTime::Gregorian
;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 PyObject
* obj2
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "month",(char *) "year",(char *) "cal", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17065 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 arg2
= (int) SWIG_AsInt(obj1
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= SWIG_FromInt((int)result
);
17089 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17092 int arg2
= (int) wxDateTime::Name_Full
;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "month",(char *) "flags", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17101 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17127 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17130 int arg2
= (int) wxDateTime::Name_Full
;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "weekday",(char *) "flags", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17165 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxString
*arg1
= (wxString
*) 0 ;
17168 wxString
*arg2
= (wxString
*) 0 ;
17169 bool temp1
= False
;
17170 bool temp2
= False
;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 arg1
= wxString_in_helper(obj0
);
17180 if (arg1
== NULL
) SWIG_fail
;
17184 arg2
= wxString_in_helper(obj1
);
17185 if (arg2
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 Py_INCREF(Py_None
); resultobj
= Py_None
;
17218 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 int arg1
= (int) wxDateTime::Inv_Year
;
17221 int arg2
= (int) wxDateTime::Country_Default
;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "year",(char *) "country", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17231 arg1
= (int) SWIG_AsInt(obj0
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17254 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 int arg1
= (int) wxDateTime::Inv_Year
;
17257 int arg2
= (int) wxDateTime::Country_Default
;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "year",(char *) "country", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17267 arg1
= (int) SWIG_AsInt(obj0
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17282 wxDateTime
* resultptr
;
17283 resultptr
= new wxDateTime((wxDateTime
&) result
);
17284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17292 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 int arg1
= (int) wxDateTime::Inv_Year
;
17295 int arg2
= (int) wxDateTime::Country_Default
;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "year",(char *) "country", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17305 arg1
= (int) SWIG_AsInt(obj0
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17309 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17320 wxDateTime
* resultptr
;
17321 resultptr
= new wxDateTime((wxDateTime
&) result
);
17322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17330 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17333 char *kwnames
[] = {
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= wxDateTime::Now();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 wxDateTime
* resultptr
;
17347 resultptr
= new wxDateTime((wxDateTime
&) result
);
17348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17356 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17359 char *kwnames
[] = {
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= wxDateTime::UNow();
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 wxDateTime
* resultptr
;
17373 resultptr
= new wxDateTime((wxDateTime
&) result
);
17374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17382 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17385 char *kwnames
[] = {
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= wxDateTime::Today();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 wxDateTime
* resultptr
;
17399 resultptr
= new wxDateTime((wxDateTime
&) result
);
17400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17408 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxDateTime
*result
;
17411 char *kwnames
[] = {
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (wxDateTime
*)new wxDateTime();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17430 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17433 wxDateTime
*result
;
17434 PyObject
* obj0
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "timet", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17440 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (wxDateTime
*)new wxDateTime(arg1
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17456 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17459 wxDateTime
*result
;
17460 PyObject
* obj0
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "jdn", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17466 arg1
= (double) SWIG_AsDouble(obj0
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (wxDateTime
*)new wxDateTime(arg1
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17482 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17485 int arg2
= (int) 0 ;
17486 int arg3
= (int) 0 ;
17487 int arg4
= (int) 0 ;
17488 wxDateTime
*result
;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 PyObject
* obj3
= 0 ;
17493 char *kwnames
[] = {
17494 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17498 arg1
= (int) SWIG_AsInt(obj0
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 arg2
= (int) SWIG_AsInt(obj1
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 arg3
= (int) SWIG_AsInt(obj2
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 arg4
= (int) SWIG_AsInt(obj3
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17526 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17529 int arg2
= (int) wxDateTime::Inv_Month
;
17530 int arg3
= (int) wxDateTime::Inv_Year
;
17531 int arg4
= (int) 0 ;
17532 int arg5
= (int) 0 ;
17533 int arg6
= (int) 0 ;
17534 int arg7
= (int) 0 ;
17535 wxDateTime
*result
;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 PyObject
* obj2
= 0 ;
17539 PyObject
* obj3
= 0 ;
17540 PyObject
* obj4
= 0 ;
17541 PyObject
* obj5
= 0 ;
17542 PyObject
* obj6
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17548 arg1
= (int) SWIG_AsInt(obj0
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 arg3
= (int) SWIG_AsInt(obj2
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17559 arg4
= (int) SWIG_AsInt(obj3
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 arg5
= (int) SWIG_AsInt(obj4
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 arg6
= (int) SWIG_AsInt(obj5
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 arg7
= (int) SWIG_AsInt(obj6
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17588 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 Py_INCREF(Py_None
); resultobj
= Py_None
;
17613 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17616 wxDateTime
*result
;
17617 PyObject
* obj0
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17629 result
= (wxDateTime
*) &_result_ref
;
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17642 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17646 wxDateTime
*result
;
17647 PyObject
* obj0
= 0 ;
17648 PyObject
* obj1
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self",(char *) "timet", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17656 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17662 result
= (wxDateTime
*) &_result_ref
;
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17675 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17679 wxDateTime
*result
;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "jdn", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 arg2
= (double) SWIG_AsDouble(obj1
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17695 result
= (wxDateTime
*) &_result_ref
;
17698 wxPyEndAllowThreads(__tstate
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17708 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17712 int arg3
= (int) 0 ;
17713 int arg4
= (int) 0 ;
17714 int arg5
= (int) 0 ;
17715 wxDateTime
*result
;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 PyObject
* obj2
= 0 ;
17719 PyObject
* obj3
= 0 ;
17720 PyObject
* obj4
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17728 arg2
= (int) SWIG_AsInt(obj1
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 arg3
= (int) SWIG_AsInt(obj2
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 arg4
= (int) SWIG_AsInt(obj3
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 arg5
= (int) SWIG_AsInt(obj4
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17746 result
= (wxDateTime
*) &_result_ref
;
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17759 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17763 int arg3
= (int) wxDateTime::Inv_Month
;
17764 int arg4
= (int) wxDateTime::Inv_Year
;
17765 int arg5
= (int) 0 ;
17766 int arg6
= (int) 0 ;
17767 int arg7
= (int) 0 ;
17768 int arg8
= (int) 0 ;
17769 wxDateTime
*result
;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 PyObject
* obj2
= 0 ;
17773 PyObject
* obj3
= 0 ;
17774 PyObject
* obj4
= 0 ;
17775 PyObject
* obj5
= 0 ;
17776 PyObject
* obj6
= 0 ;
17777 PyObject
* obj7
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17785 arg2
= (int) SWIG_AsInt(obj1
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 arg4
= (int) SWIG_AsInt(obj3
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 arg5
= (int) SWIG_AsInt(obj4
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 arg6
= (int) SWIG_AsInt(obj5
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 arg7
= (int) SWIG_AsInt(obj6
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 arg8
= (int) SWIG_AsInt(obj7
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17815 result
= (wxDateTime
*) &_result_ref
;
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17828 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17831 wxDateTime
*result
;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17844 result
= (wxDateTime
*) &_result_ref
;
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17857 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
;
17859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17861 wxDateTime
*result
;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self",(char *) "year", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 arg2
= (int) SWIG_AsInt(obj1
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17877 result
= (wxDateTime
*) &_result_ref
;
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17890 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17894 wxDateTime
*result
;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "month", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17910 result
= (wxDateTime
*) &_result_ref
;
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17923 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17927 wxDateTime
*result
;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self",(char *) "day", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 arg2
= (int) SWIG_AsInt(obj1
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17943 result
= (wxDateTime
*) &_result_ref
;
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17956 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17960 wxDateTime
*result
;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self",(char *) "hour", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17970 arg2
= (int) SWIG_AsInt(obj1
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17976 result
= (wxDateTime
*) &_result_ref
;
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17989 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17993 wxDateTime
*result
;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "minute", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18003 arg2
= (int) SWIG_AsInt(obj1
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18009 result
= (wxDateTime
*) &_result_ref
;
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18022 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18026 wxDateTime
*result
;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self",(char *) "second", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18036 arg2
= (int) SWIG_AsInt(obj1
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18042 result
= (wxDateTime
*) &_result_ref
;
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18055 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18059 wxDateTime
*result
;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "millisecond", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 arg2
= (int) SWIG_AsInt(obj1
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18075 result
= (wxDateTime
*) &_result_ref
;
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18088 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18092 int arg3
= (int) wxDateTime::Monday_First
;
18093 wxDateTime
*result
;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 PyObject
* obj2
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18114 result
= (wxDateTime
*) &_result_ref
;
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18127 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18131 int arg3
= (int) wxDateTime::Monday_First
;
18133 PyObject
* obj0
= 0 ;
18134 PyObject
* obj1
= 0 ;
18135 PyObject
* obj2
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18143 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 wxDateTime
* resultptr
;
18158 resultptr
= new wxDateTime((wxDateTime
&) result
);
18159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18167 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18171 wxDateTime
*result
;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self",(char *) "weekday", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18181 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18187 result
= (wxDateTime
*) &_result_ref
;
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18200 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self",(char *) "weekday", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18214 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 wxDateTime
* resultptr
;
18225 resultptr
= new wxDateTime((wxDateTime
&) result
);
18226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18234 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18238 wxDateTime
*result
;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "weekday", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18248 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18254 result
= (wxDateTime
*) &_result_ref
;
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18267 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "weekday", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18281 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 wxDateTime
* resultptr
;
18292 resultptr
= new wxDateTime((wxDateTime
&) result
);
18293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18301 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18305 int arg3
= (int) 1 ;
18306 int arg4
= (int) wxDateTime::Inv_Month
;
18307 int arg5
= (int) wxDateTime::Inv_Year
;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 PyObject
* obj2
= 0 ;
18312 PyObject
* obj3
= 0 ;
18313 PyObject
* obj4
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 arg3
= (int) SWIG_AsInt(obj2
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 arg5
= (int) SWIG_AsInt(obj4
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18351 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18355 int arg3
= (int) wxDateTime::Inv_Month
;
18356 int arg4
= (int) wxDateTime::Inv_Year
;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 PyObject
* obj2
= 0 ;
18361 PyObject
* obj3
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 arg4
= (int) SWIG_AsInt(obj3
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18395 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18399 int arg3
= (int) wxDateTime::Inv_Month
;
18400 int arg4
= (int) wxDateTime::Inv_Year
;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 PyObject
* obj2
= 0 ;
18405 PyObject
* obj3
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 arg4
= (int) SWIG_AsInt(obj3
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 wxDateTime
* resultptr
;
18432 resultptr
= new wxDateTime((wxDateTime
&) result
);
18433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18441 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18445 int arg3
= (int) wxDateTime::Mon
;
18446 int arg4
= (int) wxDateTime::Monday_First
;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 PyObject
* obj2
= 0 ;
18451 PyObject
* obj3
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 arg2
= (int) SWIG_AsInt(obj1
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18489 int arg3
= (int) wxDateTime::Mon
;
18490 int arg4
= (int) wxDateTime::Monday_First
;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 PyObject
* obj2
= 0 ;
18495 PyObject
* obj3
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 arg2
= (int) SWIG_AsInt(obj1
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 wxDateTime
* resultptr
;
18522 resultptr
= new wxDateTime((wxDateTime
&) result
);
18523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18531 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18534 int arg2
= (int) wxDateTime::Inv_Month
;
18535 int arg3
= (int) wxDateTime::Inv_Year
;
18536 wxDateTime
*result
;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 PyObject
* obj2
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self",(char *) "month",(char *) "year", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18548 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 arg3
= (int) SWIG_AsInt(obj2
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18559 result
= (wxDateTime
*) &_result_ref
;
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18572 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18575 int arg2
= (int) wxDateTime::Inv_Month
;
18576 int arg3
= (int) wxDateTime::Inv_Year
;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "month",(char *) "year", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 arg3
= (int) SWIG_AsInt(obj2
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18604 wxDateTime
* resultptr
;
18605 resultptr
= new wxDateTime((wxDateTime
&) result
);
18606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18614 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18618 wxDateTime
*result
;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "yday", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 arg2
= (int) SWIG_AsInt(obj1
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18634 result
= (wxDateTime
*) &_result_ref
;
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18647 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self",(char *) "yday", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 arg2
= (int) SWIG_AsInt(obj1
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (arg1
)->GetYearDay(arg2
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 wxDateTime
* resultptr
;
18672 resultptr
= new wxDateTime((wxDateTime
&) result
);
18673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18681 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (double)(arg1
)->GetJulianDayNumber();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_FromDouble((double)result
);
18707 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (double)(arg1
)->GetJDN();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_FromDouble((double)result
);
18733 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 char *kwnames
[] = {
18739 (char *) "self", NULL
18742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_FromDouble((double)result
);
18759 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (double)(arg1
)->GetMJD();
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_FromDouble((double)result
);
18785 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= (double)(arg1
)->GetRataDie();
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_FromDouble((double)result
);
18811 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18814 wxDateTime::TimeZone
*arg2
= 0 ;
18815 bool arg3
= (bool) False
;
18817 bool temp2
= False
;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 PyObject
* obj2
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18829 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18833 arg3
= (bool) SWIG_AsBool(obj2
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 wxDateTime
* resultptr
;
18845 resultptr
= new wxDateTime((wxDateTime
&) result
);
18846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18849 if (temp2
) delete arg2
;
18854 if (temp2
) delete arg2
;
18860 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18863 wxDateTime::TimeZone
*arg2
= 0 ;
18864 bool arg3
= (bool) False
;
18865 wxDateTime
*result
;
18866 bool temp2
= False
;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 PyObject
* obj2
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18882 arg3
= (bool) SWIG_AsBool(obj2
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18889 result
= (wxDateTime
*) &_result_ref
;
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18897 if (temp2
) delete arg2
;
18902 if (temp2
) delete arg2
;
18908 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18911 bool arg2
= (bool) False
;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self",(char *) "noDST", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18923 arg2
= (bool) SWIG_AsBool(obj1
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= (arg1
)->ToGMT(arg2
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 wxDateTime
* resultptr
;
18935 resultptr
= new wxDateTime((wxDateTime
&) result
);
18936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18944 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18947 bool arg2
= (bool) False
;
18948 wxDateTime
*result
;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "noDST", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18959 arg2
= (bool) SWIG_AsBool(obj1
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18966 result
= (wxDateTime
*) &_result_ref
;
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18979 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18982 int arg2
= (int) wxDateTime::Country_Default
;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "country", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_FromInt((int)result
);
19011 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19039 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19065 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19068 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19069 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19071 bool temp2
= False
;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self",(char *) "tz", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= SWIG_FromInt((int)result
);
19096 if (temp2
) delete arg2
;
19101 if (temp2
) delete arg2
;
19107 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19110 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19111 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19113 bool temp2
= False
;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self",(char *) "tz", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 resultobj
= SWIG_FromInt((int)result
);
19138 if (temp2
) delete arg2
;
19143 if (temp2
) delete arg2
;
19149 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19152 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19153 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19155 bool temp2
= False
;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self",(char *) "tz", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19167 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_FromInt((int)result
);
19180 if (temp2
) delete arg2
;
19185 if (temp2
) delete arg2
;
19191 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19194 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19195 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19197 bool temp2
= False
;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "tz", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19209 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_FromInt((int)result
);
19222 if (temp2
) delete arg2
;
19227 if (temp2
) delete arg2
;
19233 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19236 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19237 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19239 bool temp2
= False
;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "tz", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= SWIG_FromInt((int)result
);
19264 if (temp2
) delete arg2
;
19269 if (temp2
) delete arg2
;
19275 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19278 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19279 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19281 bool temp2
= False
;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self",(char *) "tz", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_FromInt((int)result
);
19306 if (temp2
) delete arg2
;
19311 if (temp2
) delete arg2
;
19317 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19320 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19321 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19323 bool temp2
= False
;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "tz", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_FromInt((int)result
);
19348 if (temp2
) delete arg2
;
19353 if (temp2
) delete arg2
;
19359 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19362 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19363 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19365 bool temp2
= False
;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "tz", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 resultobj
= SWIG_FromInt((int)result
);
19390 if (temp2
) delete arg2
;
19395 if (temp2
) delete arg2
;
19401 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19404 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19405 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19407 bool temp2
= False
;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "tz", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_FromInt((int)result
);
19432 if (temp2
) delete arg2
;
19437 if (temp2
) delete arg2
;
19443 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19446 int arg2
= (int) wxDateTime::Monday_First
;
19447 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19448 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19450 bool temp3
= False
;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 PyObject
* obj2
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "flags",(char *) "tz", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19467 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= SWIG_FromInt((int)result
);
19480 if (temp3
) delete arg3
;
19485 if (temp3
) delete arg3
;
19491 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19494 int arg2
= (int) wxDateTime::Monday_First
;
19495 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19496 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19498 bool temp3
= False
;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self",(char *) "flags",(char *) "tz", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19510 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19515 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= SWIG_FromInt((int)result
);
19528 if (temp3
) delete arg3
;
19533 if (temp3
) delete arg3
;
19539 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19542 int arg2
= (int) wxDateTime::Country_Default
;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "country", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19573 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19576 wxDateTime
*arg2
= 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "datetime", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19590 if (arg2
== NULL
) {
19591 PyErr_SetString(PyExc_TypeError
,"null reference");
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19610 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19613 wxDateTime
*arg2
= 0 ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "datetime", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19627 if (arg2
== NULL
) {
19628 PyErr_SetString(PyExc_TypeError
,"null reference");
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19647 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19650 wxDateTime
*arg2
= 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "datetime", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19664 if (arg2
== NULL
) {
19665 PyErr_SetString(PyExc_TypeError
,"null reference");
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19684 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19687 wxDateTime
*arg2
= 0 ;
19688 wxDateTime
*arg3
= 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 PyObject
* obj2
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "t1",(char *) "t2", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19703 if (arg2
== NULL
) {
19704 PyErr_SetString(PyExc_TypeError
,"null reference");
19707 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19710 if (arg3
== NULL
) {
19711 PyErr_SetString(PyExc_TypeError
,"null reference");
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19730 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19733 wxDateTime
*arg2
= 0 ;
19734 wxDateTime
*arg3
= 0 ;
19736 PyObject
* obj0
= 0 ;
19737 PyObject
* obj1
= 0 ;
19738 PyObject
* obj2
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "t1",(char *) "t2", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19749 if (arg2
== NULL
) {
19750 PyErr_SetString(PyExc_TypeError
,"null reference");
19753 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19756 if (arg3
== NULL
) {
19757 PyErr_SetString(PyExc_TypeError
,"null reference");
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19776 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19779 wxDateTime
*arg2
= 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "dt", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19793 if (arg2
== NULL
) {
19794 PyErr_SetString(PyExc_TypeError
,"null reference");
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19816 wxDateTime
*arg2
= 0 ;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "dt", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19830 if (arg2
== NULL
) {
19831 PyErr_SetString(PyExc_TypeError
,"null reference");
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19850 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19853 wxDateTime
*arg2
= 0 ;
19854 wxTimeSpan
*arg3
= 0 ;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 PyObject
* obj2
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self",(char *) "dt",(char *) "ts", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19869 if (arg2
== NULL
) {
19870 PyErr_SetString(PyExc_TypeError
,"null reference");
19873 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19876 if (arg3
== NULL
) {
19877 PyErr_SetString(PyExc_TypeError
,"null reference");
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19896 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19899 wxTimeSpan
*arg2
= 0 ;
19900 wxDateTime
*result
;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "diff", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19913 if (arg2
== NULL
) {
19914 PyErr_SetString(PyExc_TypeError
,"null reference");
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19921 result
= (wxDateTime
*) &_result_ref
;
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19934 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19937 wxDateSpan
*arg2
= 0 ;
19938 wxDateTime
*result
;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self",(char *) "diff", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19951 if (arg2
== NULL
) {
19952 PyErr_SetString(PyExc_TypeError
,"null reference");
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19959 result
= (wxDateTime
*) &_result_ref
;
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19972 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19975 wxTimeSpan
*arg2
= 0 ;
19976 wxDateTime
*result
;
19977 PyObject
* obj0
= 0 ;
19978 PyObject
* obj1
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self",(char *) "diff", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19989 if (arg2
== NULL
) {
19990 PyErr_SetString(PyExc_TypeError
,"null reference");
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19997 result
= (wxDateTime
*) &_result_ref
;
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20010 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20013 wxDateSpan
*arg2
= 0 ;
20014 wxDateTime
*result
;
20015 PyObject
* obj0
= 0 ;
20016 PyObject
* obj1
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self",(char *) "diff", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20027 if (arg2
== NULL
) {
20028 PyErr_SetString(PyExc_TypeError
,"null reference");
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20035 result
= (wxDateTime
*) &_result_ref
;
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20048 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20051 wxDateTime
*arg2
= 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "dt", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20065 if (arg2
== NULL
) {
20066 PyErr_SetString(PyExc_TypeError
,"null reference");
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20077 wxTimeSpan
* resultptr
;
20078 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20087 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20088 PyObject
*resultobj
;
20089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20090 wxTimeSpan
*arg2
= 0 ;
20091 wxDateTime
*result
;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20095 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20101 if (arg2
== NULL
) {
20102 PyErr_SetString(PyExc_TypeError
,"null reference");
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20109 result
= (wxDateTime
*) &_result_ref
;
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20122 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20123 PyObject
*resultobj
;
20124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20125 wxDateSpan
*arg2
= 0 ;
20126 wxDateTime
*result
;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20130 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20136 if (arg2
== NULL
) {
20137 PyErr_SetString(PyExc_TypeError
,"null reference");
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20144 result
= (wxDateTime
*) &_result_ref
;
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20157 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20162 argc
= PyObject_Length(args
);
20163 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20164 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20170 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20180 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20188 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20214 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20219 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20224 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20225 PyObject
*resultobj
;
20226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20227 wxTimeSpan
*arg2
= 0 ;
20228 wxDateTime
*result
;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20232 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20238 if (arg2
== NULL
) {
20239 PyErr_SetString(PyExc_TypeError
,"null reference");
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20246 result
= (wxDateTime
*) &_result_ref
;
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20259 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20260 PyObject
*resultobj
;
20261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20262 wxDateSpan
*arg2
= 0 ;
20263 wxDateTime
*result
;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20267 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20273 if (arg2
== NULL
) {
20274 PyErr_SetString(PyExc_TypeError
,"null reference");
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20281 result
= (wxDateTime
*) &_result_ref
;
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20294 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20299 argc
= PyObject_Length(args
);
20300 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20301 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20307 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20317 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20325 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20343 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20351 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20356 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20361 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20362 PyObject
*resultobj
;
20363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20364 wxTimeSpan
*arg2
= 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20369 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20375 if (arg2
== NULL
) {
20376 PyErr_SetString(PyExc_TypeError
,"null reference");
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20387 wxDateTime
* resultptr
;
20388 resultptr
= new wxDateTime((wxDateTime
&) result
);
20389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20397 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20398 PyObject
*resultobj
;
20399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20400 wxDateSpan
*arg2
= 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20405 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20411 if (arg2
== NULL
) {
20412 PyErr_SetString(PyExc_TypeError
,"null reference");
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 wxDateTime
* resultptr
;
20424 resultptr
= new wxDateTime((wxDateTime
&) result
);
20425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20433 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20438 argc
= PyObject_Length(args
);
20439 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20440 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20446 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20456 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20464 return _wrap_DateTime___add____SWIG_0(self
,args
);
20472 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20482 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20490 return _wrap_DateTime___add____SWIG_1(self
,args
);
20495 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20500 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20501 PyObject
*resultobj
;
20502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20503 wxDateTime
*arg2
= 0 ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20508 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20514 if (arg2
== NULL
) {
20515 PyErr_SetString(PyExc_TypeError
,"null reference");
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20526 wxTimeSpan
* resultptr
;
20527 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20536 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20537 PyObject
*resultobj
;
20538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20539 wxTimeSpan
*arg2
= 0 ;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20544 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20550 if (arg2
== NULL
) {
20551 PyErr_SetString(PyExc_TypeError
,"null reference");
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 wxDateTime
* resultptr
;
20563 resultptr
= new wxDateTime((wxDateTime
&) result
);
20564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20572 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20573 PyObject
*resultobj
;
20574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20575 wxDateSpan
*arg2
= 0 ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20580 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20586 if (arg2
== NULL
) {
20587 PyErr_SetString(PyExc_TypeError
,"null reference");
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20598 wxDateTime
* resultptr
;
20599 resultptr
= new wxDateTime((wxDateTime
&) result
);
20600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20608 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20613 argc
= PyObject_Length(args
);
20614 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20615 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20631 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20639 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20657 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20665 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20673 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20683 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20691 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20696 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20701 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20702 PyObject
*resultobj
;
20703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20704 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20709 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20731 PyObject
*resultobj
;
20732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20733 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20738 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20759 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20760 PyObject
*resultobj
;
20761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20762 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20767 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20789 PyObject
*resultobj
;
20790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20791 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 PyObject
* obj1
= 0 ;
20796 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20817 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20818 PyObject
*resultobj
;
20819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20820 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 PyObject
* obj1
= 0 ;
20825 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20846 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20847 PyObject
*resultobj
;
20848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20849 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20854 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20875 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20878 wxString
*arg2
= 0 ;
20880 bool temp2
= False
;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "date", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 arg2
= wxString_in_helper(obj1
);
20892 if (arg2
== NULL
) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_FromInt((int)result
);
20917 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20920 wxString
*arg2
= 0 ;
20921 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20923 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20924 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20926 bool temp2
= False
;
20927 bool temp3
= False
;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 PyObject
* obj2
= 0 ;
20931 PyObject
* obj3
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 arg2
= wxString_in_helper(obj1
);
20941 if (arg2
== NULL
) SWIG_fail
;
20946 arg3
= wxString_in_helper(obj2
);
20947 if (arg3
== NULL
) SWIG_fail
;
20952 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20955 if (arg4
== NULL
) {
20956 PyErr_SetString(PyExc_TypeError
,"null reference");
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_FromInt((int)result
);
20990 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20993 wxString
*arg2
= 0 ;
20995 bool temp2
= False
;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self",(char *) "datetime", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21006 arg2
= wxString_in_helper(obj1
);
21007 if (arg2
== NULL
) SWIG_fail
;
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_FromInt((int)result
);
21032 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21035 wxString
*arg2
= 0 ;
21037 bool temp2
= False
;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self",(char *) "date", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 arg2
= wxString_in_helper(obj1
);
21049 if (arg2
== NULL
) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= SWIG_FromInt((int)result
);
21074 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21077 wxString
*arg2
= 0 ;
21079 bool temp2
= False
;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self",(char *) "time", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 arg2
= wxString_in_helper(obj1
);
21091 if (arg2
== NULL
) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_FromInt((int)result
);
21116 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21119 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21120 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21121 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21122 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21124 bool temp2
= False
;
21125 bool temp3
= False
;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 PyObject
* obj2
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self",(char *) "format",(char *) "tz", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21138 arg2
= wxString_in_helper(obj1
);
21139 if (arg2
== NULL
) SWIG_fail
;
21145 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21168 if (temp3
) delete arg3
;
21177 if (temp3
) delete arg3
;
21183 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21215 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21219 PyObject
* obj0
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21247 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21279 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21311 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21314 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21316 return Py_BuildValue((char *)"");
21318 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "sec", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21328 arg1
= (long) SWIG_AsLong(obj0
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= wxTimeSpan::Seconds(arg1
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 wxTimeSpan
* resultptr
;
21339 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21348 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21351 char *kwnames
[] = {
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= wxTimeSpan::Second();
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21364 wxTimeSpan
* resultptr
;
21365 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21374 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "min", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21384 arg1
= (long) SWIG_AsLong(obj0
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= wxTimeSpan::Minutes(arg1
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21394 wxTimeSpan
* resultptr
;
21395 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21404 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21407 char *kwnames
[] = {
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= wxTimeSpan::Minute();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 wxTimeSpan
* resultptr
;
21421 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21430 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "hours", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21440 arg1
= (long) SWIG_AsLong(obj0
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= wxTimeSpan::Hours(arg1
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 wxTimeSpan
* resultptr
;
21451 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21460 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21463 char *kwnames
[] = {
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= wxTimeSpan::Hour();
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21476 wxTimeSpan
* resultptr
;
21477 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21486 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21490 PyObject
* obj0
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "days", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21496 arg1
= (long) SWIG_AsLong(obj0
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= wxTimeSpan::Days(arg1
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 wxTimeSpan
* resultptr
;
21507 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21516 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21519 char *kwnames
[] = {
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= wxTimeSpan::Day();
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21532 wxTimeSpan
* resultptr
;
21533 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21542 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21546 PyObject
* obj0
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "days", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21552 arg1
= (long) SWIG_AsLong(obj0
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= wxTimeSpan::Weeks(arg1
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21562 wxTimeSpan
* resultptr
;
21563 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21572 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21575 char *kwnames
[] = {
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= wxTimeSpan::Week();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 wxTimeSpan
* resultptr
;
21589 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21598 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 long arg1
= (long) 0 ;
21601 long arg2
= (long) 0 ;
21602 long arg3
= (long) 0 ;
21603 long arg4
= (long) 0 ;
21604 wxTimeSpan
*result
;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 PyObject
* obj2
= 0 ;
21608 PyObject
* obj3
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21615 arg1
= (long) SWIG_AsLong(obj0
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 arg2
= (long) SWIG_AsLong(obj1
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 arg3
= (long) SWIG_AsLong(obj2
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21627 arg4
= (long) SWIG_AsLong(obj3
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21644 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21672 wxTimeSpan
*arg2
= 0 ;
21673 wxTimeSpan
*result
;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "diff", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21686 if (arg2
== NULL
) {
21687 PyErr_SetString(PyExc_TypeError
,"null reference");
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21694 result
= (wxTimeSpan
*) &_result_ref
;
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21707 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21710 wxTimeSpan
*arg2
= 0 ;
21711 wxTimeSpan
*result
;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "diff", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21724 if (arg2
== NULL
) {
21725 PyErr_SetString(PyExc_TypeError
,"null reference");
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21732 result
= (wxTimeSpan
*) &_result_ref
;
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21745 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21749 wxTimeSpan
*result
;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "n", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21759 arg2
= (int) SWIG_AsInt(obj1
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21765 result
= (wxTimeSpan
*) &_result_ref
;
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21778 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21781 wxTimeSpan
*result
;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21794 result
= (wxTimeSpan
*) &_result_ref
;
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21807 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 wxTimeSpan
* resultptr
;
21828 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21837 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21840 wxTimeSpan
*arg2
= 0 ;
21841 wxTimeSpan
*result
;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "diff", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21854 if (arg2
== NULL
) {
21855 PyErr_SetString(PyExc_TypeError
,"null reference");
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21862 result
= (wxTimeSpan
*) &_result_ref
;
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21875 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21878 wxTimeSpan
*arg2
= 0 ;
21879 wxTimeSpan
*result
;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "diff", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21892 if (arg2
== NULL
) {
21893 PyErr_SetString(PyExc_TypeError
,"null reference");
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21900 result
= (wxTimeSpan
*) &_result_ref
;
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21913 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21917 wxTimeSpan
*result
;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "n", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (int) SWIG_AsInt(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21933 result
= (wxTimeSpan
*) &_result_ref
;
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21946 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21949 wxTimeSpan
*result
;
21950 PyObject
* obj0
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21962 result
= (wxTimeSpan
*) &_result_ref
;
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21975 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21978 wxTimeSpan
*arg2
= 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "other", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21992 if (arg2
== NULL
) {
21993 PyErr_SetString(PyExc_TypeError
,"null reference");
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 wxTimeSpan
* resultptr
;
22005 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22014 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22017 wxTimeSpan
*arg2
= 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "other", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22031 if (arg2
== NULL
) {
22032 PyErr_SetString(PyExc_TypeError
,"null reference");
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 wxTimeSpan
* resultptr
;
22044 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22053 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "n", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 arg2
= (int) SWIG_AsInt(obj1
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= wxTimeSpan___mul__(arg1
,arg2
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 wxTimeSpan
* resultptr
;
22078 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22087 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self",(char *) "n", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22101 arg2
= (int) SWIG_AsInt(obj1
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 wxTimeSpan
* resultptr
;
22112 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22121 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22124 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "other", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22153 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22156 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "other", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22188 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "other", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22217 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22220 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "other", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22249 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22252 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "other", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22281 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22284 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "other", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22313 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22341 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22369 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22397 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22400 wxTimeSpan
*arg2
= 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "ts", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22414 if (arg2
== NULL
) {
22415 PyErr_SetString(PyExc_TypeError
,"null reference");
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22434 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22437 wxTimeSpan
*arg2
= 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self",(char *) "ts", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22451 if (arg2
== NULL
) {
22452 PyErr_SetString(PyExc_TypeError
,"null reference");
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22471 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22474 wxTimeSpan
*arg2
= 0 ;
22476 PyObject
* obj0
= 0 ;
22477 PyObject
* obj1
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self",(char *) "t", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22488 if (arg2
== NULL
) {
22489 PyErr_SetString(PyExc_TypeError
,"null reference");
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22508 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= SWIG_FromInt((int)result
);
22534 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_FromInt((int)result
);
22560 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= SWIG_FromInt((int)result
);
22586 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_FromInt((int)result
);
22612 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22633 hi
= PyLong_FromLong( (&result
)->GetHi() );
22634 lo
= PyLong_FromLong( (&result
)->GetLo() );
22635 shifter
= PyLong_FromLong(32);
22636 shifted
= PyNumber_Lshift(hi
, shifter
);
22637 resultobj
= PyNumber_Or(shifted
, lo
);
22640 Py_DECREF(shifter
);
22641 Py_DECREF(shifted
);
22649 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22670 hi
= PyLong_FromLong( (&result
)->GetHi() );
22671 lo
= PyLong_FromLong( (&result
)->GetLo() );
22672 shifter
= PyLong_FromLong(32);
22673 shifted
= PyNumber_Lshift(hi
, shifter
);
22674 resultobj
= PyNumber_Or(shifted
, lo
);
22677 Py_DECREF(shifter
);
22678 Py_DECREF(shifted
);
22686 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22689 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22690 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22692 bool temp2
= False
;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "format", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 arg2
= wxString_in_helper(obj1
);
22705 if (arg2
== NULL
) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22737 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22740 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22742 return Py_BuildValue((char *)"");
22744 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 int arg1
= (int) 0 ;
22747 int arg2
= (int) 0 ;
22748 int arg3
= (int) 0 ;
22749 int arg4
= (int) 0 ;
22750 wxDateSpan
*result
;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 PyObject
* obj3
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22761 arg1
= (int) SWIG_AsInt(obj0
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22765 arg2
= (int) SWIG_AsInt(obj1
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 arg3
= (int) SWIG_AsInt(obj2
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 arg4
= (int) SWIG_AsInt(obj3
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22790 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 Py_INCREF(Py_None
); resultobj
= Py_None
;
22815 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "days", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22825 arg1
= (int) SWIG_AsInt(obj0
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= wxDateSpan::Days(arg1
);
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22835 wxDateSpan
* resultptr
;
22836 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22845 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22848 char *kwnames
[] = {
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= wxDateSpan::Day();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 wxDateSpan
* resultptr
;
22862 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22871 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "weeks", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22881 arg1
= (int) SWIG_AsInt(obj0
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= wxDateSpan::Weeks(arg1
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 wxDateSpan
* resultptr
;
22892 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22901 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22904 char *kwnames
[] = {
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= wxDateSpan::Week();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 wxDateSpan
* resultptr
;
22918 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22927 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22931 PyObject
* obj0
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "mon", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22937 arg1
= (int) SWIG_AsInt(obj0
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= wxDateSpan::Months(arg1
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 wxDateSpan
* resultptr
;
22948 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22957 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22960 char *kwnames
[] = {
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= wxDateSpan::Month();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 wxDateSpan
* resultptr
;
22974 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22983 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22987 PyObject
* obj0
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "years", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22993 arg1
= (int) SWIG_AsInt(obj0
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= wxDateSpan::Years(arg1
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23003 wxDateSpan
* resultptr
;
23004 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23013 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23016 char *kwnames
[] = {
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= wxDateSpan::Year();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 wxDateSpan
* resultptr
;
23030 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23039 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23043 wxDateSpan
*result
;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self",(char *) "n", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 arg2
= (int) SWIG_AsInt(obj1
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23059 result
= (wxDateSpan
*) &_result_ref
;
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23072 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23076 wxDateSpan
*result
;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "n", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 arg2
= (int) SWIG_AsInt(obj1
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23092 result
= (wxDateSpan
*) &_result_ref
;
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23105 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23109 wxDateSpan
*result
;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self",(char *) "n", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 arg2
= (int) SWIG_AsInt(obj1
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23125 result
= (wxDateSpan
*) &_result_ref
;
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23138 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23142 wxDateSpan
*result
;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "n", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 arg2
= (int) SWIG_AsInt(obj1
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23158 result
= (wxDateSpan
*) &_result_ref
;
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23171 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_FromInt((int)result
);
23197 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_FromInt((int)result
);
23223 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_FromInt((int)result
);
23249 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23253 PyObject
* obj0
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_FromInt((int)result
);
23275 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= SWIG_FromInt((int)result
);
23301 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23304 wxDateSpan
*arg2
= 0 ;
23305 wxDateSpan
*result
;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self",(char *) "other", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23318 if (arg2
== NULL
) {
23319 PyErr_SetString(PyExc_TypeError
,"null reference");
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23326 result
= (wxDateSpan
*) &_result_ref
;
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23339 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23342 wxDateSpan
*arg2
= 0 ;
23343 wxDateSpan
*result
;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "other", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23356 if (arg2
== NULL
) {
23357 PyErr_SetString(PyExc_TypeError
,"null reference");
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23364 result
= (wxDateSpan
*) &_result_ref
;
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23377 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23380 wxDateSpan
*result
;
23381 PyObject
* obj0
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23393 result
= (wxDateSpan
*) &_result_ref
;
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23406 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23410 wxDateSpan
*result
;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self",(char *) "factor", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 arg2
= (int) SWIG_AsInt(obj1
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23426 result
= (wxDateSpan
*) &_result_ref
;
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23439 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23442 wxDateSpan
*arg2
= 0 ;
23443 wxDateSpan
*result
;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self",(char *) "other", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23456 if (arg2
== NULL
) {
23457 PyErr_SetString(PyExc_TypeError
,"null reference");
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23464 result
= (wxDateSpan
*) &_result_ref
;
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23477 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23480 wxDateSpan
*arg2
= 0 ;
23481 wxDateSpan
*result
;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "other", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23494 if (arg2
== NULL
) {
23495 PyErr_SetString(PyExc_TypeError
,"null reference");
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23502 result
= (wxDateSpan
*) &_result_ref
;
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23515 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23518 wxDateSpan
*result
;
23519 PyObject
* obj0
= 0 ;
23520 char *kwnames
[] = {
23521 (char *) "self", NULL
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23531 result
= (wxDateSpan
*) &_result_ref
;
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23544 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23548 wxDateSpan
*result
;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "factor", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23558 arg2
= (int) SWIG_AsInt(obj1
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23564 result
= (wxDateSpan
*) &_result_ref
;
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23577 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
;
23579 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23580 wxDateSpan
*arg2
= 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self",(char *) "other", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23594 if (arg2
== NULL
) {
23595 PyErr_SetString(PyExc_TypeError
,"null reference");
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 wxDateSpan
* resultptr
;
23607 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23616 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23619 wxDateSpan
*arg2
= 0 ;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "other", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23633 if (arg2
== NULL
) {
23634 PyErr_SetString(PyExc_TypeError
,"null reference");
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 wxDateSpan
* resultptr
;
23646 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23655 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "n", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 arg2
= (int) SWIG_AsInt(obj1
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= wxDateSpan___mul__(arg1
,arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 wxDateSpan
* resultptr
;
23680 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23689 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "n", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 arg2
= (int) SWIG_AsInt(obj1
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= wxDateSpan___rmul__(arg1
,arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 wxDateSpan
* resultptr
;
23714 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23723 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23726 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self",(char *) "other", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23755 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
;
23757 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23758 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self",(char *) "other", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23787 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23790 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23792 return Py_BuildValue((char *)"");
23794 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23797 char *kwnames
[] = {
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (long)wxGetLocalTime();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 resultobj
= SWIG_FromLong((long)result
);
23816 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23819 char *kwnames
[] = {
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (long)wxGetUTCTime();
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 resultobj
= SWIG_FromLong((long)result
);
23838 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23841 char *kwnames
[] = {
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (long)wxGetCurrentTime();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_FromLong((long)result
);
23860 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23863 char *kwnames
[] = {
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= wxGetLocalTimeMillis();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23877 hi
= PyLong_FromLong( (&result
)->GetHi() );
23878 lo
= PyLong_FromLong( (&result
)->GetLo() );
23879 shifter
= PyLong_FromLong(32);
23880 shifted
= PyNumber_Lshift(hi
, shifter
);
23881 resultobj
= PyNumber_Or(shifted
, lo
);
23884 Py_DECREF(shifter
);
23885 Py_DECREF(shifted
);
23893 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23894 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23899 static PyObject
*_wrap_DefaultDateTime_get() {
23902 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23907 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23910 wxDataFormat
*result
;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "type", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23917 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23933 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxString
*arg1
= 0 ;
23936 wxDataFormat
*result
;
23937 bool temp1
= False
;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "format", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23945 arg1
= wxString_in_helper(obj0
);
23946 if (arg1
== NULL
) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23971 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23974 PyObject
* obj0
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 Py_INCREF(Py_None
); resultobj
= Py_None
;
23996 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23997 PyObject
*resultobj
;
23998 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24004 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24007 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24025 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24026 PyObject
*resultobj
;
24027 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24033 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24054 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24055 PyObject
*resultobj
;
24056 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24057 wxDataFormat
*arg2
= 0 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24062 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24068 if (arg2
== NULL
) {
24069 PyErr_SetString(PyExc_TypeError
,"null reference");
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24088 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24093 argc
= PyObject_Length(args
);
24094 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24095 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24101 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24111 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24119 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24135 _v
= SWIG_CheckInt(argv
[1]);
24137 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24142 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24147 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24148 PyObject
*resultobj
;
24149 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24150 wxDataFormat
*arg2
= 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24155 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24161 if (arg2
== NULL
) {
24162 PyErr_SetString(PyExc_TypeError
,"null reference");
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24181 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24186 argc
= PyObject_Length(args
);
24187 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24188 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24194 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24204 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24212 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24228 _v
= SWIG_CheckInt(argv
[1]);
24230 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24240 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self",(char *) "format", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 (arg1
)->SetType((wxDataFormatId
)arg2
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 Py_INCREF(Py_None
); resultobj
= Py_None
;
24269 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24273 PyObject
* obj0
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_FromInt((int)result
);
24295 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= ((wxDataFormat
const *)arg1
)->GetId();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24327 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24330 wxString
*arg2
= 0 ;
24331 bool temp2
= False
;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self",(char *) "format", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 arg2
= wxString_in_helper(obj1
);
24343 if (arg2
== NULL
) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 (arg1
)->SetId((wxString
const &)*arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 Py_INCREF(Py_None
); resultobj
= Py_None
;
24368 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24371 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24373 return Py_BuildValue((char *)"");
24375 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24376 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24381 static PyObject
*_wrap_FormatInvalid_get() {
24384 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24389 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24417 int arg2
= (int) wxDataObject::Get
;
24418 SwigValueWrapper
< wxDataFormat
> result
;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "dir", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 wxDataFormat
* resultptr
;
24441 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24450 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24453 int arg2
= (int) wxDataObject::Get
;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "dir", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24482 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24485 wxDataFormat
*arg2
= 0 ;
24486 int arg3
= (int) wxDataObject::Get
;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 PyObject
* obj2
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "format",(char *) "dir", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24501 if (arg2
== NULL
) {
24502 PyErr_SetString(PyExc_TypeError
,"null reference");
24506 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24525 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24528 wxDataFormat
*arg2
= 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "format", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24542 if (arg2
== NULL
) {
24543 PyErr_SetString(PyExc_TypeError
,"null reference");
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24560 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24563 int arg2
= (int) wxDataObject::Get
;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self",(char *) "dir", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24575 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= result
;
24592 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24595 wxDataFormat
*arg2
= 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self",(char *) "format", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24609 if (arg2
== NULL
) {
24610 PyErr_SetString(PyExc_TypeError
,"null reference");
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= result
;
24627 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24630 wxDataFormat
*arg2
= 0 ;
24631 PyObject
*arg3
= (PyObject
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 PyObject
* obj2
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "format",(char *) "data", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24646 if (arg2
== NULL
) {
24647 PyErr_SetString(PyExc_TypeError
,"null reference");
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24667 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24670 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24672 return Py_BuildValue((char *)"");
24674 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24677 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24678 wxDataObjectSimple
*result
;
24679 PyObject
* obj0
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "format", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24689 if (arg1
== NULL
) {
24690 PyErr_SetString(PyExc_TypeError
,"null reference");
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24708 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24711 wxDataFormat
*result
;
24712 PyObject
* obj0
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24724 result
= (wxDataFormat
*) &_result_ref
;
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24737 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24740 wxDataFormat
*arg2
= 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "format", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24753 if (arg2
== NULL
) {
24754 PyErr_SetString(PyExc_TypeError
,"null reference");
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 Py_INCREF(Py_None
); resultobj
= Py_None
;
24771 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24797 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
;
24799 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= result
;
24823 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24826 PyObject
*arg2
= (PyObject
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char *kwnames
[] = {
24831 (char *) "self",(char *) "data", NULL
24834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24854 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24857 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24859 return Py_BuildValue((char *)"");
24861 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24864 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24865 wxPyDataObjectSimple
*result
;
24866 PyObject
* obj0
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "format", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24876 if (arg1
== NULL
) {
24877 PyErr_SetString(PyExc_TypeError
,"null reference");
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24895 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24898 PyObject
*arg2
= (PyObject
*) 0 ;
24899 PyObject
*arg3
= (PyObject
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 PyObject
* obj2
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "self",(char *) "_class", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24929 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24931 return Py_BuildValue((char *)"");
24933 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxDataObjectComposite
*result
;
24936 char *kwnames
[] = {
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24955 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24958 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24959 bool arg3
= (bool) False
;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 PyObject
* obj2
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24971 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24973 arg3
= (bool) SWIG_AsBool(obj2
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 (arg1
)->Add(arg2
,arg3
);
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 Py_INCREF(Py_None
); resultobj
= Py_None
;
24990 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24993 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24995 return Py_BuildValue((char *)"");
24997 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25000 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25001 wxTextDataObject
*result
;
25002 bool temp1
= False
;
25003 PyObject
* obj0
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "text", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25011 arg1
= wxString_in_helper(obj0
);
25012 if (arg1
== NULL
) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25038 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (size_t)(arg1
)->GetTextLength();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25064 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (arg1
)->GetText();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25096 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25099 wxString
*arg2
= 0 ;
25100 bool temp2
= False
;
25101 PyObject
* obj0
= 0 ;
25102 PyObject
* obj1
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self",(char *) "text", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25111 arg2
= wxString_in_helper(obj1
);
25112 if (arg2
== NULL
) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetText((wxString
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 Py_INCREF(Py_None
); resultobj
= Py_None
;
25137 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25140 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25142 return Py_BuildValue((char *)"");
25144 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25146 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25147 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25148 wxPyTextDataObject
*result
;
25149 bool temp1
= False
;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "text", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25158 arg1
= wxString_in_helper(obj0
);
25159 if (arg1
== NULL
) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25185 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25188 PyObject
*arg2
= (PyObject
*) 0 ;
25189 PyObject
*arg3
= (PyObject
*) 0 ;
25190 PyObject
* obj0
= 0 ;
25191 PyObject
* obj1
= 0 ;
25192 PyObject
* obj2
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self",(char *) "self",(char *) "_class", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 Py_INCREF(Py_None
); resultobj
= Py_None
;
25216 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25219 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25221 return Py_BuildValue((char *)"");
25223 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25226 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25227 wxBitmapDataObject
*result
;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "bitmap", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25238 if (arg1
== NULL
) {
25239 PyErr_SetString(PyExc_TypeError
,"null reference");
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25257 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25261 PyObject
* obj0
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 wxBitmap
* resultptr
;
25278 resultptr
= new wxBitmap((wxBitmap
&) result
);
25279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25287 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25290 wxBitmap
*arg2
= 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "bitmap", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25303 if (arg2
== NULL
) {
25304 PyErr_SetString(PyExc_TypeError
,"null reference");
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25324 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25326 return Py_BuildValue((char *)"");
25328 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25331 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25332 wxPyBitmapDataObject
*result
;
25333 PyObject
* obj0
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "bitmap", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25343 if (arg1
== NULL
) {
25344 PyErr_SetString(PyExc_TypeError
,"null reference");
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25362 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
;
25364 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25365 PyObject
*arg2
= (PyObject
*) 0 ;
25366 PyObject
*arg3
= (PyObject
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 PyObject
* obj2
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "self",(char *) "self",(char *) "_class", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 Py_INCREF(Py_None
); resultobj
= Py_None
;
25393 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25396 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25398 return Py_BuildValue((char *)"");
25400 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxFileDataObject
*result
;
25403 char *kwnames
[] = {
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (wxFileDataObject
*)new wxFileDataObject();
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25422 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25425 wxArrayString
*result
;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25438 result
= (wxArrayString
*) &_result_ref
;
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= wxArrayString2PyList_helper(*result
);
25453 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
;
25455 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25456 wxString
*arg2
= 0 ;
25457 bool temp2
= False
;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self",(char *) "filename", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25468 arg2
= wxString_in_helper(obj1
);
25469 if (arg2
== NULL
) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 (arg1
)->AddFile((wxString
const &)*arg2
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 Py_INCREF(Py_None
); resultobj
= Py_None
;
25494 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25497 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25499 return Py_BuildValue((char *)"");
25501 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
;
25503 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25504 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25505 wxCustomDataObject
*result
;
25506 PyObject
* obj0
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "format", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25516 if (arg1
== NULL
) {
25517 PyErr_SetString(PyExc_TypeError
,"null reference");
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25535 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25538 PyObject
*arg2
= (PyObject
*) 0 ;
25540 PyObject
* obj0
= 0 ;
25541 PyObject
* obj1
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "self",(char *) "data", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25566 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25570 PyObject
* obj0
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= (size_t)(arg1
)->GetSize();
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25592 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= result
;
25618 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25621 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25623 return Py_BuildValue((char *)"");
25625 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxURLDataObject
*result
;
25628 char *kwnames
[] = {
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (wxURLDataObject
*)new wxURLDataObject();
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25647 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25649 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25651 PyObject
* obj0
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (arg1
)->GetURL();
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25679 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25682 wxString
*arg2
= 0 ;
25683 bool temp2
= False
;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "url", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25694 arg2
= wxString_in_helper(obj1
);
25695 if (arg2
== NULL
) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 (arg1
)->SetURL((wxString
const &)*arg2
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 Py_INCREF(Py_None
); resultobj
= Py_None
;
25720 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25723 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25725 return Py_BuildValue((char *)"");
25727 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxMetafileDataObject
*result
;
25730 char *kwnames
[] = {
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25749 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25752 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25754 return Py_BuildValue((char *)"");
25756 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25760 PyObject
* obj0
= 0 ;
25761 char *kwnames
[] = {
25762 (char *) "res", NULL
25765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25766 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25784 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxWindow
*arg1
= (wxWindow
*) 0 ;
25787 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25788 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25789 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25790 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25791 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25792 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25793 wxPyDropSource
*result
;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 PyObject
* obj2
= 0 ;
25797 PyObject
* obj3
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25809 if (arg2
== NULL
) {
25810 PyErr_SetString(PyExc_TypeError
,"null reference");
25815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25818 if (arg3
== NULL
) {
25819 PyErr_SetString(PyExc_TypeError
,"null reference");
25824 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25827 if (arg4
== NULL
) {
25828 PyErr_SetString(PyExc_TypeError
,"null reference");
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25846 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25849 PyObject
*arg2
= (PyObject
*) 0 ;
25850 PyObject
*arg3
= (PyObject
*) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 PyObject
* obj2
= 0 ;
25855 PyObject
* obj3
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 arg4
= (int) SWIG_AsInt(obj3
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25884 PyObject
* obj0
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25909 wxDataObject
*arg2
= 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "data", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25922 if (arg2
== NULL
) {
25923 PyErr_SetString(PyExc_TypeError
,"null reference");
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 (arg1
)->SetData(*arg2
);
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25943 wxDataObject
*result
;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25966 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25970 wxCursor
*arg3
= 0 ;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 PyObject
* obj2
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "res",(char *) "cursor", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25981 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25983 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25986 if (arg3
== NULL
) {
25987 PyErr_SetString(PyExc_TypeError
,"null reference");
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 Py_INCREF(Py_None
); resultobj
= Py_None
;
26004 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26007 int arg2
= (int) wxDrag_CopyOnly
;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "flags", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26019 arg2
= (int) SWIG_AsInt(obj1
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= (int)(arg1
)->DoDragDrop(arg2
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_FromInt((int)result
);
26036 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
;
26038 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "effect", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26050 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26068 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26071 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26073 return Py_BuildValue((char *)"");
26075 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26078 wxPyDropTarget
*result
;
26079 PyObject
* obj0
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "dataObject", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26087 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26103 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
;
26105 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26106 PyObject
*arg2
= (PyObject
*) 0 ;
26107 PyObject
*arg3
= (PyObject
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 PyObject
* obj2
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "self",(char *) "_class", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 Py_INCREF(Py_None
); resultobj
= Py_None
;
26159 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26162 wxDataObject
*result
;
26163 PyObject
* obj0
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26185 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26188 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "dataObject", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26199 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 (arg1
)->SetDataObject(arg2
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 Py_INCREF(Py_None
); resultobj
= Py_None
;
26214 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 PyObject
* obj2
= 0 ;
26224 PyObject
* obj3
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26232 arg2
= (int) SWIG_AsInt(obj1
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26234 arg3
= (int) SWIG_AsInt(obj2
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26236 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_FromInt((int)result
);
26252 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26259 PyObject
* obj0
= 0 ;
26260 PyObject
* obj1
= 0 ;
26261 PyObject
* obj2
= 0 ;
26262 PyObject
* obj3
= 0 ;
26263 char *kwnames
[] = {
26264 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26270 arg2
= (int) SWIG_AsInt(obj1
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26272 arg3
= (int) SWIG_AsInt(obj2
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26274 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_FromInt((int)result
);
26290 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26293 PyObject
* obj0
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->base_OnLeave();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 Py_INCREF(Py_None
); resultobj
= Py_None
;
26315 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 PyObject
* obj2
= 0 ;
26324 char *kwnames
[] = {
26325 (char *) "self",(char *) "x",(char *) "y", NULL
26328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 arg2
= (int) SWIG_AsInt(obj1
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26333 arg3
= (int) SWIG_AsInt(obj2
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26351 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26355 PyObject
* obj0
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self", NULL
26360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (bool)(arg1
)->GetData();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26379 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26382 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26384 return Py_BuildValue((char *)"");
26386 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyTextDropTarget
*result
;
26389 char *kwnames
[] = {
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26408 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26411 PyObject
*arg2
= (PyObject
*) 0 ;
26412 PyObject
*arg3
= (PyObject
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 PyObject
* obj1
= 0 ;
26415 PyObject
* obj2
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self",(char *) "self",(char *) "_class", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26439 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 PyObject
* obj2
= 0 ;
26449 PyObject
* obj3
= 0 ;
26450 char *kwnames
[] = {
26451 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26457 arg2
= (int) SWIG_AsInt(obj1
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26459 arg3
= (int) SWIG_AsInt(obj2
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26461 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= SWIG_FromInt((int)result
);
26477 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 PyObject
* obj2
= 0 ;
26487 PyObject
* obj3
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26495 arg2
= (int) SWIG_AsInt(obj1
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26497 arg3
= (int) SWIG_AsInt(obj2
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26499 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= SWIG_FromInt((int)result
);
26515 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->base_OnLeave();
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 Py_INCREF(Py_None
); resultobj
= Py_None
;
26540 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 PyObject
* obj1
= 0 ;
26548 PyObject
* obj2
= 0 ;
26549 char *kwnames
[] = {
26550 (char *) "self",(char *) "x",(char *) "y", NULL
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26556 arg2
= (int) SWIG_AsInt(obj1
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26558 arg3
= (int) SWIG_AsInt(obj2
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26576 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 PyObject
* obj2
= 0 ;
26586 PyObject
* obj3
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26594 arg2
= (int) SWIG_AsInt(obj1
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26596 arg3
= (int) SWIG_AsInt(obj2
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26598 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= SWIG_FromInt((int)result
);
26614 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26617 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26619 return Py_BuildValue((char *)"");
26621 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxPyFileDropTarget
*result
;
26624 char *kwnames
[] = {
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26643 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26646 PyObject
*arg2
= (PyObject
*) 0 ;
26647 PyObject
*arg3
= (PyObject
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 PyObject
* obj2
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "self",(char *) "_class", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 Py_INCREF(Py_None
); resultobj
= Py_None
;
26674 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 PyObject
* obj2
= 0 ;
26684 PyObject
* obj3
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26692 arg2
= (int) SWIG_AsInt(obj1
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26694 arg3
= (int) SWIG_AsInt(obj2
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26696 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_FromInt((int)result
);
26712 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 PyObject
* obj2
= 0 ;
26722 PyObject
* obj3
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26730 arg2
= (int) SWIG_AsInt(obj1
);
26731 if (PyErr_Occurred()) SWIG_fail
;
26732 arg3
= (int) SWIG_AsInt(obj2
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26734 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_FromInt((int)result
);
26750 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26753 PyObject
* obj0
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->base_OnLeave();
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 Py_INCREF(Py_None
); resultobj
= Py_None
;
26775 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 PyObject
* obj2
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "x",(char *) "y", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 arg2
= (int) SWIG_AsInt(obj1
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26793 arg3
= (int) SWIG_AsInt(obj2
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26811 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26818 PyObject
* obj0
= 0 ;
26819 PyObject
* obj1
= 0 ;
26820 PyObject
* obj2
= 0 ;
26821 PyObject
* obj3
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26829 arg2
= (int) SWIG_AsInt(obj1
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26831 arg3
= (int) SWIG_AsInt(obj2
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26833 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_FromInt((int)result
);
26849 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26852 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26854 return Py_BuildValue((char *)"");
26856 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
;
26858 wxClipboard
*result
;
26859 char *kwnames
[] = {
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (wxClipboard
*)new wxClipboard();
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26878 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26881 PyObject
* obj0
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 Py_INCREF(Py_None
); resultobj
= Py_None
;
26903 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 result
= (bool)(arg1
)->Open();
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26931 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26934 PyObject
* obj0
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 Py_INCREF(Py_None
); resultobj
= Py_None
;
26956 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26987 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self",(char *) "data", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26999 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)(arg1
)->AddData(arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27016 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27019 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "data", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27031 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 result
= (bool)(arg1
)->SetData(arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27048 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27051 wxDataFormat
*arg2
= 0 ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "format", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27065 if (arg2
== NULL
) {
27066 PyErr_SetString(PyExc_TypeError
,"null reference");
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27085 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27088 wxDataObject
*arg2
= 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "data", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27102 if (arg2
== NULL
) {
27103 PyErr_SetString(PyExc_TypeError
,"null reference");
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (bool)(arg1
)->GetData(*arg2
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27122 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 Py_INCREF(Py_None
); resultobj
= Py_None
;
27147 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 char *kwnames
[] = {
27153 (char *) "self", NULL
27156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= (bool)(arg1
)->Flush();
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27175 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27178 bool arg2
= (bool) True
;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self",(char *) "primary", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27189 arg2
= (bool) SWIG_AsBool(obj1
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 (arg1
)->UsePrimarySelection(arg2
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 Py_INCREF(Py_None
); resultobj
= Py_None
;
27206 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxClipboard
*result
;
27209 char *kwnames
[] = {
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (wxClipboard
*)wxClipboard::Get();
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27228 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27231 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27233 return Py_BuildValue((char *)"");
27235 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27238 wxClipboardLocker
*result
;
27239 PyObject
* obj0
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "clipboard", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27263 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27266 PyObject
* obj0
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 Py_INCREF(Py_None
); resultobj
= Py_None
;
27288 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27292 PyObject
* obj0
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27316 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27319 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27321 return Py_BuildValue((char *)"");
27323 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27324 PyObject
*resultobj
;
27325 int arg1
= (int) 0 ;
27326 int arg2
= (int) 0 ;
27327 int arg3
= (int) 0 ;
27328 int arg4
= (int) 0 ;
27329 wxVideoMode
*result
;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 PyObject
* obj2
= 0 ;
27333 PyObject
* obj3
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27340 arg1
= (int) SWIG_AsInt(obj0
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27344 arg2
= (int) SWIG_AsInt(obj1
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27348 arg3
= (int) SWIG_AsInt(obj2
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 arg4
= (int) SWIG_AsInt(obj3
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27369 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27397 wxVideoMode
*arg2
= 0 ;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "other", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27411 if (arg2
== NULL
) {
27412 PyErr_SetString(PyExc_TypeError
,"null reference");
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27431 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_FromInt((int)result
);
27457 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
;
27459 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_FromInt((int)result
);
27483 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= SWIG_FromInt((int)result
);
27509 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 char *kwnames
[] = {
27515 (char *) "self", NULL
27518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27537 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27540 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "other", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27569 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27572 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "other", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27601 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "w", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 arg2
= (int) SWIG_AsInt(obj1
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27616 if (arg1
) (arg1
)->w
= arg2
;
27618 Py_INCREF(Py_None
); resultobj
= Py_None
;
27625 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 char *kwnames
[] = {
27631 (char *) "self", NULL
27634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27637 result
= (int) ((arg1
)->w
);
27639 resultobj
= SWIG_FromInt((int)result
);
27646 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self",(char *) "h", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 arg2
= (int) SWIG_AsInt(obj1
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27661 if (arg1
) (arg1
)->h
= arg2
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27674 PyObject
* obj0
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 result
= (int) ((arg1
)->h
);
27684 resultobj
= SWIG_FromInt((int)result
);
27691 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "bpp", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 arg2
= (int) SWIG_AsInt(obj1
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27706 if (arg1
) (arg1
)->bpp
= arg2
;
27708 Py_INCREF(Py_None
); resultobj
= Py_None
;
27715 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
;
27717 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27719 PyObject
* obj0
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27727 result
= (int) ((arg1
)->bpp
);
27729 resultobj
= SWIG_FromInt((int)result
);
27736 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "refresh", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 arg2
= (int) SWIG_AsInt(obj1
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27751 if (arg1
) (arg1
)->refresh
= arg2
;
27753 Py_INCREF(Py_None
); resultobj
= Py_None
;
27760 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 result
= (int) ((arg1
)->refresh
);
27774 resultobj
= SWIG_FromInt((int)result
);
27781 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27784 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27786 return Py_BuildValue((char *)"");
27788 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27789 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27794 static PyObject
*_wrap_DefaultVideoMode_get() {
27797 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27802 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 size_t arg1
= (size_t) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "index", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27813 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27818 result
= (wxDisplay
*)new wxDisplay(arg1
);
27820 wxPyEndAllowThreads(__tstate
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27830 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
;
27832 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 Py_INCREF(Py_None
); resultobj
= Py_None
;
27855 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27858 char *kwnames
[] = {
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= (size_t)wxDisplay::GetCount();
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27877 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxPoint
*arg1
= 0 ;
27882 PyObject
* obj0
= 0 ;
27883 char *kwnames
[] = {
27884 (char *) "pt", NULL
27887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27890 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= SWIG_FromInt((int)result
);
27906 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
;
27908 wxWindow
*arg1
= (wxWindow
*) 0 ;
27910 PyObject
* obj0
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "window", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27920 result
= (int)Display_GetFromWindow(arg1
);
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_FromInt((int)result
);
27932 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27960 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
;
27962 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27964 PyObject
* obj0
= 0 ;
27965 char *kwnames
[] = {
27966 (char *) "self", NULL
27969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27980 wxRect
* resultptr
;
27981 resultptr
= new wxRect((wxRect
&) result
);
27982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27990 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27994 PyObject
* obj0
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= ((wxDisplay
const *)arg1
)->GetName();
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28022 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 char *kwnames
[] = {
28028 (char *) "self", NULL
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28050 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28053 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28054 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "mode", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28069 if (arg2
== NULL
) {
28070 PyErr_SetString(PyExc_TypeError
,"null reference");
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28076 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= result
;
28088 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28091 wxVideoMode result
;
28092 PyObject
* obj0
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28108 wxVideoMode
* resultptr
;
28109 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28118 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28121 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28122 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self",(char *) "mode", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28137 if (arg2
== NULL
) {
28138 PyErr_SetString(PyExc_TypeError
,"null reference");
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28158 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 (arg1
)->ResetMode();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 Py_INCREF(Py_None
); resultobj
= Py_None
;
28183 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28186 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28188 return Py_BuildValue((char *)"");
28190 static PyMethodDef SwigMethods
[] = {
28191 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28198 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28205 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28265 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28273 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28289 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28294 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28297 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28300 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28306 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28320 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28326 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28332 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28335 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28349 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28352 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28353 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28356 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28383 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28385 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28387 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28389 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28396 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28402 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28415 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28420 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28423 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28440 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28448 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28494 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28522 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28532 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28548 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28564 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28578 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28587 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28630 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28633 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28636 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28640 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28732 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28733 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28734 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28735 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28736 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28737 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28738 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28739 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28740 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28741 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28752 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28797 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28831 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28839 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28840 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28845 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28854 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28861 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28864 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28867 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28872 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28875 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28879 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28882 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28886 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28891 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28895 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28897 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28907 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28918 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28926 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28934 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28948 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28952 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28970 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28988 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28990 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28991 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28993 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28994 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28996 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28997 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28999 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29000 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29002 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29003 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29005 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29006 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29008 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29009 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29011 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29012 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29014 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29015 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29017 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29018 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29020 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29021 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29023 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29024 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29026 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29027 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29029 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29030 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29032 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29033 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29035 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29036 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29038 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29039 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29041 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29042 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29044 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29045 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29047 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29048 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29050 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29051 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29053 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29054 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29056 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29059 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29060 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29062 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29063 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29065 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29066 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29068 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29069 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29071 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29072 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29074 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29075 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29077 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29078 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29080 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29081 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29083 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29084 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29086 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29087 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29089 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29090 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29092 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29095 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29096 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29098 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29099 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29101 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29102 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29104 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29105 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29107 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29108 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29110 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29111 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29113 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29114 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29116 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29117 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29119 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29120 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29122 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29123 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29125 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29126 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29128 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29129 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29131 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29132 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29134 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29135 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29137 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29138 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29140 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29141 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29143 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29144 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29146 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29147 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29149 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29150 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29152 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29153 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29155 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29156 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29158 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29159 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29161 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29162 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29164 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29165 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29167 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29168 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29170 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29171 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29173 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29174 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29176 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29179 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29180 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29182 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29185 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29186 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29188 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29189 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29191 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29192 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29194 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29195 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29197 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29198 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29200 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29201 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29203 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29204 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29206 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29207 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29209 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29212 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29215 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29218 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29221 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29224 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29227 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29230 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) ((wxSizer
*) x
));
29233 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29236 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29239 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29242 static void *_p_wxEventTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) ((wxEvent
*) x
));
29245 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29248 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29251 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29254 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29255 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29257 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29258 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29260 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29261 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29263 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29264 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29266 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29269 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29272 static void *_p_wxControlTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29275 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29278 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29281 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29282 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29284 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29285 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29287 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29288 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29290 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29293 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29296 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29299 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29302 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29305 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29308 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29311 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29312 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29314 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29315 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29317 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29320 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29323 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29326 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29329 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29332 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29335 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29338 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29341 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29344 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29347 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29348 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29350 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29351 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29353 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29354 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29356 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29357 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29359 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29360 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29362 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29363 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29365 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29366 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29368 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29369 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29371 static void *_p_wxImageTo_p_wxObject(void *x
) {
29372 return (void *)((wxObject
*) ((wxImage
*) x
));
29374 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29375 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29377 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29378 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29380 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29381 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29383 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29386 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29387 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29389 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29390 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29392 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29393 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29395 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29396 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29398 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29401 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29404 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29405 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29407 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29410 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29411 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29413 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29414 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29416 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29417 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29419 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29420 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29422 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29423 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29425 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29426 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29428 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29431 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29432 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29434 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29435 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29437 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29438 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29440 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29443 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29444 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29446 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29449 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29452 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29453 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29455 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29456 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29458 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29459 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29461 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29462 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29464 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29465 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29467 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29468 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29470 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29471 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29473 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29474 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29476 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29477 return (void *)((wxWindow
*) ((wxControl
*) x
));
29479 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29480 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29482 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29483 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29485 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29486 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29488 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29489 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29491 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}};
29492 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}};
29493 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}};
29494 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}};
29495 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}};
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29523 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}};
29524 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}};
29525 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}};
29526 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}};
29527 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}};
29528 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}};
29529 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}};
29530 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}};
29531 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}};
29532 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}};
29533 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}};
29534 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}};
29535 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}};
29536 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}};
29537 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}};
29538 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}};
29539 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}};
29540 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}};
29541 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}};
29542 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}};
29543 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}};
29544 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}};
29545 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}};
29546 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}};
29547 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}};
29548 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}};
29549 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}};
29550 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}};
29551 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}};
29552 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}};
29553 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}};
29554 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}};
29555 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}};
29556 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}};
29557 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}};
29558 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}};
29559 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}};
29560 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}};
29561 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}};
29562 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}};
29563 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}};
29564 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}};
29565 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}};
29566 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}};
29567 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}};
29568 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}};
29569 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}};
29570 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}};
29571 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}};
29572 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}};
29573 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}};
29574 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}};
29575 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}};
29577 static swig_type_info
*swig_types_initial
[] = {
29578 _swigt__p_wxLogChain
,
29579 _swigt__p_wxMutexGuiLocker
,
29580 _swigt__p_wxFileHistory
,
29582 _swigt__p_wxDateTime__TimeZone
,
29585 _swigt__p_wxConfigBase
,
29586 _swigt__p_wxDisplay
,
29587 _swigt__p_wxFileType
,
29588 _swigt__p_wxLogGui
,
29590 _swigt__p_wxDataFormat
,
29591 _swigt__p_wxTimerEvent
,
29595 _swigt__p_wxClipboard
,
29596 _swigt__p_wxStopWatch
,
29598 _swigt__p_wxClipboardLocker
,
29600 _swigt__p_wxLogStderr
,
29601 _swigt__p_wxLogTextCtrl
,
29602 _swigt__p_wxTextCtrl
,
29603 _swigt__p_wxBusyCursor
,
29604 _swigt__p_wxPyBitmapDataObject
,
29605 _swigt__p_wxPyTextDataObject
,
29606 _swigt__p_wxBitmapDataObject
,
29607 _swigt__p_wxTextDataObject
,
29608 _swigt__p_wxDataObject
,
29609 _swigt__p_wxFileDataObject
,
29610 _swigt__p_wxCustomDataObject
,
29611 _swigt__p_wxURLDataObject
,
29612 _swigt__p_wxMetafileDataObject
,
29614 _swigt__p_wxTimerRunner
,
29615 _swigt__p_wxLogWindow
,
29616 _swigt__p_wxTimeSpan
,
29617 _swigt__p_wxArrayString
,
29618 _swigt__p_wxWindowDisabler
,
29619 _swigt__p_wxToolTip
,
29620 _swigt__p_wxDataObjectComposite
,
29621 _swigt__p_wxFileConfig
,
29622 _swigt__p_wxSystemSettings
,
29623 _swigt__p_wxVideoMode
,
29624 _swigt__p_wxPyDataObjectSimple
,
29625 _swigt__p_wxDataObjectSimple
,
29626 _swigt__p_wxEvtHandler
,
29629 _swigt__p_wxSingleInstanceChecker
,
29630 _swigt__p_wxFileTypeInfo
,
29633 _swigt__p_wxMimeTypesManager
,
29634 _swigt__p_wxPyArtProvider
,
29635 _swigt__p_wxPyTipProvider
,
29636 _swigt__p_wxTipProvider
,
29637 _swigt__p_wxJoystick
,
29638 _swigt__p_wxSystemOptions
,
29640 _swigt__p_wxJoystickEvent
,
29641 _swigt__p_wxCursor
,
29642 _swigt__p_wxObject
,
29643 _swigt__p_wxOutputStream
,
29644 _swigt__p_wxDateTime
,
29645 _swigt__p_wxPyDropSource
,
29646 _swigt__p_wxWindow
,
29647 _swigt__p_wxString
,
29648 _swigt__p_wxPyProcess
,
29649 _swigt__p_wxBitmap
,
29650 _swigt__p_wxConfig
,
29652 _swigt__p_wxBusyInfo
,
29653 _swigt__p_wxPyDropTarget
,
29654 _swigt__p_wxPyTextDropTarget
,
29655 _swigt__p_wxPyFileDropTarget
,
29656 _swigt__p_wxProcessEvent
,
29658 _swigt__p_wxLogNull
,
29659 _swigt__p_wxColour
,
29660 _swigt__p_wxConfigPathChanger
,
29661 _swigt__p_wxPyTimer
,
29662 _swigt__p_wxDateSpan
,
29667 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29669 static swig_const_info swig_const_table
[] = {
29670 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29671 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29672 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29673 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29674 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29684 SWIGEXPORT(void) SWIG_init(void) {
29685 static PyObject
*SWIG_globals
= 0;
29686 static int typeinit
= 0;
29689 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29690 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29691 d
= PyModule_GetDict(m
);
29694 for (i
= 0; swig_types_initial
[i
]; i
++) {
29695 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29699 SWIG_InstallConstants(d
,swig_const_table
);
29701 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29702 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29703 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29704 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29705 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29706 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29707 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29708 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29709 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29710 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29711 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29712 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29713 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29714 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29715 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29716 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29717 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29718 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29719 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29720 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29721 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29722 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29723 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29724 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29725 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29726 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29727 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29728 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29729 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29730 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29731 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29732 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29733 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29734 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29735 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29736 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29737 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29738 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29739 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29740 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29741 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29742 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29743 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29744 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29745 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29746 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29747 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29748 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29749 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29750 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29751 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29752 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29753 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29754 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29755 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29756 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29757 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29758 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29759 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29760 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29761 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29762 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29763 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29764 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29765 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29766 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29767 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29768 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29769 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29770 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29771 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29772 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29773 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29774 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29775 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29776 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29777 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29778 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29779 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29780 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29781 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29782 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29783 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29784 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29785 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29786 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29787 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29788 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29789 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29790 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29791 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29792 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29793 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29794 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29795 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29796 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29797 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29798 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29799 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29800 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29802 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29804 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29805 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29806 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29807 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29808 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29809 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29810 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29811 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29812 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29813 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29814 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29815 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29816 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29817 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29818 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29819 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29820 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29821 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29822 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29823 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29824 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29825 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29826 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29827 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29828 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29829 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29830 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29831 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29832 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29833 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29834 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29835 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29836 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29837 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29838 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29839 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29840 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29841 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29842 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29843 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29844 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29845 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29846 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29847 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29848 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29849 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29850 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29851 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29852 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29853 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29855 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29857 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29858 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29859 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29860 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29861 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29862 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29863 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29864 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29865 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29866 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29867 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29868 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29869 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29870 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29871 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29872 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29873 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29874 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29875 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29876 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29877 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29878 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29879 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29880 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29881 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29882 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29883 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29884 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29885 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29886 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29887 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29888 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29889 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29916 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29918 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29919 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29920 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29921 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29922 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29923 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29924 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29925 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29926 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29927 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29928 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29929 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29930 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29931 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29932 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29933 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29934 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29935 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29936 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29937 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29938 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29939 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29940 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29941 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29942 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29943 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29944 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29945 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29946 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29947 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29948 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29949 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29950 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29951 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29952 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29953 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29954 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29955 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29956 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29957 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29958 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29959 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29960 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29961 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29962 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29963 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29964 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29965 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29966 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29967 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29968 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29969 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29970 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29971 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29972 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29973 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29974 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29975 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29976 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29977 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29978 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29979 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29980 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29981 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29982 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29983 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29984 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29985 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29986 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29987 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29988 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29989 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29990 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29991 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29992 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29993 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29994 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29995 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29996 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29997 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29998 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29999 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30000 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30001 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30002 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30003 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30004 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30005 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30006 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30007 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30008 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30009 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30010 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30011 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30012 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30013 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30014 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30015 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30016 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30017 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30018 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30019 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30020 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30021 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30022 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30023 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30024 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30025 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30026 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30027 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30028 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30029 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30030 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30031 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30032 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30033 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30034 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30035 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30036 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30037 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30038 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30039 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30040 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30041 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30042 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30043 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30044 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30045 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30046 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30047 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30048 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30049 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30050 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30051 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30052 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30053 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30054 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30055 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30056 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30057 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30058 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30059 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30060 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30061 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30062 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30063 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30064 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30065 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30066 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30067 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30068 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30069 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30070 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30071 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30072 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30073 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30074 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30075 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30076 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30077 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30078 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30079 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30080 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30081 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30082 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30083 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30084 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30085 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30086 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30087 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30088 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30089 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30090 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30091 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30092 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30093 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30094 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30095 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30096 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30097 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30098 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30099 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30100 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30101 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30102 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30103 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30104 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30105 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30106 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30107 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30108 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30109 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30110 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30111 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30112 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30113 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30114 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30115 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30116 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30117 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30119 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30120 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30121 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30122 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30124 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);