1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_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_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
306 #define SWIG_name "_misc"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
394 #if INT_MAX != LONG_MAX
395 SWIGSTATICINLINE(int)
396 SWIG_AsInt(PyObject
*obj
)
398 return swig_numeric_cast(int,
399 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
400 "int", INT_MIN
, INT_MAX
));
403 #define SWIG_AsInt SWIG_AsLong
407 SWIGSTATICINLINE(int)
408 SWIG_CheckInt(PyObject
* obj
)
411 if (PyErr_Occurred()) {
419 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
420 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
421 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
423 SWIGSTATICINLINE(int)
424 SWIG_CheckLong(PyObject
* obj
)
427 if (PyErr_Occurred()) {
436 SWIGSTATICINLINE(bool)
437 SWIG_AsBool(PyObject
*obj
)
439 return PyObject_IsTrue(obj
) ? true : false;
443 SWIGSTATICINLINE(int)
444 SWIG_CheckBool(PyObject
* obj
)
447 if (PyErr_Occurred()) {
456 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
462 } else if (target
== Py_None
) {
466 if (!PyTuple_Check(target
)) {
468 target
= PyTuple_New(1);
469 PyTuple_SetItem(target
, 0, o2
);
472 PyTuple_SetItem(o3
, 0, o
);
475 target
= PySequence_Concat(o2
, o3
);
483 SWIGSTATICINLINE(unsigned long)
484 SWIG_AsUnsignedLong(PyObject
* obj
)
486 if (PyLong_Check(obj
)) {
487 return PyLong_AsUnsignedLong(obj
);
489 long i
= PyInt_AsLong(obj
);
490 if ( !PyErr_Occurred() && (i
< 0)) {
491 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
498 SWIGSTATICINLINE(int)
499 SWIG_CheckUnsignedLong(PyObject
* obj
)
501 SWIG_AsUnsignedLong(obj
);
502 if (PyErr_Occurred()) {
511 SWIGSTATICINLINE(PyObject
* )
512 SWIG_FromUnsignedLong(unsigned long value
)
514 return (value
> LONG_MAX
) ?
515 PyLong_FromUnsignedLong(value
)
516 : PyInt_FromLong(swig_numeric_cast(long,value
));
520 bool wxThread_IsMain() {
521 #ifdef WXP_WITH_THREAD
522 return wxThread::IsMain();
529 int wxCaret_GetBlinkTime() {
530 return wxCaret::GetBlinkTime();
533 void wxCaret_SetBlinkTime(int milliseconds
) {
534 wxCaret::SetBlinkTime(milliseconds
);
538 #include <wx/snglinst.h>
542 #include <wx/msw/private.h>
543 #include <wx/dynload.h>
548 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
555 // This one only partially works. Appears to be an undocumented
556 // "standard" convention that not all widgets adhear to. For
557 // example, for some widgets backgrounds or non-client areas may
559 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
563 // This one works much better, except for on XP. On Win2k nearly
564 // all widgets and their children are captured correctly[**]. On
565 // XP with Themes activated most native widgets draw only
566 // partially, if at all. Without themes it works just like on
569 // ** For example the radio buttons in a wxRadioBox are not its
570 // children by default, but you can capture it via the panel
571 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
572 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
573 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
574 PRF_ERASEBKGND
| PRF_OWNED
);
578 // This one is only defined in the latest SDK and is only
579 // available on XP. MSDN says it is similar to sending WM_PRINT
580 // so I expect that it will work similar to the above. Since it
581 // is avaialble only on XP, it can't be compiled like this and
582 // will have to be loaded dynamically.
583 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
588 // Use PrintWindow if available, or fallback to WM_PRINT
589 // otherwise. Unfortunately using PrintWindow is even worse than
590 // WM_PRINT. For most native widgets nothing is drawn to the dc
591 // at all, with or without Themes.
592 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
593 static bool s_triedToLoad
= False
;
594 static PrintWindow_t pfnPrintWindow
= NULL
;
595 if ( !s_triedToLoad
)
598 s_triedToLoad
= True
;
599 wxDynamicLibrary
dllUser32(_T("user32.dll"));
600 if ( dllUser32
.IsLoaded() )
602 wxLogNull nolog
; // Don't report errors here
603 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
608 printf("Using PrintWindow\n");
609 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
613 printf("Using WM_PRINT\n");
614 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
615 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
623 #include <wx/tipdlg.h>
626 class wxPyTipProvider
: public wxTipProvider
{
628 wxPyTipProvider(size_t currentTip
)
629 : wxTipProvider(currentTip
) {}
631 DEC_PYCALLBACK_STRING__pure(GetTip
);
632 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
636 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
637 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
640 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
642 void wxPyTimer::Notify() {
644 bool blocked
= wxPyBeginBlockThreads();
645 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
646 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
647 wxPyEndBlockThreads(blocked
);
651 void wxPyTimer::base_Notify() {
657 SWIGSTATICINLINE(PyObject
*)
658 SWIG_FromCharPtr(const char* cptr
)
660 size_t size
= cptr
? strlen(cptr
) : 0;
662 if (size
> INT_MAX
) {
663 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
664 SWIG_TypeQuery("char *"), 0);
666 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
675 SWIGSTATICINLINE(unsigned long)
676 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
677 unsigned long max_value
)
679 if (!PyErr_Occurred()) {
680 if (value
> max_value
) {
682 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
683 value
, type
, max_value
);
684 PyErr_SetObject(PyExc_OverflowError
, err
);
692 #if UINT_MAX != ULONG_MAX
693 SWIGSTATICINLINE(unsigned int)
694 SWIG_AsUnsignedInt(PyObject
*obj
)
696 return swig_numeric_cast(unsigned int,
697 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
698 "unsigned int", UINT_MAX
));
701 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
705 SWIGSTATICINLINE(int)
706 SWIG_CheckUnsignedInt(PyObject
* obj
)
708 SWIG_AsUnsignedInt(obj
);
709 if (PyErr_Occurred()) {
717 wxString
Log_TimeStamp(){
719 wxLog::TimeStamp(&msg
);
722 void wxLog_Destroy(wxLog
*self
){ delete self
; }
724 // A wxLog class that can be derived from in wxPython
725 class wxPyLog
: public wxLog
{
727 wxPyLog() : wxLog() {}
729 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
731 bool blocked
= wxPyBeginBlockThreads();
732 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
733 PyObject
* s
= wx2PyString(szString
);
734 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
737 wxPyEndBlockThreads(blocked
);
739 wxLog::DoLog(level
, szString
, t
);
742 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
744 bool blocked
= wxPyBeginBlockThreads();
745 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
746 PyObject
* s
= wx2PyString(szString
);
747 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
750 wxPyEndBlockThreads(blocked
);
752 wxLog::DoLogString(szString
, t
);
761 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
764 #include <wx/joystick.h>
767 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
768 // A C++ stub class for wxJoystick for platforms that don't have it.
769 class wxJoystick
: public wxObject
{
771 wxJoystick(int joystick
= wxJOYSTICK1
) {
772 bool blocked
= wxPyBeginBlockThreads();
773 PyErr_SetString(PyExc_NotImplementedError
,
774 "wxJoystick is not available on this platform.");
775 wxPyEndBlockThreads(blocked
);
777 wxPoint
GetPosition() { return wxPoint(-1,-1); }
778 int GetZPosition() { return -1; }
779 int GetButtonState() { return -1; }
780 int GetPOVPosition() { return -1; }
781 int GetPOVCTSPosition() { return -1; }
782 int GetRudderPosition() { return -1; }
783 int GetUPosition() { return -1; }
784 int GetVPosition() { return -1; }
785 int GetMovementThreshold() { return -1; }
786 void SetMovementThreshold(int threshold
) {}
788 bool IsOk(void) { return False
; }
789 int GetNumberJoysticks() { return -1; }
790 int GetManufacturerId() { return -1; }
791 int GetProductId() { return -1; }
792 wxString
GetProductName() { return ""; }
793 int GetXMin() { return -1; }
794 int GetYMin() { return -1; }
795 int GetZMin() { return -1; }
796 int GetXMax() { return -1; }
797 int GetYMax() { return -1; }
798 int GetZMax() { return -1; }
799 int GetNumberButtons() { return -1; }
800 int GetNumberAxes() { return -1; }
801 int GetMaxButtons() { return -1; }
802 int GetMaxAxes() { return -1; }
803 int GetPollingMin() { return -1; }
804 int GetPollingMax() { return -1; }
805 int GetRudderMin() { return -1; }
806 int GetRudderMax() { return -1; }
807 int GetUMin() { return -1; }
808 int GetUMax() { return -1; }
809 int GetVMin() { return -1; }
810 int GetVMax() { return -1; }
812 bool HasRudder() { return False
; }
813 bool HasZ() { return False
; }
814 bool HasU() { return False
; }
815 bool HasV() { return False
; }
816 bool HasPOV() { return False
; }
817 bool HasPOV4Dir() { return False
; }
818 bool HasPOVCTS() { return False
; }
820 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
821 bool ReleaseCapture() { return False
; }
826 #include <wx/sound.h>
830 // A C++ stub class for wxWave for platforms that don't have it.
831 class wxSound
: public wxObject
835 bool blocked
= wxPyBeginBlockThreads();
836 PyErr_SetString(PyExc_NotImplementedError
,
837 "wxSound is not available on this platform.");
838 wxPyEndBlockThreads(blocked
);
840 wxSound(const wxString
&, bool) {
841 bool blocked
= wxPyBeginBlockThreads();
842 PyErr_SetString(PyExc_NotImplementedError
,
843 "wxSound is not available on this platform.");
844 wxPyEndBlockThreads(blocked
);
846 wxSound(int, const wxByte
*) {
847 bool blocked
= wxPyBeginBlockThreads();
848 PyErr_SetString(PyExc_NotImplementedError
,
849 "wxSound is not available on this platform.");
850 wxPyEndBlockThreads(blocked
);
855 bool Create(const wxString
&, bool) { return false; }
856 bool Create(int, const wxByte
*) { return false; };
857 bool IsOk() { return false; };
858 bool Play(unsigned) const { return false; }
859 static bool Play(const wxString
&, unsigned) { return false; }
860 static void Stop() {}
865 bool wxSound_Create__SWIG_1(wxSound
*self
,int size
,wxByte
const *data
){
866 bool blocked
= wxPyBeginBlockThreads();
867 PyErr_SetString(PyExc_NotImplementedError
,
868 "Create from data is not available on this platform.");
869 wxPyEndBlockThreads(blocked
);
872 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
874 #include <wx/mimetype.h>
876 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
878 if (self
->GetMimeType(&str
))
879 return wx2PyString(str
);
883 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
885 if (self
->GetMimeTypes(arr
))
886 return wxArrayString2PyList_helper(arr
);
890 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
892 if (self
->GetExtensions(arr
))
893 return wxArrayString2PyList_helper(arr
);
897 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
899 if (self
->GetIcon(&loc
))
900 return new wxIcon(loc
);
904 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
906 if (self
->GetIcon(&loc
)) {
907 wxString iconFile
= loc
.GetFileName();
912 // Make a tuple and put the values in it
913 bool blocked
= wxPyBeginBlockThreads();
914 PyObject
* tuple
= PyTuple_New(3);
915 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
916 wxT("wxIcon"), True
));
917 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
918 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
919 wxPyEndBlockThreads(blocked
);
925 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
927 if (self
->GetDescription(&str
))
928 return wx2PyString(str
);
932 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
934 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
935 return wx2PyString(str
);
939 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
941 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
942 return wx2PyString(str
);
946 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
948 wxArrayString commands
;
949 if (self
->GetAllCommands(&verbs
, &commands
,
950 wxFileType::MessageParameters(filename
, mimetype
))) {
951 bool blocked
= wxPyBeginBlockThreads();
952 PyObject
* tuple
= PyTuple_New(2);
953 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
954 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
955 wxPyEndBlockThreads(blocked
);
961 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
962 return wxFileType::ExpandCommand(command
,
963 wxFileType::MessageParameters(filename
, mimetype
));
965 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
967 self
->EnumAllFileTypes(arr
);
968 return wxArrayString2PyList_helper(arr
);
971 #include <wx/artprov.h>
973 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
974 static const wxString
wxPyART_MENU(wxART_MENU
);
975 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
976 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
977 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
978 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
979 static const wxString
wxPyART_OTHER(wxART_OTHER
);
980 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
981 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
982 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
983 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
984 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
985 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
986 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
987 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
988 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
989 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
990 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
991 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
992 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
993 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
994 static const wxString
wxPyART_PRINT(wxART_PRINT
);
995 static const wxString
wxPyART_HELP(wxART_HELP
);
996 static const wxString
wxPyART_TIP(wxART_TIP
);
997 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
998 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
999 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1000 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1001 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1002 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1003 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1004 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1005 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1006 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1007 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1008 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1009 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1010 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1011 // Python aware wxArtProvider
1012 class wxPyArtProvider
: public wxArtProvider
{
1015 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1016 const wxArtClient
& client
,
1017 const wxSize
& size
) {
1018 wxBitmap rval
= wxNullBitmap
;
1019 bool blocked
= wxPyBeginBlockThreads();
1020 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1021 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1025 s1
= wx2PyString(id
);
1026 s2
= wx2PyString(client
);
1027 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1032 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1037 wxPyEndBlockThreads(blocked
);
1044 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1048 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1049 PyObject
* ret
= PyTuple_New(3);
1051 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1052 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1053 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1058 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1063 cont
= self
->GetFirstGroup(value
, index
);
1064 return __EnumerationHelper(cont
, value
, index
);
1066 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1070 cont
= self
->GetNextGroup(value
, index
);
1071 return __EnumerationHelper(cont
, value
, index
);
1073 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1078 cont
= self
->GetFirstEntry(value
, index
);
1079 return __EnumerationHelper(cont
, value
, index
);
1081 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1085 cont
= self
->GetNextEntry(value
, index
);
1086 return __EnumerationHelper(cont
, value
, index
);
1088 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1090 self
->Read(key
, &rv
, defaultVal
);
1094 SWIGSTATICINLINE(double)
1095 SWIG_AsDouble(PyObject
*obj
)
1097 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1099 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1101 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1103 if (PyErr_Occurred()) {
1105 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1111 SWIGSTATICINLINE(int)
1112 SWIG_CheckDouble(PyObject
* obj
)
1115 if (PyErr_Occurred()) {
1123 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1125 self
->Read(key
, &rv
, defaultVal
);
1128 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 #include <wx/datetime.h>
1137 static const wxString
wxPyDateFormatStr(wxT("%c"));
1138 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1140 #define LOCAL_TZ wxDateTime::Local
1143 #if UINT_MAX < LONG_MAX
1144 #define SWIG_FromUnsignedInt SWIG_FromLong
1146 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1149 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1150 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1151 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1152 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1153 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1154 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1155 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1156 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1157 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1158 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1159 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1160 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1162 const wxChar
* _date
= date
;
1163 rv
= self
->ParseRfc822Date(_date
);
1164 if (rv
== NULL
) return -1;
1167 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1169 const wxChar
* _date
= date
;
1170 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1171 if (rv
== NULL
) return -1;
1174 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1176 const wxChar
* _datetime
= datetime
;
1177 rv
= self
->ParseDateTime(_datetime
);
1178 if (rv
== NULL
) return -1;
1179 return rv
- _datetime
;
1181 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1183 const wxChar
* _date
= date
;
1184 rv
= self
->ParseDate(_date
);
1185 if (rv
== NULL
) return -1;
1188 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1190 const wxChar
* _time
= time
;
1191 rv
= self
->ParseTime(_time
);
1192 if (rv
== NULL
) return -1;
1195 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1196 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1197 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1198 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1199 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1200 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1201 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1202 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1203 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1204 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1205 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1206 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1207 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1208 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1209 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1210 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1212 #include <wx/dataobj.h>
1214 // Create a new class for wxPython to use
1215 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1217 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1218 : wxDataObjectSimple(format
) {}
1220 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1221 bool GetDataHere(void *buf
) const;
1222 bool SetData(size_t len
, const void *buf
) const;
1226 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1228 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1229 // We need to get the data for this object and write it to buf. I think
1230 // the best way to do this for wxPython is to have the Python method
1231 // return either a string or None and then act appropriately with the
1235 bool blocked
= wxPyBeginBlockThreads();
1236 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1238 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1240 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1242 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1246 wxPyEndBlockThreads(blocked
);
1250 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1251 // For this one we simply need to make a string from buf and len
1252 // and send it to the Python method.
1254 bool blocked
= wxPyBeginBlockThreads();
1255 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1256 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1257 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1260 wxPyEndBlockThreads(blocked
);
1264 // Create a new class for wxPython to use
1265 class wxPyTextDataObject
: public wxTextDataObject
{
1267 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1268 : wxTextDataObject(text
) {}
1270 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1271 DEC_PYCALLBACK_STRING__const(GetText
);
1272 DEC_PYCALLBACK__STRING(SetText
);
1276 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1277 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1278 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1281 // Create a new class for wxPython to use
1282 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1284 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1285 : wxBitmapDataObject(bitmap
) {}
1287 wxBitmap
GetBitmap() const;
1288 void SetBitmap(const wxBitmap
& bitmap
);
1292 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1293 wxBitmap
* rval
= &wxNullBitmap
;
1294 bool blocked
= wxPyBeginBlockThreads();
1295 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1298 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1300 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1305 wxPyEndBlockThreads(blocked
);
1309 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1310 bool blocked
= wxPyBeginBlockThreads();
1311 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1312 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1313 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1316 wxPyEndBlockThreads(blocked
);
1319 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1320 if (PyString_Check(data
)) {
1321 // for Python we just call SetData here since we always need it to make a copy.
1322 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1325 // raise a TypeError if not a string
1326 PyErr_SetString(PyExc_TypeError
, "String expected.");
1329 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1330 if (PyString_Check(data
)) {
1331 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1334 // raise a TypeError if not a string
1335 PyErr_SetString(PyExc_TypeError
, "String expected.");
1339 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1340 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1343 #include <wx/metafile.h>
1346 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1349 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1350 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1351 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1352 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1353 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1356 class wxPyTextDropTarget
: public wxTextDropTarget
{
1358 wxPyTextDropTarget() {}
1360 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1362 DEC_PYCALLBACK__(OnLeave
);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1364 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1365 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1366 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1371 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1372 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1373 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1374 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1375 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1376 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1380 class wxPyFileDropTarget
: public wxFileDropTarget
{
1382 wxPyFileDropTarget() {}
1384 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1386 DEC_PYCALLBACK__(OnLeave
);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1388 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1389 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1390 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1395 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1396 const wxArrayString
& filenames
) {
1398 bool blocked
= wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1400 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1401 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1404 wxPyEndBlockThreads(blocked
);
1410 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1411 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1412 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1413 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1414 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1419 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1421 #include "wx/display.h"
1423 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1424 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1425 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1426 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1427 PyObject
* pyList
= NULL
;
1428 wxArrayVideoModes arr
= self
->GetModes(mode
);
1429 bool blocked
= wxPyBeginBlockThreads();
1430 pyList
= PyList_New(0);
1431 for (int i
=0; i
< arr
.GetCount(); i
++) {
1432 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1433 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1434 PyList_Append(pyList
, pyObj
);
1436 wxPyEndBlockThreads(blocked
);
1442 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1446 PyObject
* obj0
= 0 ;
1448 (char *) "index", NULL
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1452 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1453 if (PyErr_Occurred()) SWIG_fail
;
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1462 wxColour
* resultptr
;
1463 resultptr
= new wxColour((wxColour
&) result
);
1464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1472 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "index", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1482 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1493 resultptr
= new wxFont((wxFont
&) result
);
1494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1502 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1506 PyObject
* obj0
= 0 ;
1508 (char *) "index", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1512 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 resultobj
= SWIG_FromInt((int)result
);
1528 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1532 PyObject
* obj0
= 0 ;
1534 (char *) "index", NULL
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1538 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1556 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (int)wxSystemSettings::GetScreenType();
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= SWIG_FromInt((int)result
);
1578 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1581 PyObject
* obj0
= 0 ;
1583 (char *) "screen", NULL
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1587 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 Py_INCREF(Py_None
); resultobj
= Py_None
;
1603 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1606 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1608 return Py_BuildValue((char *)"");
1610 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1612 wxSystemOptions
*result
;
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= (wxSystemOptions
*)new wxSystemOptions();
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1632 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxString
*arg1
= 0 ;
1635 wxString
*arg2
= 0 ;
1636 bool temp1
= False
;
1637 bool temp2
= False
;
1638 PyObject
* obj0
= 0 ;
1639 PyObject
* obj1
= 0 ;
1641 (char *) "name",(char *) "value", NULL
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1646 arg1
= wxString_in_helper(obj0
);
1647 if (arg1
== NULL
) SWIG_fail
;
1651 arg2
= wxString_in_helper(obj1
);
1652 if (arg2
== NULL
) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1685 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxString
*arg1
= 0 ;
1689 bool temp1
= False
;
1690 PyObject
* obj0
= 0 ;
1691 PyObject
* obj1
= 0 ;
1693 (char *) "name",(char *) "value", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1698 arg1
= wxString_in_helper(obj0
);
1699 if (arg1
== NULL
) SWIG_fail
;
1702 arg2
= (int) SWIG_AsInt(obj1
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 Py_INCREF(Py_None
); resultobj
= Py_None
;
1726 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
*resultobj
;
1728 wxString
*arg1
= 0 ;
1730 bool temp1
= False
;
1731 PyObject
* obj0
= 0 ;
1733 (char *) "name", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1738 arg1
= wxString_in_helper(obj0
);
1739 if (arg1
== NULL
) SWIG_fail
;
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1770 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxString
*arg1
= 0 ;
1774 bool temp1
= False
;
1775 PyObject
* obj0
= 0 ;
1777 (char *) "name", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1782 arg1
= wxString_in_helper(obj0
);
1783 if (arg1
== NULL
) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 resultobj
= SWIG_FromInt((int)result
);
1808 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxString
*arg1
= 0 ;
1812 bool temp1
= False
;
1813 PyObject
* obj0
= 0 ;
1815 (char *) "name", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1820 arg1
= wxString_in_helper(obj0
);
1821 if (arg1
== NULL
) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1848 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
1850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1851 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1853 return Py_BuildValue((char *)"");
1855 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1856 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1861 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1866 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1868 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1875 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1876 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1881 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1886 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1888 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1895 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1896 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1901 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1906 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1908 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1915 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
*resultobj
;
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= (long)wxNewId();
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1930 resultobj
= SWIG_FromLong((long)result
);
1937 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
*resultobj
;
1940 PyObject
* obj0
= 0 ;
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1946 arg1
= (long) SWIG_AsLong(obj0
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 Py_INCREF(Py_None
); resultobj
= Py_None
;
1962 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 result
= (long)wxGetCurrentId();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 resultobj
= SWIG_FromLong((long)result
);
1984 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 Py_INCREF(Py_None
); resultobj
= Py_None
;
2005 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 Py_INCREF(Py_None
); resultobj
= Py_None
;
2026 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 bool arg1
= (bool) True
;
2030 PyObject
* obj0
= 0 ;
2032 (char *) "resetTimer", NULL
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2037 arg1
= (bool) SWIG_AsBool(obj0
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (long)wxGetElapsedTime(arg1
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= SWIG_FromLong((long)result
);
2054 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 int *arg1
= (int *) 0 ;
2057 int *arg2
= (int *) 0 ;
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 wxGetMousePosition(arg1
,arg2
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2077 resultobj
= t_output_helper(resultobj
,o
);
2080 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2081 resultobj
= t_output_helper(resultobj
,o
);
2089 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= (bool)wxIsBusy();
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2113 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2141 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2144 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2146 bool temp1
= False
;
2147 PyObject
* obj0
= 0 ;
2149 (char *) "command", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2155 arg1
= wxString_in_helper(obj0
);
2156 if (arg1
== NULL
) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= (bool)wxShell((wxString
const &)*arg1
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2184 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 int *arg1
= (int *) 0 ;
2208 int *arg2
= (int *) 0 ;
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 result
= (int)wxGetOsVersion(arg1
,arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 resultobj
= SWIG_FromInt((int)result
);
2228 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2229 resultobj
= t_output_helper(resultobj
,o
);
2232 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2233 resultobj
= t_output_helper(resultobj
,o
);
2241 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= wxGetOsDescription();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2269 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= (long)wxGetFreeMemory();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 resultobj
= SWIG_FromLong((long)result
);
2291 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2295 PyObject
* obj0
= 0 ;
2297 (char *) "wFlags", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2301 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2319 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "secs", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2328 arg1
= (int) SWIG_AsInt(obj0
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 Py_INCREF(Py_None
); resultobj
= Py_None
;
2344 static PyObject
*_wrap_Usleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 unsigned long arg1
;
2347 PyObject
* obj0
= 0 ;
2349 (char *) "milliseconds", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2353 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 Py_INCREF(Py_None
); resultobj
= Py_None
;
2369 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "enable", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2378 arg1
= (bool) SWIG_AsBool(obj0
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 wxEnableTopLevelWindows(arg1
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 Py_INCREF(Py_None
); resultobj
= Py_None
;
2394 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxString
*arg1
= 0 ;
2398 bool temp1
= False
;
2399 PyObject
* obj0
= 0 ;
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2406 arg1
= wxString_in_helper(obj0
);
2407 if (arg1
== NULL
) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2438 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 result
= wxGetEmailAddress();
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2466 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= wxGetHostName();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2494 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 result
= wxGetFullHostName();
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2522 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 result
= wxGetUserId();
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2550 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 result
= wxGetUserName();
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2578 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 result
= wxGetHomeDir();
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2606 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2609 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2611 bool temp1
= False
;
2612 PyObject
* obj0
= 0 ;
2614 (char *) "user", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2620 arg1
= wxString_in_helper(obj0
);
2621 if (arg1
== NULL
) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= wxGetUserHome((wxString
const &)*arg1
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2653 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 unsigned long result
;
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (unsigned long)wxGetProcessId();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2675 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 Py_INCREF(Py_None
); resultobj
= Py_None
;
2696 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2699 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2700 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2701 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2706 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2707 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2708 int arg6
= (int) 0 ;
2709 wxWindow
*arg7
= (wxWindow
*) NULL
;
2710 int arg8
= (int) -1 ;
2711 int arg9
= (int) -1 ;
2713 bool temp1
= False
;
2714 bool temp2
= False
;
2715 bool temp3
= False
;
2716 bool temp4
= False
;
2717 bool temp5
= False
;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2720 PyObject
* obj2
= 0 ;
2721 PyObject
* obj3
= 0 ;
2722 PyObject
* obj4
= 0 ;
2723 PyObject
* obj5
= 0 ;
2724 PyObject
* obj6
= 0 ;
2725 PyObject
* obj7
= 0 ;
2726 PyObject
* obj8
= 0 ;
2728 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2734 arg1
= wxString_in_helper(obj0
);
2735 if (arg1
== NULL
) SWIG_fail
;
2741 arg2
= wxString_in_helper(obj1
);
2742 if (arg2
== NULL
) SWIG_fail
;
2748 arg3
= wxString_in_helper(obj2
);
2749 if (arg3
== NULL
) SWIG_fail
;
2755 arg4
= wxString_in_helper(obj3
);
2756 if (arg4
== NULL
) SWIG_fail
;
2762 arg5
= wxString_in_helper(obj4
);
2763 if (arg5
== NULL
) SWIG_fail
;
2768 arg6
= (int) SWIG_AsInt(obj5
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2776 arg8
= (int) SWIG_AsInt(obj7
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2780 arg9
= (int) SWIG_AsInt(obj8
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2843 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxString
*arg1
= 0 ;
2846 wxString
*arg2
= 0 ;
2847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2849 wxWindow
*arg4
= (wxWindow
*) NULL
;
2851 bool temp1
= False
;
2852 bool temp2
= False
;
2853 bool temp3
= False
;
2854 PyObject
* obj0
= 0 ;
2855 PyObject
* obj1
= 0 ;
2856 PyObject
* obj2
= 0 ;
2857 PyObject
* obj3
= 0 ;
2859 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2864 arg1
= wxString_in_helper(obj0
);
2865 if (arg1
== NULL
) SWIG_fail
;
2869 arg2
= wxString_in_helper(obj1
);
2870 if (arg2
== NULL
) SWIG_fail
;
2875 arg3
= wxString_in_helper(obj2
);
2876 if (arg3
== NULL
) SWIG_fail
;
2881 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2928 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxString
*arg1
= 0 ;
2931 wxString
*arg2
= 0 ;
2932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2934 wxWindow
*arg4
= (wxWindow
*) NULL
;
2936 bool temp1
= False
;
2937 bool temp2
= False
;
2938 bool temp3
= False
;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2941 PyObject
* obj2
= 0 ;
2942 PyObject
* obj3
= 0 ;
2944 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2949 arg1
= wxString_in_helper(obj0
);
2950 if (arg1
== NULL
) SWIG_fail
;
2954 arg2
= wxString_in_helper(obj1
);
2955 if (arg2
== NULL
) SWIG_fail
;
2960 arg3
= wxString_in_helper(obj2
);
2961 if (arg3
== NULL
) SWIG_fail
;
2966 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3013 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3016 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3017 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3018 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3019 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3022 wxWindow
*arg5
= (wxWindow
*) NULL
;
3024 bool temp1
= False
;
3025 bool temp2
= False
;
3027 PyObject
* obj0
= 0 ;
3028 PyObject
* obj1
= 0 ;
3029 PyObject
* obj2
= 0 ;
3030 PyObject
* obj3
= 0 ;
3031 PyObject
* obj4
= 0 ;
3033 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3039 arg1
= wxString_in_helper(obj0
);
3040 if (arg1
== NULL
) SWIG_fail
;
3046 arg2
= wxString_in_helper(obj1
);
3047 if (arg2
== NULL
) SWIG_fail
;
3052 arg3
= (long) SWIG_AsLong(obj2
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3058 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3062 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3101 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxString
*arg1
= 0 ;
3104 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3105 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3106 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3107 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3108 wxWindow
*arg4
= (wxWindow
*) NULL
;
3109 int arg5
= (int) -1 ;
3110 int arg6
= (int) -1 ;
3111 bool arg7
= (bool) True
;
3113 bool temp1
= False
;
3114 bool temp2
= False
;
3115 bool temp3
= False
;
3116 PyObject
* obj0
= 0 ;
3117 PyObject
* obj1
= 0 ;
3118 PyObject
* obj2
= 0 ;
3119 PyObject
* obj3
= 0 ;
3120 PyObject
* obj4
= 0 ;
3121 PyObject
* obj5
= 0 ;
3122 PyObject
* obj6
= 0 ;
3124 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3129 arg1
= wxString_in_helper(obj0
);
3130 if (arg1
== NULL
) SWIG_fail
;
3135 arg2
= wxString_in_helper(obj1
);
3136 if (arg2
== NULL
) SWIG_fail
;
3142 arg3
= wxString_in_helper(obj2
);
3143 if (arg3
== NULL
) SWIG_fail
;
3148 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 arg5
= (int) SWIG_AsInt(obj4
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 arg6
= (int) SWIG_AsInt(obj5
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 arg7
= (bool) SWIG_AsBool(obj6
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3207 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxString
*arg1
= 0 ;
3210 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3211 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3212 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3214 wxWindow
*arg4
= (wxWindow
*) NULL
;
3216 bool temp1
= False
;
3217 bool temp2
= False
;
3218 bool temp3
= False
;
3219 PyObject
* obj0
= 0 ;
3220 PyObject
* obj1
= 0 ;
3221 PyObject
* obj2
= 0 ;
3222 PyObject
* obj3
= 0 ;
3224 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3229 arg1
= wxString_in_helper(obj0
);
3230 if (arg1
== NULL
) SWIG_fail
;
3235 arg2
= wxString_in_helper(obj1
);
3236 if (arg2
== NULL
) SWIG_fail
;
3242 arg3
= wxString_in_helper(obj2
);
3243 if (arg3
== NULL
) SWIG_fail
;
3248 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3295 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxString
*arg1
= 0 ;
3298 wxString
*arg2
= 0 ;
3300 wxString
*arg4
= (wxString
*) 0 ;
3301 wxWindow
*arg5
= (wxWindow
*) NULL
;
3302 int arg6
= (int) -1 ;
3303 int arg7
= (int) -1 ;
3304 bool arg8
= (bool) True
;
3305 int arg9
= (int) 150 ;
3306 int arg10
= (int) 200 ;
3308 bool temp1
= False
;
3309 bool temp2
= False
;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3312 PyObject
* obj2
= 0 ;
3313 PyObject
* obj3
= 0 ;
3314 PyObject
* obj4
= 0 ;
3315 PyObject
* obj5
= 0 ;
3316 PyObject
* obj6
= 0 ;
3317 PyObject
* obj7
= 0 ;
3318 PyObject
* obj8
= 0 ;
3320 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3325 arg1
= wxString_in_helper(obj0
);
3326 if (arg1
== NULL
) SWIG_fail
;
3330 arg2
= wxString_in_helper(obj1
);
3331 if (arg2
== NULL
) SWIG_fail
;
3335 arg3
= PyList_Size(obj2
);
3336 arg4
= wxString_LIST_helper(obj2
);
3337 if (arg4
== NULL
) SWIG_fail
;
3340 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 arg6
= (int) SWIG_AsInt(obj4
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 arg7
= (int) SWIG_AsInt(obj5
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3352 arg8
= (bool) SWIG_AsBool(obj6
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3356 arg9
= (int) SWIG_AsInt(obj7
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 arg10
= (int) SWIG_AsInt(obj8
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3386 if (arg4
) delete [] arg4
;
3399 if (arg4
) delete [] arg4
;
3405 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxString
*arg1
= 0 ;
3408 wxString
*arg2
= 0 ;
3410 wxString
*arg4
= (wxString
*) 0 ;
3411 wxWindow
*arg5
= (wxWindow
*) NULL
;
3412 int arg6
= (int) -1 ;
3413 int arg7
= (int) -1 ;
3414 bool arg8
= (bool) True
;
3415 int arg9
= (int) 150 ;
3416 int arg10
= (int) 200 ;
3418 bool temp1
= False
;
3419 bool temp2
= False
;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3422 PyObject
* obj2
= 0 ;
3423 PyObject
* obj3
= 0 ;
3424 PyObject
* obj4
= 0 ;
3425 PyObject
* obj5
= 0 ;
3426 PyObject
* obj6
= 0 ;
3427 PyObject
* obj7
= 0 ;
3428 PyObject
* obj8
= 0 ;
3430 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3435 arg1
= wxString_in_helper(obj0
);
3436 if (arg1
== NULL
) SWIG_fail
;
3440 arg2
= wxString_in_helper(obj1
);
3441 if (arg2
== NULL
) SWIG_fail
;
3445 arg3
= PyList_Size(obj2
);
3446 arg4
= wxString_LIST_helper(obj2
);
3447 if (arg4
== NULL
) SWIG_fail
;
3450 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3454 arg6
= (int) SWIG_AsInt(obj4
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3458 arg7
= (int) SWIG_AsInt(obj5
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3462 arg8
= (bool) SWIG_AsBool(obj6
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3466 arg9
= (int) SWIG_AsInt(obj7
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3470 arg10
= (int) SWIG_AsInt(obj8
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= SWIG_FromInt((int)result
);
3490 if (arg4
) delete [] arg4
;
3503 if (arg4
) delete [] arg4
;
3509 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxString
*arg1
= 0 ;
3512 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3513 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3514 int arg3
= (int) wxOK
|wxCENTRE
;
3515 wxWindow
*arg4
= (wxWindow
*) NULL
;
3516 int arg5
= (int) -1 ;
3517 int arg6
= (int) -1 ;
3519 bool temp1
= False
;
3520 bool temp2
= False
;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3524 PyObject
* obj3
= 0 ;
3525 PyObject
* obj4
= 0 ;
3526 PyObject
* obj5
= 0 ;
3528 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3533 arg1
= wxString_in_helper(obj0
);
3534 if (arg1
== NULL
) SWIG_fail
;
3539 arg2
= wxString_in_helper(obj1
);
3540 if (arg2
== NULL
) SWIG_fail
;
3545 arg3
= (int) SWIG_AsInt(obj2
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 arg5
= (int) SWIG_AsInt(obj4
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3557 arg6
= (int) SWIG_AsInt(obj5
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= SWIG_FromInt((int)result
);
3590 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxString
*arg1
= 0 ;
3593 wxString
*arg2
= 0 ;
3594 wxString
*arg3
= 0 ;
3596 long arg5
= (long) 0 ;
3597 long arg6
= (long) 100 ;
3598 wxWindow
*arg7
= (wxWindow
*) NULL
;
3599 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3600 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3602 bool temp1
= False
;
3603 bool temp2
= False
;
3604 bool temp3
= False
;
3606 PyObject
* obj0
= 0 ;
3607 PyObject
* obj1
= 0 ;
3608 PyObject
* obj2
= 0 ;
3609 PyObject
* obj3
= 0 ;
3610 PyObject
* obj4
= 0 ;
3611 PyObject
* obj5
= 0 ;
3612 PyObject
* obj6
= 0 ;
3613 PyObject
* obj7
= 0 ;
3615 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3620 arg1
= wxString_in_helper(obj0
);
3621 if (arg1
== NULL
) SWIG_fail
;
3625 arg2
= wxString_in_helper(obj1
);
3626 if (arg2
== NULL
) SWIG_fail
;
3630 arg3
= wxString_in_helper(obj2
);
3631 if (arg3
== NULL
) SWIG_fail
;
3634 arg4
= (long) SWIG_AsLong(obj3
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 arg5
= (long) SWIG_AsLong(obj4
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3641 arg6
= (long) SWIG_AsLong(obj5
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3645 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= SWIG_FromLong((long)result
);
3692 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (bool)wxColourDisplay();
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3716 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (int)wxDisplayDepth();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= SWIG_FromInt((int)result
);
3738 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (int)wxGetDisplayDepth();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_FromInt((int)result
);
3760 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 int *arg1
= (int *) 0 ;
3763 int *arg2
= (int *) 0 ;
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 wxDisplaySize(arg1
,arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3782 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3783 resultobj
= t_output_helper(resultobj
,o
);
3786 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3787 resultobj
= t_output_helper(resultobj
,o
);
3795 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= wxGetDisplaySize();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3812 resultptr
= new wxSize((wxSize
&) result
);
3813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3821 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 int *arg1
= (int *) 0 ;
3824 int *arg2
= (int *) 0 ;
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxDisplaySizeMM(arg1
,arg2
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3843 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3844 resultobj
= t_output_helper(resultobj
,o
);
3847 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3848 resultobj
= t_output_helper(resultobj
,o
);
3856 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= wxGetDisplaySizeMM();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3873 resultptr
= new wxSize((wxSize
&) result
);
3874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3882 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 int *arg1
= (int *) 0 ;
3885 int *arg2
= (int *) 0 ;
3886 int *arg3
= (int *) 0 ;
3887 int *arg4
= (int *) 0 ;
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3911 resultobj
= t_output_helper(resultobj
,o
);
3914 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3915 resultobj
= t_output_helper(resultobj
,o
);
3918 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3919 resultobj
= t_output_helper(resultobj
,o
);
3922 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3923 resultobj
= t_output_helper(resultobj
,o
);
3931 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= wxGetClientDisplayRect();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3948 resultptr
= new wxRect((wxRect
&) result
);
3949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3957 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxCursor
*arg1
= 0 ;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "cursor", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3970 PyErr_SetString(PyExc_TypeError
,"null reference");
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3990 PyObject
* obj0
= 0 ;
3992 (char *) "cursor", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 wxBeginBusyCursor(arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 Py_INCREF(Py_None
); resultobj
= Py_None
;
4014 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (wxWindow
*)wxGetActiveWindow();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= wxPyMake_wxObject(result
);
4038 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4043 PyObject
* obj0
= 0 ;
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4051 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= wxPyMake_wxObject(result
);
4069 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4074 PyObject
* obj0
= 0 ;
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4082 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= wxPyMake_wxObject(result
);
4100 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxWindow
*arg1
= (wxWindow
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4106 (char *) "win", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= wxPyMake_wxObject(result
);
4128 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
;
4132 PyObject
* obj0
= 0 ;
4134 (char *) "key", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4138 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4156 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 wxWakeUpMainThread();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 Py_INCREF(Py_None
); resultobj
= Py_None
;
4177 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxMutexGuiLocker
*result
;
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4241 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4246 (char *) "self", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 Py_INCREF(Py_None
); resultobj
= Py_None
;
4266 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4269 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4271 return Py_BuildValue((char *)"");
4273 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (bool)wxThread_IsMain();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4297 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxString
*arg1
= 0 ;
4301 bool temp1
= False
;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "tip", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4309 arg1
= wxString_in_helper(obj0
);
4310 if (arg1
== NULL
) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= wxPyMake_wxObject(result
);
4337 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4340 wxString
*arg2
= 0 ;
4341 bool temp2
= False
;
4342 PyObject
* obj0
= 0 ;
4343 PyObject
* obj1
= 0 ;
4345 (char *) "self",(char *) "tip", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4352 arg2
= wxString_in_helper(obj1
);
4353 if (arg2
== NULL
) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 (arg1
)->SetTip((wxString
const &)*arg2
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 Py_INCREF(Py_None
); resultobj
= Py_None
;
4378 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4384 (char *) "self", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (arg1
)->GetTip();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4410 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4416 (char *) "self", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (wxWindow
*)(arg1
)->GetWindow();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= wxPyMake_wxObject(result
);
4438 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4441 PyObject
* obj0
= 0 ;
4443 (char *) "flag", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4447 arg1
= (bool) SWIG_AsBool(obj0
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxToolTip::Enable(arg1
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4466 PyObject
* obj0
= 0 ;
4468 (char *) "milliseconds", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4472 arg1
= (long) SWIG_AsLong(obj0
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxToolTip::SetDelay(arg1
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4491 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4493 return Py_BuildValue((char *)"");
4495 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxWindow
*arg1
= (wxWindow
*) 0 ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4504 (char *) "window",(char *) "size", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4512 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4528 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxCaret
*arg1
= (wxCaret
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 Py_INCREF(Py_None
); resultobj
= Py_None
;
4553 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxCaret
*arg1
= (wxCaret
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (bool)(arg1
)->IsOk();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4581 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxCaret
*arg1
= (wxCaret
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4587 (char *) "self", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 result
= (bool)(arg1
)->IsVisible();
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4609 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxCaret
*arg1
= (wxCaret
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "self", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (arg1
)->GetPosition();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 wxPoint
* resultptr
;
4630 resultptr
= new wxPoint((wxPoint
&) result
);
4631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4639 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxCaret
*arg1
= (wxCaret
*) 0 ;
4642 int *arg2
= (int *) 0 ;
4643 int *arg3
= (int *) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self", NULL
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 (arg1
)->GetPosition(arg2
,arg3
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 Py_INCREF(Py_None
); resultobj
= Py_None
;
4665 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4666 resultobj
= t_output_helper(resultobj
,o
);
4669 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4670 resultobj
= t_output_helper(resultobj
,o
);
4678 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxCaret
*arg1
= (wxCaret
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "self", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (arg1
)->GetSize();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4699 resultptr
= new wxSize((wxSize
&) result
);
4700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4708 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxCaret
*arg1
= (wxCaret
*) 0 ;
4711 int *arg2
= (int *) 0 ;
4712 int *arg3
= (int *) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->GetSize(arg2
,arg3
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 Py_INCREF(Py_None
); resultobj
= Py_None
;
4734 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4735 resultobj
= t_output_helper(resultobj
,o
);
4738 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4739 resultobj
= t_output_helper(resultobj
,o
);
4747 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxCaret
*arg1
= (wxCaret
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (wxWindow
*)(arg1
)->GetWindow();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= wxPyMake_wxObject(result
);
4775 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxCaret
*arg1
= (wxCaret
*) 0 ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4784 (char *) "self",(char *) "x",(char *) "y", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4790 arg2
= (int) SWIG_AsInt(obj1
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4792 arg3
= (int) SWIG_AsInt(obj2
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 (arg1
)->Move(arg2
,arg3
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxCaret
*arg1
= (wxCaret
*) 0 ;
4813 PyObject
* obj0
= 0 ;
4814 PyObject
* obj1
= 0 ;
4816 (char *) "self",(char *) "pt", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 (arg1
)->Move((wxPoint
const &)*arg2
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 Py_INCREF(Py_None
); resultobj
= Py_None
;
4840 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxCaret
*arg1
= (wxCaret
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4847 PyObject
* obj2
= 0 ;
4849 (char *) "self",(char *) "width",(char *) "height", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 arg2
= (int) SWIG_AsInt(obj1
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4857 arg3
= (int) SWIG_AsInt(obj2
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SetSize(arg2
,arg3
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 Py_INCREF(Py_None
); resultobj
= Py_None
;
4873 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxCaret
*arg1
= (wxCaret
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4881 (char *) "self",(char *) "size", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 (arg1
)->SetSize((wxSize
const &)*arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxCaret
*arg1
= (wxCaret
*) 0 ;
4908 int arg2
= (int) True
;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4912 (char *) "self",(char *) "show", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 arg2
= (int) SWIG_AsInt(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 Py_INCREF(Py_None
); resultobj
= Py_None
;
4936 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxCaret
*arg1
= (wxCaret
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4941 (char *) "self", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 Py_INCREF(Py_None
); resultobj
= Py_None
;
4961 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
4963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4964 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4966 return Py_BuildValue((char *)"");
4968 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)wxCaret_GetBlinkTime();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_FromInt((int)result
);
4990 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "milliseconds", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4999 arg1
= (int) SWIG_AsInt(obj0
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxCaret_SetBlinkTime(arg1
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 Py_INCREF(Py_None
); resultobj
= Py_None
;
5015 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5018 wxBusyCursor
*result
;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "cursor", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5043 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "self", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 Py_INCREF(Py_None
); resultobj
= Py_None
;
5068 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5071 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5073 return Py_BuildValue((char *)"");
5075 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxWindow
*arg1
= (wxWindow
*) NULL
;
5078 wxWindowDisabler
*result
;
5079 PyObject
* obj0
= 0 ;
5081 (char *) "winToSkip", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5103 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5108 (char *) "self", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 Py_INCREF(Py_None
); resultobj
= Py_None
;
5128 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5133 return Py_BuildValue((char *)"");
5135 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxString
*arg1
= 0 ;
5139 bool temp1
= False
;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "message", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5147 arg1
= wxString_in_helper(obj0
);
5148 if (arg1
== NULL
) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5173 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5178 (char *) "self", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 Py_INCREF(Py_None
); resultobj
= Py_None
;
5198 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5201 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5203 return Py_BuildValue((char *)"");
5205 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxStopWatch
*result
;
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= (wxStopWatch
*)new wxStopWatch();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5227 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5230 long arg2
= (long) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "t0", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 arg2
= (long) SWIG_AsLong(obj1
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->Start(arg2
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 Py_INCREF(Py_None
); resultobj
= Py_None
;
5258 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5283 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 Py_INCREF(Py_None
); resultobj
= Py_None
;
5308 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5314 (char *) "self", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= SWIG_FromLong((long)result
);
5334 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5337 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5339 return Py_BuildValue((char *)"");
5341 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 int arg1
= (int) 9 ;
5344 wxFileHistory
*result
;
5345 PyObject
* obj0
= 0 ;
5347 (char *) "maxFiles", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5352 arg1
= (int) SWIG_AsInt(obj0
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5369 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5372 PyObject
* obj0
= 0 ;
5374 (char *) "self", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5397 wxString
*arg2
= 0 ;
5398 bool temp2
= False
;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5402 (char *) "self",(char *) "file", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 arg2
= wxString_in_helper(obj1
);
5410 if (arg2
== NULL
) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5435 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "i", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 arg2
= (int) SWIG_AsInt(obj1
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->RemoveFileFromHistory(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5470 (char *) "self", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_FromInt((int)result
);
5490 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5493 wxMenu
*arg2
= (wxMenu
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "menu", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->UseMenu(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5522 wxMenu
*arg2
= (wxMenu
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5526 (char *) "self",(char *) "menu", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 (arg1
)->RemoveMenu(arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5548 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5551 wxConfigBase
*arg2
= 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "config", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5565 PyErr_SetString(PyExc_TypeError
,"null reference");
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->Load(*arg2
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 Py_INCREF(Py_None
); resultobj
= Py_None
;
5582 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5585 wxConfigBase
*arg2
= 0 ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5589 (char *) "self",(char *) "config", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5599 PyErr_SetString(PyExc_TypeError
,"null reference");
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->Save(*arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->AddFilesToMenu();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5644 wxMenu
*arg2
= (wxMenu
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5648 (char *) "self",(char *) "menu", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 (arg1
)->AddFilesToMenu(arg2
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "i", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 arg2
= (int) SWIG_AsInt(obj1
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5706 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5712 (char *) "self", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_FromInt((int)result
);
5732 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
5734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5735 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5737 return Py_BuildValue((char *)"");
5739 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxString
*arg1
= 0 ;
5742 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5743 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5744 wxSingleInstanceChecker
*result
;
5745 bool temp1
= False
;
5746 bool temp2
= False
;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "name",(char *) "path", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5755 arg1
= wxString_in_helper(obj0
);
5756 if (arg1
== NULL
) SWIG_fail
;
5761 arg2
= wxString_in_helper(obj1
);
5762 if (arg2
== NULL
) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5796 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxSingleInstanceChecker
*result
;
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5818 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 Py_INCREF(Py_None
); resultobj
= Py_None
;
5843 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5846 wxString
*arg2
= 0 ;
5847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5850 bool temp2
= False
;
5851 bool temp3
= False
;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 PyObject
* obj2
= 0 ;
5856 (char *) "self",(char *) "name",(char *) "path", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 arg2
= wxString_in_helper(obj1
);
5864 if (arg2
== NULL
) SWIG_fail
;
5869 arg3
= wxString_in_helper(obj2
);
5870 if (arg3
== NULL
) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5906 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5910 PyObject
* obj0
= 0 ;
5912 (char *) "self", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5934 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
5936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5937 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5939 return Py_BuildValue((char *)"");
5941 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxWindow
*arg1
= (wxWindow
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5948 PyObject
* obj2
= 0 ;
5950 (char *) "window",(char *) "dc",(char *) "method", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5960 PyErr_SetString(PyExc_TypeError
,"null reference");
5963 arg3
= (int) SWIG_AsInt(obj2
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 Py_INCREF(Py_None
); resultobj
= Py_None
;
5979 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 Py_INCREF(Py_None
); resultobj
= Py_None
;
6004 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6010 (char *) "self", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (arg1
)->GetTip();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6036 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6042 (char *) "self", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (size_t)(arg1
)->GetCurrentTip();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6062 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6065 wxString
*arg2
= 0 ;
6067 bool temp2
= False
;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "tip", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6078 arg2
= wxString_in_helper(obj1
);
6079 if (arg2
== NULL
) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6110 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6113 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6115 return Py_BuildValue((char *)"");
6117 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6120 wxPyTipProvider
*result
;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "currentTip", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6127 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6143 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6146 PyObject
*arg2
= (PyObject
*) 0 ;
6147 PyObject
*arg3
= (PyObject
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6152 (char *) "self",(char *) "self",(char *) "_class", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 Py_INCREF(Py_None
); resultobj
= Py_None
;
6174 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6177 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6179 return Py_BuildValue((char *)"");
6181 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxWindow
*arg1
= (wxWindow
*) 0 ;
6184 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6185 bool arg3
= (bool) True
;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6189 PyObject
* obj2
= 0 ;
6191 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 arg3
= (bool) SWIG_AsBool(obj2
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6219 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxString
*arg1
= 0 ;
6223 wxTipProvider
*result
;
6224 bool temp1
= False
;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "filename",(char *) "currentTip", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6233 arg1
= wxString_in_helper(obj0
);
6234 if (arg1
== NULL
) SWIG_fail
;
6237 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6261 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6264 int arg2
= (int) -1 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6269 (char *) "owner",(char *) "id", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 arg2
= (int) SWIG_AsInt(obj1
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6295 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 Py_INCREF(Py_None
); resultobj
= Py_None
;
6320 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6323 PyObject
*arg2
= (PyObject
*) 0 ;
6324 PyObject
*arg3
= (PyObject
*) 0 ;
6325 int arg4
= (int) 1 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 PyObject
* obj2
= 0 ;
6329 PyObject
* obj3
= 0 ;
6331 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 arg4
= (int) SWIG_AsInt(obj3
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 Py_INCREF(Py_None
); resultobj
= Py_None
;
6357 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6360 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6361 int arg3
= (int) -1 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6364 PyObject
* obj2
= 0 ;
6366 (char *) "self",(char *) "owner",(char *) "id", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg3
= (int) SWIG_AsInt(obj2
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 (arg1
)->SetOwner(arg2
,arg3
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 Py_INCREF(Py_None
); resultobj
= Py_None
;
6392 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6395 int arg2
= (int) -1 ;
6396 bool arg3
= (bool) False
;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6400 PyObject
* obj2
= 0 ;
6402 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 arg2
= (int) SWIG_AsInt(obj1
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6413 arg3
= (bool) SWIG_AsBool(obj2
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6432 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "self", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "self", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6485 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_FromInt((int)result
);
6511 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "self", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6539 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_FromInt((int)result
);
6565 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
6567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6568 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6570 return Py_BuildValue((char *)"");
6572 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 int arg1
= (int) 0 ;
6575 int arg2
= (int) 0 ;
6576 wxTimerEvent
*result
;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6580 (char *) "timerid",(char *) "interval", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6585 arg1
= (int) SWIG_AsInt(obj0
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 arg2
= (int) SWIG_AsInt(obj1
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6606 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_FromInt((int)result
);
6632 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
6634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6635 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6637 return Py_BuildValue((char *)"");
6639 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
6640 PyObject
*resultobj
;
6642 wxTimerRunner
*result
;
6643 PyObject
* obj0
= 0 ;
6645 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6650 PyErr_SetString(PyExc_TypeError
,"null reference");
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6667 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
6668 PyObject
*resultobj
;
6671 bool arg3
= (bool) False
;
6672 wxTimerRunner
*result
;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6675 PyObject
* obj2
= 0 ;
6677 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6682 PyErr_SetString(PyExc_TypeError
,"null reference");
6685 arg2
= (int) SWIG_AsInt(obj1
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 arg3
= (bool) SWIG_AsBool(obj2
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6705 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6710 argc
= PyObject_Length(args
);
6711 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6712 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6718 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6726 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6729 if ((argc
>= 2) && (argc
<= 3)) {
6733 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6741 _v
= SWIG_CheckInt(argv
[1]);
6744 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6746 _v
= SWIG_CheckBool(argv
[2]);
6748 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6754 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6759 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6764 (char *) "self", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 Py_INCREF(Py_None
); resultobj
= Py_None
;
6784 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6788 bool arg3
= (bool) False
;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6793 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6799 arg2
= (int) SWIG_AsInt(obj1
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 arg3
= (bool) SWIG_AsBool(obj2
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 (arg1
)->Start(arg2
,arg3
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 Py_INCREF(Py_None
); resultobj
= Py_None
;
6819 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
6821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6822 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6824 return Py_BuildValue((char *)"");
6826 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (wxLog
*)new wxLog();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6848 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (bool)wxLog::IsEnabled();
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6872 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 bool arg1
= (bool) True
;
6876 PyObject
* obj0
= 0 ;
6878 (char *) "doIt", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6883 arg1
= (bool) SWIG_AsBool(obj0
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (bool)wxLog::EnableLogging(arg1
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6902 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6905 wxChar
*arg2
= (wxChar
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6909 PyObject
* obj2
= 0 ;
6911 (char *) "level",(char *) "szString",(char *) "t", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6915 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6919 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 Py_INCREF(Py_None
); resultobj
= Py_None
;
6935 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxLog
*arg1
= (wxLog
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6940 (char *) "self", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 Py_INCREF(Py_None
); resultobj
= Py_None
;
6960 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 wxLog::FlushActive();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (wxLog
*)wxLog::GetActiveTarget();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7003 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxLog
*arg1
= (wxLog
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7009 (char *) "pLogger", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7029 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 Py_INCREF(Py_None
); resultobj
= Py_None
;
7071 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 bool arg1
= (bool) True
;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "bVerbose", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7081 arg1
= (bool) SWIG_AsBool(obj0
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 wxLog::SetVerbose(arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "logLevel", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7107 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 wxLog::SetLogLevel(arg1
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 wxLog::DontCreateOnDemand();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "ulMask", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7153 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 wxLog::SetTraceMask(arg1
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxString
*arg1
= 0 ;
7172 bool temp1
= False
;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "str", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7180 arg1
= wxString_in_helper(obj0
);
7181 if (arg1
== NULL
) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 wxLog::AddTraceMask((wxString
const &)*arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxString
*arg1
= 0 ;
7209 bool temp1
= False
;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "str", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7217 arg1
= wxString_in_helper(obj0
);
7218 if (arg1
== NULL
) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 wxLog::ClearTraceMasks();
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxArrayString
*result
;
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7276 result
= (wxArrayString
*) &_result_ref
;
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= wxArrayString2PyList_helper(*result
);
7291 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxChar
*arg1
= (wxChar
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 wxLog::SetTimestamp((wxChar
const *)arg1
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (bool)wxLog::GetVerbose();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7340 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (wxTraceMask
)wxLog::GetTraceMask();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7362 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxChar
*arg1
= (wxChar
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7368 (char *) "mask", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7390 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (wxLogLevel
)wxLog::GetLogLevel();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7412 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (wxChar
*)wxLog::GetTimestamp();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7434 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= Log_TimeStamp();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7462 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxLog
*arg1
= (wxLog
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "self", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 wxLog_Destroy(arg1
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 Py_INCREF(Py_None
); resultobj
= Py_None
;
7487 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
7489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7490 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7492 return Py_BuildValue((char *)"");
7494 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxLogStderr
*result
;
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (wxLogStderr
*)new wxLogStderr();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7516 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
7518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7519 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7521 return Py_BuildValue((char *)"");
7523 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7526 wxLogTextCtrl
*result
;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "pTextCtrl", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7549 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
7551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7552 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7554 return Py_BuildValue((char *)"");
7556 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxLogGui
*)new wxLogGui();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7578 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
7580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7581 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7583 return Py_BuildValue((char *)"");
7585 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxFrame
*arg1
= (wxFrame
*) 0 ;
7588 wxString
*arg2
= 0 ;
7589 bool arg3
= (bool) True
;
7590 bool arg4
= (bool) True
;
7591 wxLogWindow
*result
;
7592 bool temp2
= False
;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 PyObject
* obj2
= 0 ;
7596 PyObject
* obj3
= 0 ;
7598 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7605 arg2
= wxString_in_helper(obj1
);
7606 if (arg2
== NULL
) SWIG_fail
;
7610 arg3
= (bool) SWIG_AsBool(obj2
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 arg4
= (bool) SWIG_AsBool(obj3
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7639 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7642 bool arg2
= (bool) True
;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7646 (char *) "self",(char *) "bShow", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7653 arg2
= (bool) SWIG_AsBool(obj1
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= wxPyMake_wxObject(result
);
7698 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7724 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "bDoPass", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 arg2
= (bool) SWIG_AsBool(obj1
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 (arg1
)->PassMessages(arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
7783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7784 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7786 return Py_BuildValue((char *)"");
7788 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxLog
*arg1
= (wxLog
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "logger", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (wxLogChain
*)new wxLogChain(arg1
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7814 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7817 wxLog
*arg2
= (wxLog
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "logger", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 (arg1
)->SetLog(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7850 (char *) "self",(char *) "bDoPass", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 arg2
= (bool) SWIG_AsBool(obj1
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 (arg1
)->PassMessages(arg2
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "self", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (bool)(arg1
)->IsPassingMessages();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7900 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7906 (char *) "self", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (wxLog
*)(arg1
)->GetOldLog();
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7926 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
7928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7929 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7931 return Py_BuildValue((char *)"");
7933 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 unsigned long result
;
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (unsigned long)wxSysErrorCode();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7955 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 unsigned long arg1
= (unsigned long) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "nErrCode", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7966 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= wxSysErrorMsg(arg1
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7989 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxString
*arg1
= 0 ;
7992 bool temp1
= False
;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "msg", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8000 arg1
= wxString_in_helper(obj0
);
8001 if (arg1
== NULL
) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxLogFatalError((wxString
const &)*arg1
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxString
*arg1
= 0 ;
8029 bool temp1
= False
;
8030 PyObject
* obj0
= 0 ;
8032 (char *) "msg", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8037 arg1
= wxString_in_helper(obj0
);
8038 if (arg1
== NULL
) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 wxLogError((wxString
const &)*arg1
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8063 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxString
*arg1
= 0 ;
8066 bool temp1
= False
;
8067 PyObject
* obj0
= 0 ;
8069 (char *) "msg", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8074 arg1
= wxString_in_helper(obj0
);
8075 if (arg1
== NULL
) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 wxLogWarning((wxString
const &)*arg1
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 Py_INCREF(Py_None
); resultobj
= Py_None
;
8100 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxString
*arg1
= 0 ;
8103 bool temp1
= False
;
8104 PyObject
* obj0
= 0 ;
8106 (char *) "msg", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8111 arg1
= wxString_in_helper(obj0
);
8112 if (arg1
== NULL
) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 wxLogMessage((wxString
const &)*arg1
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxString
*arg1
= 0 ;
8140 bool temp1
= False
;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "msg", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8148 arg1
= wxString_in_helper(obj0
);
8149 if (arg1
== NULL
) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 wxLogInfo((wxString
const &)*arg1
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxString
*arg1
= 0 ;
8177 bool temp1
= False
;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "msg", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8185 arg1
= wxString_in_helper(obj0
);
8186 if (arg1
== NULL
) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 wxLogDebug((wxString
const &)*arg1
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxString
*arg1
= 0 ;
8214 bool temp1
= False
;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "msg", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8222 arg1
= wxString_in_helper(obj0
);
8223 if (arg1
== NULL
) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 wxLogVerbose((wxString
const &)*arg1
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxString
*arg1
= 0 ;
8251 bool temp1
= False
;
8252 PyObject
* obj0
= 0 ;
8254 (char *) "msg", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8259 arg1
= wxString_in_helper(obj0
);
8260 if (arg1
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 wxLogStatus((wxString
const &)*arg1
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxFrame
*arg1
= (wxFrame
*) 0 ;
8288 wxString
*arg2
= 0 ;
8289 bool temp2
= False
;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "pFrame",(char *) "msg", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 arg2
= wxString_in_helper(obj1
);
8301 if (arg2
== NULL
) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8326 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxString
*arg1
= 0 ;
8329 bool temp1
= False
;
8330 PyObject
* obj0
= 0 ;
8332 (char *) "msg", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8337 arg1
= wxString_in_helper(obj0
);
8338 if (arg1
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 wxLogSysError((wxString
const &)*arg1
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8364 PyObject
*resultobj
;
8365 unsigned long arg1
;
8366 wxString
*arg2
= 0 ;
8367 bool temp2
= False
;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8372 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 arg2
= wxString_in_helper(obj1
);
8376 if (arg2
== NULL
) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 Py_INCREF(Py_None
); resultobj
= Py_None
;
8401 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8402 PyObject
*resultobj
;
8403 wxString
*arg1
= 0 ;
8404 wxString
*arg2
= 0 ;
8405 bool temp1
= False
;
8406 bool temp2
= False
;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8412 arg1
= wxString_in_helper(obj0
);
8413 if (arg1
== NULL
) SWIG_fail
;
8417 arg2
= wxString_in_helper(obj1
);
8418 if (arg2
== NULL
) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8451 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8456 argc
= PyObject_Length(args
);
8457 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8458 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8463 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8467 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8470 return _wrap_LogTrace__SWIG_1(self
,args
);
8476 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8479 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8482 return _wrap_LogTrace__SWIG_0(self
,args
);
8487 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8492 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 unsigned long arg1
;
8495 wxString
*arg2
= 0 ;
8496 bool temp2
= False
;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8500 (char *) "level",(char *) "msg", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8504 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 arg2
= wxString_in_helper(obj1
);
8508 if (arg2
== NULL
) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 Py_INCREF(Py_None
); resultobj
= Py_None
;
8533 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxString
*arg1
= 0 ;
8536 wxString
*arg2
= 0 ;
8537 bool temp1
= False
;
8538 bool temp2
= False
;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8542 (char *) "title",(char *) "text", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8547 arg1
= wxString_in_helper(obj0
);
8548 if (arg1
== NULL
) SWIG_fail
;
8552 arg2
= wxString_in_helper(obj1
);
8553 if (arg2
== NULL
) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (wxLogNull
*)new wxLogNull();
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8608 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "self", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
8635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8636 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8638 return Py_BuildValue((char *)"");
8640 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (wxPyLog
*)new wxPyLog();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8662 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8665 PyObject
*arg2
= (PyObject
*) 0 ;
8666 PyObject
*arg3
= (PyObject
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8671 (char *) "self",(char *) "self",(char *) "_class", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
8695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8696 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8698 return Py_BuildValue((char *)"");
8700 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8703 int arg2
= (int) wxSIGTERM
;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8708 (char *) "pid",(char *) "sig", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8712 arg1
= (int) SWIG_AsInt(obj0
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_FromInt((int)result
);
8732 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "pid", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8742 arg1
= (int) SWIG_AsInt(obj0
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (bool)wxPyProcess::Exists(arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8760 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxString
*arg1
= 0 ;
8763 int arg2
= (int) wxEXEC_ASYNC
;
8764 wxPyProcess
*result
;
8765 bool temp1
= False
;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8769 (char *) "cmd",(char *) "flags", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 arg1
= wxString_in_helper(obj0
);
8775 if (arg1
== NULL
) SWIG_fail
;
8779 arg2
= (int) SWIG_AsInt(obj1
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8804 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8807 int arg2
= (int) -1 ;
8808 wxPyProcess
*result
;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8812 (char *) "parent",(char *) "id", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8821 arg2
= (int) SWIG_AsInt(obj1
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8838 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8841 PyObject
*arg2
= (PyObject
*) 0 ;
8842 PyObject
*arg3
= (PyObject
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 PyObject
* obj2
= 0 ;
8847 (char *) "self",(char *) "self",(char *) "_class", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 Py_INCREF(Py_None
); resultobj
= Py_None
;
8869 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8876 PyObject
* obj2
= 0 ;
8878 (char *) "self",(char *) "pid",(char *) "status", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 arg2
= (int) SWIG_AsInt(obj1
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8886 arg3
= (int) SWIG_AsInt(obj2
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 (arg1
)->base_OnTerminate(arg2
,arg3
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8905 PyObject
* obj0
= 0 ;
8907 (char *) "self", NULL
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8927 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8933 (char *) "self", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (bool)(arg1
)->IsRedirected();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8955 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8983 wxInputStream
*result
;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "self", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 wxPyInputStream
* _ptr
= NULL
;
9003 _ptr
= new wxPyInputStream(result
);
9005 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9013 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9016 wxInputStream
*result
;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 wxPyInputStream
* _ptr
= NULL
;
9036 _ptr
= new wxPyInputStream(result
);
9038 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9046 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9049 wxOutputStream
*result
;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "self", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9072 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 (arg1
)->CloseOutput();
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 Py_INCREF(Py_None
); resultobj
= Py_None
;
9097 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "self", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9125 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9181 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9184 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9186 return Py_BuildValue((char *)"");
9188 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 int arg1
= (int) 0 ;
9191 int arg2
= (int) 0 ;
9192 int arg3
= (int) 0 ;
9193 wxProcessEvent
*result
;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 PyObject
* obj2
= 0 ;
9198 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9203 arg1
= (int) SWIG_AsInt(obj0
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 arg2
= (int) SWIG_AsInt(obj1
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9211 arg3
= (int) SWIG_AsInt(obj2
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9228 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (int)(arg1
)->GetPid();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_FromInt((int)result
);
9254 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9260 (char *) "self", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (int)(arg1
)->GetExitCode();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_FromInt((int)result
);
9280 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9287 (char *) "self",(char *) "m_pid", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9293 arg2
= (int) SWIG_AsInt(obj1
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9295 if (arg1
) (arg1
)->m_pid
= arg2
;
9297 Py_INCREF(Py_None
); resultobj
= Py_None
;
9304 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9310 (char *) "self", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 result
= (int) ((arg1
)->m_pid
);
9318 resultobj
= SWIG_FromInt((int)result
);
9325 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9332 (char *) "self",(char *) "m_exitcode", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 arg2
= (int) SWIG_AsInt(obj1
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9340 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9349 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 result
= (int) ((arg1
)->m_exitcode
);
9363 resultobj
= SWIG_FromInt((int)result
);
9370 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9373 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9375 return Py_BuildValue((char *)"");
9377 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxString
*arg1
= 0 ;
9380 int arg2
= (int) wxEXEC_ASYNC
;
9381 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9383 bool temp1
= False
;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9386 PyObject
* obj2
= 0 ;
9388 (char *) "command",(char *) "flags",(char *) "process", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9393 arg1
= wxString_in_helper(obj0
);
9394 if (arg1
== NULL
) SWIG_fail
;
9398 arg2
= (int) SWIG_AsInt(obj1
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_FromLong((long)result
);
9427 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 int arg1
= (int) wxJOYSTICK1
;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "joystick", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9438 arg1
= (int) SWIG_AsInt(obj0
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (wxJoystick
*)new wxJoystick(arg1
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9455 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "self", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 Py_INCREF(Py_None
); resultobj
= Py_None
;
9480 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (arg1
)->GetPosition();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 wxPoint
* resultptr
;
9501 resultptr
= new wxPoint((wxPoint
&) result
);
9502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9510 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (int)(arg1
)->GetZPosition();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_FromInt((int)result
);
9536 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (int)(arg1
)->GetButtonState();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_FromInt((int)result
);
9562 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (int)(arg1
)->GetPOVPosition();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_FromInt((int)result
);
9588 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (int)(arg1
)->GetPOVCTSPosition();
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= SWIG_FromInt((int)result
);
9614 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (int)(arg1
)->GetRudderPosition();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_FromInt((int)result
);
9640 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (int)(arg1
)->GetUPosition();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_FromInt((int)result
);
9666 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (int)(arg1
)->GetVPosition();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_FromInt((int)result
);
9692 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (int)(arg1
)->GetMovementThreshold();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_FromInt((int)result
);
9718 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9725 (char *) "self",(char *) "threshold", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9731 arg2
= (int) SWIG_AsInt(obj1
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetMovementThreshold(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9747 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "self", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (bool)(arg1
)->IsOk();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9775 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "self", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (int)(arg1
)->GetNumberJoysticks();
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_FromInt((int)result
);
9801 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9807 (char *) "self", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (int)(arg1
)->GetManufacturerId();
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_FromInt((int)result
);
9827 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (int)(arg1
)->GetProductId();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= SWIG_FromInt((int)result
);
9853 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (arg1
)->GetProductName();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (int)(arg1
)->GetXMin();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_FromInt((int)result
);
9911 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (int)(arg1
)->GetYMin();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_FromInt((int)result
);
9937 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (int)(arg1
)->GetZMin();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_FromInt((int)result
);
9963 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (int)(arg1
)->GetXMax();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_FromInt((int)result
);
9989 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (int)(arg1
)->GetYMax();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= SWIG_FromInt((int)result
);
10015 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (int)(arg1
)->GetZMax();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= SWIG_FromInt((int)result
);
10041 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, 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_GetNumberButtons",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
)->GetNumberButtons();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_FromInt((int)result
);
10067 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, 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_GetNumberAxes",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
)->GetNumberAxes();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_FromInt((int)result
);
10093 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, 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_GetMaxButtons",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
)->GetMaxButtons();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_FromInt((int)result
);
10119 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, 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_GetMaxAxes",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
= (int)(arg1
)->GetMaxAxes();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_FromInt((int)result
);
10145 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (int)(arg1
)->GetPollingMin();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_FromInt((int)result
);
10171 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10175 PyObject
* obj0
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "self", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 result
= (int)(arg1
)->GetPollingMax();
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= SWIG_FromInt((int)result
);
10197 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10201 PyObject
* obj0
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (int)(arg1
)->GetRudderMin();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= SWIG_FromInt((int)result
);
10223 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (int)(arg1
)->GetRudderMax();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_FromInt((int)result
);
10249 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (int)(arg1
)->GetUMin();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_FromInt((int)result
);
10275 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (int)(arg1
)->GetUMax();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_FromInt((int)result
);
10301 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10305 PyObject
* obj0
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 result
= (int)(arg1
)->GetVMin();
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= SWIG_FromInt((int)result
);
10327 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)(arg1
)->GetVMax();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_FromInt((int)result
);
10353 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (bool)(arg1
)->HasRudder();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10381 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
;
10383 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (bool)(arg1
)->HasZ();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10409 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= (bool)(arg1
)->HasU();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10437 static PyObject
*_wrap_Joystick_HasV(PyObject
*, 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_HasV",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
= (bool)(arg1
)->HasV();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10465 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10469 PyObject
* obj0
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->HasPOV();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10493 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10497 PyObject
* obj0
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (bool)(arg1
)->HasPOV4Dir();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10521 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (bool)(arg1
)->HasPOVCTS();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10549 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10552 wxWindow
*arg2
= (wxWindow
*) 0 ;
10553 int arg3
= (int) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 PyObject
* obj2
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10568 arg3
= (int) SWIG_AsInt(obj2
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10587 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->ReleaseCapture();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
10617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10618 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10620 return Py_BuildValue((char *)"");
10622 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10625 wxPoint
*arg2
= (wxPoint
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self",(char *) "m_pos", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 if (arg1
) (arg1
)->m_pos
= *arg2
;
10639 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10667 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "m_zPosition", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 arg2
= (int) SWIG_AsInt(obj1
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10682 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10684 Py_INCREF(Py_None
); resultobj
= Py_None
;
10691 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10695 PyObject
* obj0
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 result
= (int) ((arg1
)->m_zPosition
);
10705 resultobj
= SWIG_FromInt((int)result
);
10712 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "m_buttonChange", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 arg2
= (int) SWIG_AsInt(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10727 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 result
= (int) ((arg1
)->m_buttonChange
);
10750 resultobj
= SWIG_FromInt((int)result
);
10757 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self",(char *) "m_buttonState", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10770 arg2
= (int) SWIG_AsInt(obj1
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10772 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 result
= (int) ((arg1
)->m_buttonState
);
10795 resultobj
= SWIG_FromInt((int)result
);
10802 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "m_joyStick", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10815 arg2
= (int) SWIG_AsInt(obj1
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10817 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 result
= (int) ((arg1
)->m_joyStick
);
10840 resultobj
= SWIG_FromInt((int)result
);
10847 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10850 int arg2
= (int) 0 ;
10851 int arg3
= (int) wxJOYSTICK1
;
10852 int arg4
= (int) 0 ;
10853 wxJoystickEvent
*result
;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 PyObject
* obj2
= 0 ;
10857 PyObject
* obj3
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10864 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 arg2
= (int) SWIG_AsInt(obj1
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10872 arg3
= (int) SWIG_AsInt(obj2
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 arg4
= (int) SWIG_AsInt(obj3
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10893 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 wxPoint
* resultptr
;
10914 resultptr
= new wxPoint((wxPoint
&) result
);
10915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10923 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_FromInt((int)result
);
10949 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= SWIG_FromInt((int)result
);
10975 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= SWIG_FromInt((int)result
);
11001 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= SWIG_FromInt((int)result
);
11027 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "stick", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 arg2
= (int) SWIG_AsInt(obj1
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 (arg1
)->SetJoystick(arg2
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 Py_INCREF(Py_None
); resultobj
= Py_None
;
11056 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self",(char *) "state", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 arg2
= (int) SWIG_AsInt(obj1
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 (arg1
)->SetButtonState(arg2
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 Py_INCREF(Py_None
); resultobj
= Py_None
;
11085 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self",(char *) "change", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11098 arg2
= (int) SWIG_AsInt(obj1
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 (arg1
)->SetButtonChange(arg2
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11117 wxPoint
*arg2
= 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "pos", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11146 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self",(char *) "zPos", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (int) SWIG_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->SetZPosition(arg2
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11231 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11262 int arg2
= (int) wxJOY_BUTTON_ANY
;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self",(char *) "but", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11274 arg2
= (int) SWIG_AsInt(obj1
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11293 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11296 int arg2
= (int) wxJOY_BUTTON_ANY
;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self",(char *) "but", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11327 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11330 int arg2
= (int) wxJOY_BUTTON_ANY
;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "but", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 arg2
= (int) SWIG_AsInt(obj1
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11361 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11364 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11366 return Py_BuildValue((char *)"");
11368 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*, PyObject
*args
) {
11369 PyObject
*resultobj
;
11372 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (wxSound
*)new wxSound();
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11387 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*, PyObject
*args
) {
11388 PyObject
*resultobj
;
11389 wxString
*arg1
= 0 ;
11390 bool arg2
= (bool) false ;
11392 bool temp1
= False
;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11396 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11398 arg1
= wxString_in_helper(obj0
);
11399 if (arg1
== NULL
) SWIG_fail
;
11403 arg2
= (bool) SWIG_AsBool(obj1
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11428 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*, PyObject
*args
) {
11429 PyObject
*resultobj
;
11431 wxByte
*arg2
= (wxByte
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11436 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11437 arg1
= (int) SWIG_AsInt(obj0
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11455 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11460 argc
= PyObject_Length(args
);
11461 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11462 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11465 return _wrap_new_Sound__SWIG_0(self
,args
);
11467 if ((argc
>= 1) && (argc
<= 2)) {
11470 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11474 return _wrap_new_Sound__SWIG_1(self
,args
);
11476 _v
= SWIG_CheckBool(argv
[1]);
11478 return _wrap_new_Sound__SWIG_1(self
,args
);
11484 _v
= SWIG_CheckInt(argv
[0]);
11488 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11496 return _wrap_new_Sound__SWIG_2(self
,args
);
11501 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11506 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxSound
*arg1
= (wxSound
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 Py_INCREF(Py_None
); resultobj
= Py_None
;
11531 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*, PyObject
*args
) {
11532 PyObject
*resultobj
;
11533 wxSound
*arg1
= (wxSound
*) 0 ;
11534 wxString
*arg2
= 0 ;
11535 bool arg3
= (bool) false ;
11537 bool temp2
= False
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 PyObject
* obj2
= 0 ;
11542 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 arg2
= wxString_in_helper(obj1
);
11547 if (arg2
== NULL
) SWIG_fail
;
11551 arg3
= (bool) SWIG_AsBool(obj2
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11578 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*, PyObject
*args
) {
11579 PyObject
*resultobj
;
11580 wxSound
*arg1
= (wxSound
*) 0 ;
11582 wxByte
*arg3
= (wxByte
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 PyObject
* obj2
= 0 ;
11588 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11591 arg2
= (int) SWIG_AsInt(obj1
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte
const *)arg3
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11611 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11616 argc
= PyObject_Length(args
);
11617 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11618 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11620 if ((argc
>= 2) && (argc
<= 3)) {
11624 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11633 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11637 return _wrap_Sound_Create__SWIG_0(self
,args
);
11639 _v
= SWIG_CheckBool(argv
[2]);
11641 return _wrap_Sound_Create__SWIG_0(self
,args
);
11650 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11658 _v
= SWIG_CheckInt(argv
[1]);
11662 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11670 return _wrap_Sound_Create__SWIG_1(self
,args
);
11676 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11681 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxSound
*arg1
= (wxSound
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)(arg1
)->IsOk();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11709 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
) {
11710 PyObject
*resultobj
;
11711 wxSound
*arg1
= (wxSound
*) 0 ;
11712 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11714 PyObject
* obj0
= 0 ;
11715 PyObject
* obj1
= 0 ;
11717 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
) {
11741 PyObject
*resultobj
;
11742 wxString
*arg1
= 0 ;
11743 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11745 bool temp1
= False
;
11746 PyObject
* obj0
= 0 ;
11747 PyObject
* obj1
= 0 ;
11749 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11751 arg1
= wxString_in_helper(obj0
);
11752 if (arg1
== NULL
) SWIG_fail
;
11756 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11783 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 char *kwnames
[] = {
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 Py_INCREF(Py_None
); resultobj
= Py_None
;
11804 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
11806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11807 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11809 return Py_BuildValue((char *)"");
11811 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxString
*arg1
= 0 ;
11814 wxString
*arg2
= 0 ;
11815 wxString
*arg3
= 0 ;
11816 wxString
*arg4
= 0 ;
11817 wxFileTypeInfo
*result
;
11818 bool temp1
= False
;
11819 bool temp2
= False
;
11820 bool temp3
= False
;
11821 bool temp4
= False
;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 PyObject
* obj2
= 0 ;
11825 PyObject
* obj3
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11832 arg1
= wxString_in_helper(obj0
);
11833 if (arg1
== NULL
) SWIG_fail
;
11837 arg2
= wxString_in_helper(obj1
);
11838 if (arg2
== NULL
) SWIG_fail
;
11842 arg3
= wxString_in_helper(obj2
);
11843 if (arg3
== NULL
) SWIG_fail
;
11847 arg4
= wxString_in_helper(obj3
);
11848 if (arg4
== NULL
) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11897 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxArrayString
*arg1
= 0 ;
11900 wxFileTypeInfo
*result
;
11901 bool temp1
= False
;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "sArray", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11909 if (! PySequence_Check(obj0
)) {
11910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11913 arg1
= new wxArrayString
;
11915 int i
, len
=PySequence_Length(obj0
);
11916 for (i
=0; i
<len
; i
++) {
11917 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11919 PyObject
* str
= PyObject_Unicode(item
);
11921 PyObject
* str
= PyObject_Str(item
);
11923 arg1
->Add(Py2wxString(str
));
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11937 if (temp1
) delete arg1
;
11942 if (temp1
) delete arg1
;
11948 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxFileTypeInfo
*result
;
11951 char *kwnames
[] = {
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11970 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12001 wxString
*arg2
= 0 ;
12002 int arg3
= (int) 0 ;
12003 bool temp2
= False
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 PyObject
* obj2
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 arg2
= wxString_in_helper(obj1
);
12016 if (arg2
== NULL
) SWIG_fail
;
12020 arg3
= (int) SWIG_AsInt(obj2
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 Py_INCREF(Py_None
); resultobj
= Py_None
;
12045 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12048 wxString
*arg2
= 0 ;
12049 bool temp2
= False
;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self",(char *) "shortDesc", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 arg2
= wxString_in_helper(obj1
);
12061 if (arg2
== NULL
) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 Py_INCREF(Py_None
); resultobj
= Py_None
;
12086 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12102 result
= (wxString
*) &_result_ref
;
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12121 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12137 result
= (wxString
*) &_result_ref
;
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12147 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12156 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12172 result
= (wxString
*) &_result_ref
;
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12182 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12191 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12207 result
= (wxString
*) &_result_ref
;
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12226 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12242 result
= (wxString
*) &_result_ref
;
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12261 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12264 wxArrayString
*result
;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12277 result
= (wxArrayString
*) &_result_ref
;
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= wxArrayString2PyList_helper(*result
);
12292 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_FromInt((int)result
);
12318 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12334 result
= (wxString
*) &_result_ref
;
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12344 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12353 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_FromInt((int)result
);
12379 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12382 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12384 return Py_BuildValue((char *)"");
12386 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxFileTypeInfo
*arg1
= 0 ;
12389 wxFileType
*result
;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "ftInfo", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12399 if (arg1
== NULL
) {
12400 PyErr_SetString(PyExc_TypeError
,"null reference");
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12417 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxFileType
*arg1
= (wxFileType
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 Py_INCREF(Py_None
); resultobj
= Py_None
;
12442 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxFileType
*arg1
= (wxFileType
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= result
;
12468 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFileType
*arg1
= (wxFileType
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= result
;
12494 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxFileType
*arg1
= (wxFileType
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= result
;
12520 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxFileType
*arg1
= (wxFileType
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12546 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxFileType
*arg1
= (wxFileType
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= result
;
12572 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxFileType
*arg1
= (wxFileType
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= result
;
12598 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxFileType
*arg1
= (wxFileType
*) 0 ;
12601 wxString
*arg2
= 0 ;
12602 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12603 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12605 bool temp2
= False
;
12606 bool temp3
= False
;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 PyObject
* obj2
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12618 arg2
= wxString_in_helper(obj1
);
12619 if (arg2
== NULL
) SWIG_fail
;
12624 arg3
= wxString_in_helper(obj2
);
12625 if (arg3
== NULL
) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
;
12659 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxFileType
*arg1
= (wxFileType
*) 0 ;
12662 wxString
*arg2
= 0 ;
12663 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12666 bool temp2
= False
;
12667 bool temp3
= False
;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 PyObject
* obj2
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12679 arg2
= wxString_in_helper(obj1
);
12680 if (arg2
== NULL
) SWIG_fail
;
12685 arg3
= wxString_in_helper(obj2
);
12686 if (arg3
== NULL
) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= result
;
12720 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxFileType
*arg1
= (wxFileType
*) 0 ;
12723 wxString
*arg2
= 0 ;
12724 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12725 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12727 bool temp2
= False
;
12728 bool temp3
= False
;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 PyObject
* obj2
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 arg2
= wxString_in_helper(obj1
);
12741 if (arg2
== NULL
) SWIG_fail
;
12746 arg3
= wxString_in_helper(obj2
);
12747 if (arg3
== NULL
) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= result
;
12781 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxFileType
*arg1
= (wxFileType
*) 0 ;
12784 wxString
*arg2
= 0 ;
12785 wxString
*arg3
= 0 ;
12786 bool arg4
= (bool) True
;
12788 bool temp2
= False
;
12789 bool temp3
= False
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 PyObject
* obj3
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 arg2
= wxString_in_helper(obj1
);
12803 if (arg2
== NULL
) SWIG_fail
;
12807 arg3
= wxString_in_helper(obj2
);
12808 if (arg3
== NULL
) SWIG_fail
;
12812 arg4
= (bool) SWIG_AsBool(obj3
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxFileType
*arg1
= (wxFileType
*) 0 ;
12850 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12851 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12852 int arg3
= (int) 0 ;
12854 bool temp2
= False
;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 PyObject
* obj2
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self",(char *) "cmd",(char *) "index", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 arg2
= wxString_in_helper(obj1
);
12868 if (arg2
== NULL
) SWIG_fail
;
12873 arg3
= (int) SWIG_AsInt(obj2
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12900 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxFileType
*arg1
= (wxFileType
*) 0 ;
12904 PyObject
* obj0
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (bool)(arg1
)->Unassociate();
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12928 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxString
*arg1
= 0 ;
12931 wxString
*arg2
= 0 ;
12932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12935 bool temp1
= False
;
12936 bool temp2
= False
;
12937 bool temp3
= False
;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 PyObject
* obj2
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12947 arg1
= wxString_in_helper(obj0
);
12948 if (arg1
== NULL
) SWIG_fail
;
12952 arg2
= wxString_in_helper(obj1
);
12953 if (arg2
== NULL
) SWIG_fail
;
12958 arg3
= wxString_in_helper(obj2
);
12959 if (arg3
== NULL
) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13007 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13010 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13012 return Py_BuildValue((char *)"");
13014 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13015 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13020 static PyObject
*_wrap_TheMimeTypesManager_get() {
13023 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13028 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxString
*arg1
= 0 ;
13031 wxString
*arg2
= 0 ;
13033 bool temp1
= False
;
13034 bool temp2
= False
;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "mimeType",(char *) "wildcard", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13043 arg1
= wxString_in_helper(obj0
);
13044 if (arg1
== NULL
) SWIG_fail
;
13048 arg2
= wxString_in_helper(obj1
);
13049 if (arg2
== NULL
) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13084 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxMimeTypesManager
*result
;
13087 char *kwnames
[] = {
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13106 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13109 int arg2
= (int) wxMAILCAP_ALL
;
13110 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13111 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13112 bool temp3
= False
;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 PyObject
* obj2
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 arg2
= (int) SWIG_AsInt(obj1
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13129 arg3
= wxString_in_helper(obj2
);
13130 if (arg3
== NULL
) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->ClearData();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13184 wxString
*arg2
= 0 ;
13185 wxFileType
*result
;
13186 bool temp2
= False
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "ext", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 arg2
= wxString_in_helper(obj1
);
13198 if (arg2
== NULL
) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13223 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13226 wxString
*arg2
= 0 ;
13227 wxFileType
*result
;
13228 bool temp2
= False
;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self",(char *) "mimeType", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 arg2
= wxString_in_helper(obj1
);
13240 if (arg2
== NULL
) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13265 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13268 wxString
*arg2
= 0 ;
13269 bool arg3
= (bool) False
;
13271 bool temp2
= False
;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= wxString_in_helper(obj1
);
13284 if (arg2
== NULL
) SWIG_fail
;
13288 arg3
= (bool) SWIG_AsBool(obj2
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13315 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13318 wxString
*arg2
= 0 ;
13320 bool temp2
= False
;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "filename", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 arg2
= wxString_in_helper(obj1
);
13332 if (arg2
== NULL
) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13359 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
;
13385 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13388 wxFileTypeInfo
*arg2
= 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self",(char *) "ft", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13401 if (arg2
== NULL
) {
13402 PyErr_SetString(PyExc_TypeError
,"null reference");
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 Py_INCREF(Py_None
); resultobj
= Py_None
;
13419 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13422 wxFileTypeInfo
*arg2
= 0 ;
13423 wxFileType
*result
;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self",(char *) "ftInfo", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13436 if (arg2
== NULL
) {
13437 PyErr_SetString(PyExc_TypeError
,"null reference");
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13454 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13457 wxFileType
*arg2
= (wxFileType
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "ft", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (bool)(arg1
)->Unassociate(arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13486 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 Py_INCREF(Py_None
); resultobj
= Py_None
;
13511 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13514 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13516 return Py_BuildValue((char *)"");
13518 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13519 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13524 static PyObject
*_wrap_ART_TOOLBAR_get() {
13529 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13531 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13538 static int _wrap_ART_MENU_set(PyObject
*) {
13539 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13544 static PyObject
*_wrap_ART_MENU_get() {
13549 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13551 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13558 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13559 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13564 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13569 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13571 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13578 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13579 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13584 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13589 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13591 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13598 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13599 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13604 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13609 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13611 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13618 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13619 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13624 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13629 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13631 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13638 static int _wrap_ART_OTHER_set(PyObject
*) {
13639 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13644 static PyObject
*_wrap_ART_OTHER_get() {
13649 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13651 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13658 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13659 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13664 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13669 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13671 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13678 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13679 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13684 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13689 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13691 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13698 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13699 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13704 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13709 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13711 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13718 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13719 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13724 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13729 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13731 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13738 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13739 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13744 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13749 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13751 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13758 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13759 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13764 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13769 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13771 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13778 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13779 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13784 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13789 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13791 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13798 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13799 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13804 static PyObject
*_wrap_ART_GO_BACK_get() {
13809 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13811 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13818 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13819 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13824 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13829 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13831 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13838 static int _wrap_ART_GO_UP_set(PyObject
*) {
13839 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13844 static PyObject
*_wrap_ART_GO_UP_get() {
13849 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13851 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13858 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13859 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13864 static PyObject
*_wrap_ART_GO_DOWN_get() {
13869 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13871 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13878 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13879 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13884 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13889 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13891 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13898 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13899 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13904 static PyObject
*_wrap_ART_GO_HOME_get() {
13909 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13911 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13918 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13919 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13924 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13929 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13931 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13938 static int _wrap_ART_PRINT_set(PyObject
*) {
13939 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13944 static PyObject
*_wrap_ART_PRINT_get() {
13949 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13951 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13958 static int _wrap_ART_HELP_set(PyObject
*) {
13959 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13964 static PyObject
*_wrap_ART_HELP_get() {
13969 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13971 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13978 static int _wrap_ART_TIP_set(PyObject
*) {
13979 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13984 static PyObject
*_wrap_ART_TIP_get() {
13989 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13991 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13998 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13999 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14004 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14009 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14011 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14018 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14019 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14024 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14029 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14031 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14038 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14039 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14044 static PyObject
*_wrap_ART_NEW_DIR_get() {
14049 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14051 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14058 static int _wrap_ART_FOLDER_set(PyObject
*) {
14059 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14064 static PyObject
*_wrap_ART_FOLDER_get() {
14069 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14071 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14078 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14079 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14084 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14089 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14091 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14098 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14099 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14104 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14109 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14111 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14118 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14119 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14124 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14129 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14131 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14138 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14139 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14144 static PyObject
*_wrap_ART_TICK_MARK_get() {
14149 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14151 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14158 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14159 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14164 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14169 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14171 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14178 static int _wrap_ART_ERROR_set(PyObject
*) {
14179 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14184 static PyObject
*_wrap_ART_ERROR_get() {
14189 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14191 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14198 static int _wrap_ART_QUESTION_set(PyObject
*) {
14199 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14204 static PyObject
*_wrap_ART_QUESTION_get() {
14209 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14211 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14218 static int _wrap_ART_WARNING_set(PyObject
*) {
14219 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14224 static PyObject
*_wrap_ART_WARNING_get() {
14229 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14231 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14238 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14239 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14244 static PyObject
*_wrap_ART_INFORMATION_get() {
14249 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14251 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14258 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14259 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14264 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14269 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14271 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14278 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxPyArtProvider
*result
;
14281 char *kwnames
[] = {
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14300 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14303 PyObject
*arg2
= (PyObject
*) 0 ;
14304 PyObject
*arg3
= (PyObject
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 PyObject
* obj2
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "self",(char *) "_class", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "provider", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 wxPyArtProvider::PushProvider(arg1
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14359 char *kwnames
[] = {
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (bool)wxPyArtProvider::PopProvider();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14380 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "provider", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14408 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxString
*arg1
= 0 ;
14411 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14412 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14413 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14414 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14416 bool temp1
= False
;
14417 bool temp2
= False
;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 PyObject
* obj2
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "id",(char *) "client",(char *) "size", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14428 arg1
= wxString_in_helper(obj0
);
14429 if (arg1
== NULL
) SWIG_fail
;
14434 arg2
= wxString_in_helper(obj1
);
14435 if (arg2
== NULL
) SWIG_fail
;
14442 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 wxBitmap
* resultptr
;
14454 resultptr
= new wxBitmap((wxBitmap
&) result
);
14455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14479 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxString
*arg1
= 0 ;
14482 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14483 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14484 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14485 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14487 bool temp1
= False
;
14488 bool temp2
= False
;
14490 PyObject
* obj0
= 0 ;
14491 PyObject
* obj1
= 0 ;
14492 PyObject
* obj2
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "id",(char *) "client",(char *) "size", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14499 arg1
= wxString_in_helper(obj0
);
14500 if (arg1
== NULL
) SWIG_fail
;
14505 arg2
= wxString_in_helper(obj1
);
14506 if (arg2
== NULL
) SWIG_fail
;
14513 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 wxIcon
* resultptr
;
14525 resultptr
= new wxIcon((wxIcon
&) result
);
14526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14550 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 wxPyArtProvider_Destroy(arg1
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 Py_INCREF(Py_None
); resultobj
= Py_None
;
14575 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
14577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14578 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14580 return Py_BuildValue((char *)"");
14582 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 Py_INCREF(Py_None
); resultobj
= Py_None
;
14607 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14610 wxConfigBase
*result
;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "config", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14633 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 bool arg1
= (bool) True
;
14636 wxConfigBase
*result
;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "createOnDemand", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14644 arg1
= (bool) SWIG_AsBool(obj0
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14661 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxConfigBase
*result
;
14664 char *kwnames
[] = {
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (wxConfigBase
*)wxConfigBase::Create();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14683 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 char *kwnames
[] = {
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 wxConfigBase::DontCreateOnDemand();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 Py_INCREF(Py_None
); resultobj
= Py_None
;
14704 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14707 wxString
*arg2
= 0 ;
14708 bool temp2
= False
;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "path", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14719 arg2
= wxString_in_helper(obj1
);
14720 if (arg2
== NULL
) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->SetPath((wxString
const &)*arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14745 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14761 result
= (wxString
*) &_result_ref
;
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14780 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
;
14806 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "index", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 arg2
= (long) SWIG_AsLong(obj1
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= result
;
14836 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= result
;
14862 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self",(char *) "index", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 arg2
= (long) SWIG_AsLong(obj1
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= result
;
14892 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14895 bool arg2
= (bool) False
;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self",(char *) "recursive", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 arg2
= (bool) SWIG_AsBool(obj1
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14924 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14927 bool arg2
= (bool) False
;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self",(char *) "recursive", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 arg2
= (bool) SWIG_AsBool(obj1
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14956 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14959 wxString
*arg2
= 0 ;
14961 bool temp2
= False
;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "name", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 arg2
= wxString_in_helper(obj1
);
14973 if (arg2
== NULL
) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15000 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15003 wxString
*arg2
= 0 ;
15005 bool temp2
= False
;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self",(char *) "name", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 arg2
= wxString_in_helper(obj1
);
15017 if (arg2
== NULL
) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15044 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15047 wxString
*arg2
= 0 ;
15049 bool temp2
= False
;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self",(char *) "name", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15060 arg2
= wxString_in_helper(obj1
);
15061 if (arg2
== NULL
) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15091 wxString
*arg2
= 0 ;
15093 bool temp2
= False
;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "name", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15104 arg2
= wxString_in_helper(obj1
);
15105 if (arg2
== NULL
) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_FromInt((int)result
);
15130 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15133 wxString
*arg2
= 0 ;
15134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15137 bool temp2
= False
;
15138 bool temp3
= False
;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 PyObject
* obj2
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
15156 arg3
= wxString_in_helper(obj2
);
15157 if (arg3
== NULL
) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15197 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15200 wxString
*arg2
= 0 ;
15201 long arg3
= (long) 0 ;
15203 bool temp2
= False
;
15204 PyObject
* obj0
= 0 ;
15205 PyObject
* obj1
= 0 ;
15206 PyObject
* obj2
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15215 arg2
= wxString_in_helper(obj1
);
15216 if (arg2
== NULL
) SWIG_fail
;
15220 arg3
= (long) SWIG_AsLong(obj2
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= SWIG_FromLong((long)result
);
15245 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15248 wxString
*arg2
= 0 ;
15249 double arg3
= (double) 0.0 ;
15251 bool temp2
= False
;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 PyObject
* obj2
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 arg2
= wxString_in_helper(obj1
);
15264 if (arg2
== NULL
) SWIG_fail
;
15268 arg3
= (double) SWIG_AsDouble(obj2
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= SWIG_FromDouble((double)result
);
15293 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15296 wxString
*arg2
= 0 ;
15297 bool arg3
= (bool) False
;
15299 bool temp2
= False
;
15300 PyObject
* obj0
= 0 ;
15301 PyObject
* obj1
= 0 ;
15302 PyObject
* obj2
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15311 arg2
= wxString_in_helper(obj1
);
15312 if (arg2
== NULL
) SWIG_fail
;
15316 arg3
= (bool) SWIG_AsBool(obj2
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15343 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15346 wxString
*arg2
= 0 ;
15347 wxString
*arg3
= 0 ;
15349 bool temp2
= False
;
15350 bool temp3
= False
;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 PyObject
* obj2
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self",(char *) "key",(char *) "value", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 arg2
= wxString_in_helper(obj1
);
15363 if (arg2
== NULL
) SWIG_fail
;
15367 arg3
= wxString_in_helper(obj2
);
15368 if (arg3
== NULL
) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15403 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15406 wxString
*arg2
= 0 ;
15409 bool temp2
= False
;
15410 PyObject
* obj0
= 0 ;
15411 PyObject
* obj1
= 0 ;
15412 PyObject
* obj2
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self",(char *) "key",(char *) "value", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 arg2
= wxString_in_helper(obj1
);
15422 if (arg2
== NULL
) SWIG_fail
;
15425 arg3
= (long) SWIG_AsLong(obj2
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15454 wxString
*arg2
= 0 ;
15457 bool temp2
= False
;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 PyObject
* obj2
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self",(char *) "key",(char *) "value", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15469 arg2
= wxString_in_helper(obj1
);
15470 if (arg2
== NULL
) SWIG_fail
;
15473 arg3
= (double) SWIG_AsDouble(obj2
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15499 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15502 wxString
*arg2
= 0 ;
15505 bool temp2
= False
;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 PyObject
* obj2
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self",(char *) "key",(char *) "value", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 arg2
= wxString_in_helper(obj1
);
15518 if (arg2
== NULL
) SWIG_fail
;
15521 arg3
= (bool) SWIG_AsBool(obj2
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15547 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15550 bool arg2
= (bool) False
;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self",(char *) "currentOnly", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15562 arg2
= (bool) SWIG_AsBool(obj1
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (bool)(arg1
)->Flush(arg2
);
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15581 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15584 wxString
*arg2
= 0 ;
15585 wxString
*arg3
= 0 ;
15587 bool temp2
= False
;
15588 bool temp3
= False
;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 PyObject
* obj2
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 arg2
= wxString_in_helper(obj1
);
15601 if (arg2
== NULL
) SWIG_fail
;
15605 arg3
= wxString_in_helper(obj2
);
15606 if (arg3
== NULL
) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15641 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15644 wxString
*arg2
= 0 ;
15645 wxString
*arg3
= 0 ;
15647 bool temp2
= False
;
15648 bool temp3
= False
;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15651 PyObject
* obj2
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 arg2
= wxString_in_helper(obj1
);
15661 if (arg2
== NULL
) SWIG_fail
;
15665 arg3
= wxString_in_helper(obj2
);
15666 if (arg3
== NULL
) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15701 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15704 wxString
*arg2
= 0 ;
15705 bool arg3
= (bool) True
;
15707 bool temp2
= False
;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 PyObject
* obj2
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 arg2
= wxString_in_helper(obj1
);
15720 if (arg2
== NULL
) SWIG_fail
;
15724 arg3
= (bool) SWIG_AsBool(obj2
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15751 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15754 wxString
*arg2
= 0 ;
15756 bool temp2
= False
;
15757 PyObject
* obj0
= 0 ;
15758 PyObject
* obj1
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self",(char *) "key", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 arg2
= wxString_in_helper(obj1
);
15768 if (arg2
== NULL
) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->DeleteAll();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15823 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15826 bool arg2
= (bool) True
;
15827 PyObject
* obj0
= 0 ;
15828 PyObject
* obj1
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self",(char *) "doIt", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (bool) SWIG_AsBool(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->SetExpandEnvVars(arg2
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 Py_INCREF(Py_None
); resultobj
= Py_None
;
15854 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15882 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15885 bool arg2
= (bool) True
;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self",(char *) "doIt", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 arg2
= (bool) SWIG_AsBool(obj1
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 (arg1
)->SetRecordDefaults(arg2
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 Py_INCREF(Py_None
); resultobj
= Py_None
;
15913 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15941 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15944 wxString
*arg2
= 0 ;
15946 bool temp2
= False
;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "str", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 arg2
= wxString_in_helper(obj1
);
15958 if (arg2
== NULL
) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15989 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16021 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16053 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16056 wxString
*arg2
= 0 ;
16057 bool temp2
= False
;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "appName", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 (arg1
)->SetAppName((wxString
const &)*arg2
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 Py_INCREF(Py_None
); resultobj
= Py_None
;
16094 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16097 wxString
*arg2
= 0 ;
16098 bool temp2
= False
;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "vendorName", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16109 arg2
= wxString_in_helper(obj1
);
16110 if (arg2
== NULL
) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 Py_INCREF(Py_None
); resultobj
= Py_None
;
16135 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self",(char *) "style", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16148 arg2
= (long) SWIG_AsLong(obj1
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 (arg1
)->SetStyle(arg2
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 Py_INCREF(Py_None
); resultobj
= Py_None
;
16164 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16168 PyObject
* obj0
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "self", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_FromLong((long)result
);
16190 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16193 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16195 return Py_BuildValue((char *)"");
16197 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16200 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16201 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16205 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16206 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16207 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16209 bool temp1
= False
;
16210 bool temp2
= False
;
16211 bool temp3
= False
;
16212 bool temp4
= False
;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 PyObject
* obj2
= 0 ;
16216 PyObject
* obj3
= 0 ;
16217 PyObject
* obj4
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16225 arg1
= wxString_in_helper(obj0
);
16226 if (arg1
== NULL
) SWIG_fail
;
16232 arg2
= wxString_in_helper(obj1
);
16233 if (arg2
== NULL
) SWIG_fail
;
16239 arg3
= wxString_in_helper(obj2
);
16240 if (arg3
== NULL
) SWIG_fail
;
16246 arg4
= wxString_in_helper(obj3
);
16247 if (arg4
== NULL
) SWIG_fail
;
16252 arg5
= (long) SWIG_AsLong(obj4
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16301 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxConfig
*arg1
= (wxConfig
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16329 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16331 return Py_BuildValue((char *)"");
16333 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16336 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16337 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16338 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16341 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16342 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16343 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16344 wxFileConfig
*result
;
16345 bool temp1
= False
;
16346 bool temp2
= False
;
16347 bool temp3
= False
;
16348 bool temp4
= False
;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 PyObject
* obj2
= 0 ;
16352 PyObject
* obj3
= 0 ;
16353 PyObject
* obj4
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16361 arg1
= wxString_in_helper(obj0
);
16362 if (arg1
== NULL
) SWIG_fail
;
16368 arg2
= wxString_in_helper(obj1
);
16369 if (arg2
== NULL
) SWIG_fail
;
16375 arg3
= wxString_in_helper(obj2
);
16376 if (arg3
== NULL
) SWIG_fail
;
16382 arg4
= wxString_in_helper(obj3
);
16383 if (arg4
== NULL
) SWIG_fail
;
16388 arg5
= (long) SWIG_AsLong(obj4
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16437 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16465 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16467 return Py_BuildValue((char *)"");
16469 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16472 wxString
*arg2
= 0 ;
16473 wxConfigPathChanger
*result
;
16474 bool temp2
= False
;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "config",(char *) "entry", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 arg2
= wxString_in_helper(obj1
);
16486 if (arg2
== NULL
) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16511 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 Py_INCREF(Py_None
); resultobj
= Py_None
;
16536 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16552 result
= (wxString
*) &_result_ref
;
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16562 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16571 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
16573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16574 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16576 return Py_BuildValue((char *)"");
16578 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxString
*arg1
= 0 ;
16582 bool temp1
= False
;
16583 PyObject
* obj0
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "sz", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16590 arg1
= wxString_in_helper(obj0
);
16591 if (arg1
== NULL
) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16622 static int _wrap_DateFormatStr_set(PyObject
*) {
16623 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16628 static PyObject
*_wrap_DateFormatStr_get() {
16633 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16635 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16642 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16643 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16648 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16653 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16655 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16662 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "country", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16671 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 Py_INCREF(Py_None
); resultobj
= Py_None
;
16687 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16690 char *kwnames
[] = {
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= (int)wxDateTime::GetCountry();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_FromInt((int)result
);
16709 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 int arg1
= (int) wxDateTime::Country_Default
;
16713 PyObject
* obj0
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "country", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16720 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16739 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 int arg1
= (int) wxDateTime::Gregorian
;
16743 PyObject
* obj0
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "cal", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16750 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_FromInt((int)result
);
16767 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16771 PyObject
* obj0
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "year", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16777 arg1
= (int) SWIG_AsInt(obj0
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= SWIG_FromInt((int)result
);
16793 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 int arg1
= (int) wxDateTime::Gregorian
;
16797 PyObject
* obj0
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "cal", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16804 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= SWIG_FromInt((int)result
);
16821 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 int arg1
= (int) wxDateTime::Inv_Year
;
16824 int arg2
= (int) wxDateTime::Gregorian
;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "year",(char *) "cal", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16834 arg1
= (int) SWIG_AsInt(obj0
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16857 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 int arg1
= (int) wxDateTime::Inv_Year
;
16861 PyObject
* obj0
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "year", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16868 arg1
= (int) SWIG_AsInt(obj0
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (int)wxDateTime::GetCentury(arg1
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= SWIG_FromInt((int)result
);
16885 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16888 int arg2
= (int) wxDateTime::Gregorian
;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "year",(char *) "cal", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16897 arg1
= (int) SWIG_AsInt(obj0
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_FromInt((int)result
);
16917 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16920 int arg2
= (int) wxDateTime::Inv_Year
;
16921 int arg3
= (int) wxDateTime::Gregorian
;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 PyObject
* obj2
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "month",(char *) "year",(char *) "cal", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16931 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 arg2
= (int) SWIG_AsInt(obj1
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_FromInt((int)result
);
16955 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16958 int arg2
= (int) wxDateTime::Name_Full
;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "month",(char *) "flags", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16967 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16993 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16996 int arg2
= (int) wxDateTime::Name_Full
;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "weekday",(char *) "flags", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17008 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17031 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxString
*arg1
= (wxString
*) 0 ;
17034 wxString
*arg2
= (wxString
*) 0 ;
17035 bool temp1
= False
;
17036 bool temp2
= False
;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17045 arg1
= wxString_in_helper(obj0
);
17046 if (arg1
== NULL
) SWIG_fail
;
17050 arg2
= wxString_in_helper(obj1
);
17051 if (arg2
== NULL
) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 int arg1
= (int) wxDateTime::Inv_Year
;
17087 int arg2
= (int) wxDateTime::Country_Default
;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "year",(char *) "country", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17097 arg1
= (int) SWIG_AsInt(obj0
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17120 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 int arg1
= (int) wxDateTime::Inv_Year
;
17123 int arg2
= (int) wxDateTime::Country_Default
;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "year",(char *) "country", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17133 arg1
= (int) SWIG_AsInt(obj0
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 wxDateTime
* resultptr
;
17149 resultptr
= new wxDateTime((wxDateTime
&) result
);
17150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17158 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 int arg1
= (int) wxDateTime::Inv_Year
;
17161 int arg2
= (int) wxDateTime::Country_Default
;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "year",(char *) "country", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17171 arg1
= (int) SWIG_AsInt(obj0
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 wxDateTime
* resultptr
;
17187 resultptr
= new wxDateTime((wxDateTime
&) result
);
17188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17196 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17199 char *kwnames
[] = {
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= wxDateTime::Now();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 wxDateTime
* resultptr
;
17213 resultptr
= new wxDateTime((wxDateTime
&) result
);
17214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17222 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17225 char *kwnames
[] = {
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= wxDateTime::UNow();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 wxDateTime
* resultptr
;
17239 resultptr
= new wxDateTime((wxDateTime
&) result
);
17240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17248 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17251 char *kwnames
[] = {
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= wxDateTime::Today();
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17264 wxDateTime
* resultptr
;
17265 resultptr
= new wxDateTime((wxDateTime
&) result
);
17266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17274 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxDateTime
*result
;
17277 char *kwnames
[] = {
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (wxDateTime
*)new wxDateTime();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17296 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17299 wxDateTime
*result
;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "timet", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17306 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (wxDateTime
*)new wxDateTime(arg1
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17322 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17325 wxDateTime
*result
;
17326 PyObject
* obj0
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "jdn", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17332 arg1
= (double) SWIG_AsDouble(obj0
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxDateTime
*)new wxDateTime(arg1
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17348 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17351 int arg2
= (int) 0 ;
17352 int arg3
= (int) 0 ;
17353 int arg4
= (int) 0 ;
17354 wxDateTime
*result
;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 PyObject
* obj2
= 0 ;
17358 PyObject
* obj3
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17364 arg1
= (int) SWIG_AsInt(obj0
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 arg2
= (int) SWIG_AsInt(obj1
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 arg3
= (int) SWIG_AsInt(obj2
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 arg4
= (int) SWIG_AsInt(obj3
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17392 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17395 int arg2
= (int) wxDateTime::Inv_Month
;
17396 int arg3
= (int) wxDateTime::Inv_Year
;
17397 int arg4
= (int) 0 ;
17398 int arg5
= (int) 0 ;
17399 int arg6
= (int) 0 ;
17400 int arg7
= (int) 0 ;
17401 wxDateTime
*result
;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 PyObject
* obj2
= 0 ;
17405 PyObject
* obj3
= 0 ;
17406 PyObject
* obj4
= 0 ;
17407 PyObject
* obj5
= 0 ;
17408 PyObject
* obj6
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17414 arg1
= (int) SWIG_AsInt(obj0
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 arg3
= (int) SWIG_AsInt(obj2
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 arg4
= (int) SWIG_AsInt(obj3
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17429 arg5
= (int) SWIG_AsInt(obj4
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 arg6
= (int) SWIG_AsInt(obj5
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 arg7
= (int) SWIG_AsInt(obj6
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17454 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17482 wxDateTime
*result
;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17495 result
= (wxDateTime
*) &_result_ref
;
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17508 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17512 wxDateTime
*result
;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "timet", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17528 result
= (wxDateTime
*) &_result_ref
;
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17541 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17545 wxDateTime
*result
;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self",(char *) "jdn", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 arg2
= (double) SWIG_AsDouble(obj1
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17561 result
= (wxDateTime
*) &_result_ref
;
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17574 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17578 int arg3
= (int) 0 ;
17579 int arg4
= (int) 0 ;
17580 int arg5
= (int) 0 ;
17581 wxDateTime
*result
;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 PyObject
* obj2
= 0 ;
17585 PyObject
* obj3
= 0 ;
17586 PyObject
* obj4
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 arg2
= (int) SWIG_AsInt(obj1
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 arg3
= (int) SWIG_AsInt(obj2
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17601 arg4
= (int) SWIG_AsInt(obj3
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 arg5
= (int) SWIG_AsInt(obj4
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17612 result
= (wxDateTime
*) &_result_ref
;
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17625 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17629 int arg3
= (int) wxDateTime::Inv_Month
;
17630 int arg4
= (int) wxDateTime::Inv_Year
;
17631 int arg5
= (int) 0 ;
17632 int arg6
= (int) 0 ;
17633 int arg7
= (int) 0 ;
17634 int arg8
= (int) 0 ;
17635 wxDateTime
*result
;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 PyObject
* obj2
= 0 ;
17639 PyObject
* obj3
= 0 ;
17640 PyObject
* obj4
= 0 ;
17641 PyObject
* obj5
= 0 ;
17642 PyObject
* obj6
= 0 ;
17643 PyObject
* obj7
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 arg2
= (int) SWIG_AsInt(obj1
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 arg4
= (int) SWIG_AsInt(obj3
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 arg5
= (int) SWIG_AsInt(obj4
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 arg6
= (int) SWIG_AsInt(obj5
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 arg7
= (int) SWIG_AsInt(obj6
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 arg8
= (int) SWIG_AsInt(obj7
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17681 result
= (wxDateTime
*) &_result_ref
;
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17694 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17697 wxDateTime
*result
;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17710 result
= (wxDateTime
*) &_result_ref
;
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17723 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17727 wxDateTime
*result
;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "year", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 arg2
= (int) SWIG_AsInt(obj1
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17743 result
= (wxDateTime
*) &_result_ref
;
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17756 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17760 wxDateTime
*result
;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "month", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17776 result
= (wxDateTime
*) &_result_ref
;
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17789 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17793 wxDateTime
*result
;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self",(char *) "day", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 arg2
= (int) SWIG_AsInt(obj1
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17809 result
= (wxDateTime
*) &_result_ref
;
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17822 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17826 wxDateTime
*result
;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self",(char *) "hour", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 arg2
= (int) SWIG_AsInt(obj1
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17842 result
= (wxDateTime
*) &_result_ref
;
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17855 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17859 wxDateTime
*result
;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "minute", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 arg2
= (int) SWIG_AsInt(obj1
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17875 result
= (wxDateTime
*) &_result_ref
;
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17888 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17892 wxDateTime
*result
;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self",(char *) "second", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 arg2
= (int) SWIG_AsInt(obj1
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17908 result
= (wxDateTime
*) &_result_ref
;
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17921 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17925 wxDateTime
*result
;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self",(char *) "millisecond", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 arg2
= (int) SWIG_AsInt(obj1
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17941 result
= (wxDateTime
*) &_result_ref
;
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17954 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17958 int arg3
= (int) wxDateTime::Monday_First
;
17959 wxDateTime
*result
;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 PyObject
* obj2
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17970 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17980 result
= (wxDateTime
*) &_result_ref
;
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17993 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17997 int arg3
= (int) wxDateTime::Monday_First
;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 wxDateTime
* resultptr
;
18024 resultptr
= new wxDateTime((wxDateTime
&) result
);
18025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18033 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18037 wxDateTime
*result
;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "weekday", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18047 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18053 result
= (wxDateTime
*) &_result_ref
;
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18066 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "weekday", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18090 wxDateTime
* resultptr
;
18091 resultptr
= new wxDateTime((wxDateTime
&) result
);
18092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18100 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18104 wxDateTime
*result
;
18105 PyObject
* obj0
= 0 ;
18106 PyObject
* obj1
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self",(char *) "weekday", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18120 result
= (wxDateTime
*) &_result_ref
;
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18133 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 PyObject
* obj1
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self",(char *) "weekday", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18147 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
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_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18171 int arg3
= (int) 1 ;
18172 int arg4
= (int) wxDateTime::Inv_Month
;
18173 int arg5
= (int) wxDateTime::Inv_Year
;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 PyObject
* obj2
= 0 ;
18178 PyObject
* obj3
= 0 ;
18179 PyObject
* obj4
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18187 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 arg3
= (int) SWIG_AsInt(obj2
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18194 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 arg5
= (int) SWIG_AsInt(obj4
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18221 int arg3
= (int) wxDateTime::Inv_Month
;
18222 int arg4
= (int) wxDateTime::Inv_Year
;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 PyObject
* obj2
= 0 ;
18227 PyObject
* obj3
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 arg4
= (int) SWIG_AsInt(obj3
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18261 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18265 int arg3
= (int) wxDateTime::Inv_Month
;
18266 int arg4
= (int) wxDateTime::Inv_Year
;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 PyObject
* obj2
= 0 ;
18271 PyObject
* obj3
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18286 arg4
= (int) SWIG_AsInt(obj3
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 wxDateTime
* resultptr
;
18298 resultptr
= new wxDateTime((wxDateTime
&) result
);
18299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18307 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18311 int arg3
= (int) wxDateTime::Mon
;
18312 int arg4
= (int) wxDateTime::Monday_First
;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 PyObject
* obj2
= 0 ;
18317 PyObject
* obj3
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 arg2
= (int) SWIG_AsInt(obj1
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18351 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18355 int arg3
= (int) wxDateTime::Mon
;
18356 int arg4
= (int) wxDateTime::Monday_First
;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 PyObject
* obj2
= 0 ;
18361 PyObject
* obj3
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",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
= (int) SWIG_AsInt(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 wxDateTime
* resultptr
;
18388 resultptr
= new wxDateTime((wxDateTime
&) result
);
18389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18397 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18400 int arg2
= (int) wxDateTime::Inv_Month
;
18401 int arg3
= (int) wxDateTime::Inv_Year
;
18402 wxDateTime
*result
;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 PyObject
* obj2
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "month",(char *) "year", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 arg3
= (int) SWIG_AsInt(obj2
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18425 result
= (wxDateTime
*) &_result_ref
;
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18438 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18441 int arg2
= (int) wxDateTime::Inv_Month
;
18442 int arg3
= (int) wxDateTime::Inv_Year
;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self",(char *) "month",(char *) "year", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 arg3
= (int) SWIG_AsInt(obj2
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18470 wxDateTime
* resultptr
;
18471 resultptr
= new wxDateTime((wxDateTime
&) result
);
18472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18480 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18484 wxDateTime
*result
;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "yday", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= (int) SWIG_AsInt(obj1
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18500 result
= (wxDateTime
*) &_result_ref
;
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18513 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 PyObject
* obj1
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self",(char *) "yday", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 arg2
= (int) SWIG_AsInt(obj1
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (arg1
)->GetYearDay(arg2
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 wxDateTime
* resultptr
;
18538 resultptr
= new wxDateTime((wxDateTime
&) result
);
18539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18547 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (double)(arg1
)->GetJulianDayNumber();
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_FromDouble((double)result
);
18573 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (double)(arg1
)->GetJDN();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_FromDouble((double)result
);
18599 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_FromDouble((double)result
);
18625 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (double)(arg1
)->GetMJD();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_FromDouble((double)result
);
18651 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (double)(arg1
)->GetRataDie();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_FromDouble((double)result
);
18677 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18680 wxDateTime::TimeZone
*arg2
= 0 ;
18681 bool arg3
= (bool) False
;
18683 bool temp2
= False
;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18695 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18699 arg3
= (bool) SWIG_AsBool(obj2
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 wxDateTime
* resultptr
;
18711 resultptr
= new wxDateTime((wxDateTime
&) result
);
18712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18715 if (temp2
) delete arg2
;
18720 if (temp2
) delete arg2
;
18726 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18729 wxDateTime::TimeZone
*arg2
= 0 ;
18730 bool arg3
= (bool) False
;
18731 wxDateTime
*result
;
18732 bool temp2
= False
;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 PyObject
* obj2
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18748 arg3
= (bool) SWIG_AsBool(obj2
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18755 result
= (wxDateTime
*) &_result_ref
;
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18763 if (temp2
) delete arg2
;
18768 if (temp2
) delete arg2
;
18774 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18777 bool arg2
= (bool) False
;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "noDST", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18789 arg2
= (bool) SWIG_AsBool(obj1
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (arg1
)->ToGMT(arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18800 wxDateTime
* resultptr
;
18801 resultptr
= new wxDateTime((wxDateTime
&) result
);
18802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18810 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18813 bool arg2
= (bool) False
;
18814 wxDateTime
*result
;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self",(char *) "noDST", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 arg2
= (bool) SWIG_AsBool(obj1
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18832 result
= (wxDateTime
*) &_result_ref
;
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18845 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18848 int arg2
= (int) wxDateTime::Country_Default
;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "country", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= SWIG_FromInt((int)result
);
18877 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18905 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18931 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18934 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18935 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18937 bool temp2
= False
;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "tz", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18949 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_FromInt((int)result
);
18962 if (temp2
) delete arg2
;
18967 if (temp2
) delete arg2
;
18973 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18976 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18977 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18979 bool temp2
= False
;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "tz", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_FromInt((int)result
);
19004 if (temp2
) delete arg2
;
19009 if (temp2
) delete arg2
;
19015 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19018 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19019 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19021 bool temp2
= False
;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "tz", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19033 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_FromInt((int)result
);
19046 if (temp2
) delete arg2
;
19051 if (temp2
) delete arg2
;
19057 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19060 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19061 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19063 bool temp2
= False
;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self",(char *) "tz", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_FromInt((int)result
);
19088 if (temp2
) delete arg2
;
19093 if (temp2
) delete arg2
;
19099 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19102 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19103 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19105 bool temp2
= False
;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self",(char *) "tz", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_FromInt((int)result
);
19130 if (temp2
) delete arg2
;
19135 if (temp2
) delete arg2
;
19141 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19144 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19145 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19147 bool temp2
= False
;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "tz", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19159 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_FromInt((int)result
);
19172 if (temp2
) delete arg2
;
19177 if (temp2
) delete arg2
;
19183 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19186 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19187 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19189 bool temp2
= False
;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "tz", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_FromInt((int)result
);
19214 if (temp2
) delete arg2
;
19219 if (temp2
) delete arg2
;
19225 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19228 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19229 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19231 bool temp2
= False
;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "tz", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_FromInt((int)result
);
19256 if (temp2
) delete arg2
;
19261 if (temp2
) delete arg2
;
19267 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19270 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19271 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19273 bool temp2
= False
;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "tz", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= SWIG_FromInt((int)result
);
19298 if (temp2
) delete arg2
;
19303 if (temp2
) delete arg2
;
19309 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19312 int arg2
= (int) wxDateTime::Monday_First
;
19313 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19314 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19316 bool temp3
= False
;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 PyObject
* obj2
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self",(char *) "flags",(char *) "tz", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19333 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= SWIG_FromInt((int)result
);
19346 if (temp3
) delete arg3
;
19351 if (temp3
) delete arg3
;
19357 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19360 int arg2
= (int) wxDateTime::Monday_First
;
19361 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19362 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19364 bool temp3
= False
;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 PyObject
* obj2
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "flags",(char *) "tz", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19381 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_FromInt((int)result
);
19394 if (temp3
) delete arg3
;
19399 if (temp3
) delete arg3
;
19405 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19408 int arg2
= (int) wxDateTime::Country_Default
;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "country", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19420 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19439 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19442 wxDateTime
*arg2
= 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "datetime", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19456 if (arg2
== NULL
) {
19457 PyErr_SetString(PyExc_TypeError
,"null reference");
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19476 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19479 wxDateTime
*arg2
= 0 ;
19481 PyObject
* obj0
= 0 ;
19482 PyObject
* obj1
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self",(char *) "datetime", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19493 if (arg2
== NULL
) {
19494 PyErr_SetString(PyExc_TypeError
,"null reference");
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19513 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19516 wxDateTime
*arg2
= 0 ;
19518 PyObject
* obj0
= 0 ;
19519 PyObject
* obj1
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self",(char *) "datetime", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19530 if (arg2
== NULL
) {
19531 PyErr_SetString(PyExc_TypeError
,"null reference");
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19550 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19553 wxDateTime
*arg2
= 0 ;
19554 wxDateTime
*arg3
= 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self",(char *) "t1",(char *) "t2", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19569 if (arg2
== NULL
) {
19570 PyErr_SetString(PyExc_TypeError
,"null reference");
19573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19576 if (arg3
== NULL
) {
19577 PyErr_SetString(PyExc_TypeError
,"null reference");
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19596 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19599 wxDateTime
*arg2
= 0 ;
19600 wxDateTime
*arg3
= 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 PyObject
* obj2
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "t1",(char *) "t2", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19615 if (arg2
== NULL
) {
19616 PyErr_SetString(PyExc_TypeError
,"null reference");
19619 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19622 if (arg3
== NULL
) {
19623 PyErr_SetString(PyExc_TypeError
,"null reference");
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19642 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19645 wxDateTime
*arg2
= 0 ;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self",(char *) "dt", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19659 if (arg2
== NULL
) {
19660 PyErr_SetString(PyExc_TypeError
,"null reference");
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19679 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19682 wxDateTime
*arg2
= 0 ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self",(char *) "dt", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19696 if (arg2
== NULL
) {
19697 PyErr_SetString(PyExc_TypeError
,"null reference");
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19716 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19719 wxDateTime
*arg2
= 0 ;
19720 wxTimeSpan
*arg3
= 0 ;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 PyObject
* obj2
= 0 ;
19725 char *kwnames
[] = {
19726 (char *) "self",(char *) "dt",(char *) "ts", NULL
19729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19735 if (arg2
== NULL
) {
19736 PyErr_SetString(PyExc_TypeError
,"null reference");
19739 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19742 if (arg3
== NULL
) {
19743 PyErr_SetString(PyExc_TypeError
,"null reference");
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19762 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19765 wxTimeSpan
*arg2
= 0 ;
19766 wxDateTime
*result
;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self",(char *) "diff", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19779 if (arg2
== NULL
) {
19780 PyErr_SetString(PyExc_TypeError
,"null reference");
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19787 result
= (wxDateTime
*) &_result_ref
;
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19800 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19803 wxDateSpan
*arg2
= 0 ;
19804 wxDateTime
*result
;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self",(char *) "diff", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19817 if (arg2
== NULL
) {
19818 PyErr_SetString(PyExc_TypeError
,"null reference");
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19825 result
= (wxDateTime
*) &_result_ref
;
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19838 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19841 wxTimeSpan
*arg2
= 0 ;
19842 wxDateTime
*result
;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self",(char *) "diff", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19855 if (arg2
== NULL
) {
19856 PyErr_SetString(PyExc_TypeError
,"null reference");
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19863 result
= (wxDateTime
*) &_result_ref
;
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19876 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19879 wxDateSpan
*arg2
= 0 ;
19880 wxDateTime
*result
;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self",(char *) "diff", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19893 if (arg2
== NULL
) {
19894 PyErr_SetString(PyExc_TypeError
,"null reference");
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19901 result
= (wxDateTime
*) &_result_ref
;
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19914 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19917 wxDateTime
*arg2
= 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "dt", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19931 if (arg2
== NULL
) {
19932 PyErr_SetString(PyExc_TypeError
,"null reference");
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19943 wxTimeSpan
* resultptr
;
19944 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19953 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
19954 PyObject
*resultobj
;
19955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19956 wxTimeSpan
*arg2
= 0 ;
19957 wxDateTime
*result
;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19961 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19967 if (arg2
== NULL
) {
19968 PyErr_SetString(PyExc_TypeError
,"null reference");
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19975 result
= (wxDateTime
*) &_result_ref
;
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19988 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
19989 PyObject
*resultobj
;
19990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19991 wxDateSpan
*arg2
= 0 ;
19992 wxDateTime
*result
;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19996 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20002 if (arg2
== NULL
) {
20003 PyErr_SetString(PyExc_TypeError
,"null reference");
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20010 result
= (wxDateTime
*) &_result_ref
;
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20023 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20028 argc
= PyObject_Length(args
);
20029 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20030 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20036 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20046 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20054 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20062 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20072 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20080 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20085 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20090 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20091 PyObject
*resultobj
;
20092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20093 wxTimeSpan
*arg2
= 0 ;
20094 wxDateTime
*result
;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20098 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20104 if (arg2
== NULL
) {
20105 PyErr_SetString(PyExc_TypeError
,"null reference");
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20112 result
= (wxDateTime
*) &_result_ref
;
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20125 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20126 PyObject
*resultobj
;
20127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20128 wxDateSpan
*arg2
= 0 ;
20129 wxDateTime
*result
;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20133 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20139 if (arg2
== NULL
) {
20140 PyErr_SetString(PyExc_TypeError
,"null reference");
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20147 result
= (wxDateTime
*) &_result_ref
;
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20160 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20165 argc
= PyObject_Length(args
);
20166 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20167 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20173 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20183 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20191 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20199 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20209 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20217 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20222 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20227 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20228 PyObject
*resultobj
;
20229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20230 wxTimeSpan
*arg2
= 0 ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20235 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20241 if (arg2
== NULL
) {
20242 PyErr_SetString(PyExc_TypeError
,"null reference");
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20253 wxDateTime
* resultptr
;
20254 resultptr
= new wxDateTime((wxDateTime
&) result
);
20255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20263 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20264 PyObject
*resultobj
;
20265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20266 wxDateSpan
*arg2
= 0 ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20271 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20277 if (arg2
== NULL
) {
20278 PyErr_SetString(PyExc_TypeError
,"null reference");
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 wxDateTime
* resultptr
;
20290 resultptr
= new wxDateTime((wxDateTime
&) result
);
20291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20299 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20304 argc
= PyObject_Length(args
);
20305 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20306 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20312 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20322 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20330 return _wrap_DateTime___add____SWIG_0(self
,args
);
20338 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20348 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20356 return _wrap_DateTime___add____SWIG_1(self
,args
);
20361 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20366 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20367 PyObject
*resultobj
;
20368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20369 wxDateTime
*arg2
= 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20374 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20380 if (arg2
== NULL
) {
20381 PyErr_SetString(PyExc_TypeError
,"null reference");
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 wxTimeSpan
* resultptr
;
20393 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20402 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20403 PyObject
*resultobj
;
20404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20405 wxTimeSpan
*arg2
= 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20410 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20416 if (arg2
== NULL
) {
20417 PyErr_SetString(PyExc_TypeError
,"null reference");
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 wxDateTime
* resultptr
;
20429 resultptr
= new wxDateTime((wxDateTime
&) result
);
20430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20438 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20439 PyObject
*resultobj
;
20440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20441 wxDateSpan
*arg2
= 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20446 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20452 if (arg2
== NULL
) {
20453 PyErr_SetString(PyExc_TypeError
,"null reference");
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 wxDateTime
* resultptr
;
20465 resultptr
= new wxDateTime((wxDateTime
&) result
);
20466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20474 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20479 argc
= PyObject_Length(args
);
20480 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20497 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20505 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20513 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20523 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20531 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20539 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20549 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20557 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20562 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20567 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
20568 PyObject
*resultobj
;
20569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20570 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20575 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20596 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
20597 PyObject
*resultobj
;
20598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20599 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20604 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20625 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
20626 PyObject
*resultobj
;
20627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20628 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20633 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20654 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
20655 PyObject
*resultobj
;
20656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20657 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20659 PyObject
* obj0
= 0 ;
20660 PyObject
* obj1
= 0 ;
20662 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20683 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
20684 PyObject
*resultobj
;
20685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20686 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20691 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20712 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
20713 PyObject
*resultobj
;
20714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20715 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20720 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20741 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20744 wxString
*arg2
= 0 ;
20746 bool temp2
= False
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "date", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 arg2
= wxString_in_helper(obj1
);
20758 if (arg2
== NULL
) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_FromInt((int)result
);
20783 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20786 wxString
*arg2
= 0 ;
20787 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20788 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20789 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20790 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20792 bool temp2
= False
;
20793 bool temp3
= False
;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 PyObject
* obj2
= 0 ;
20797 PyObject
* obj3
= 0 ;
20798 char *kwnames
[] = {
20799 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20806 arg2
= wxString_in_helper(obj1
);
20807 if (arg2
== NULL
) SWIG_fail
;
20812 arg3
= wxString_in_helper(obj2
);
20813 if (arg3
== NULL
) SWIG_fail
;
20818 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20821 if (arg4
== NULL
) {
20822 PyErr_SetString(PyExc_TypeError
,"null reference");
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= SWIG_FromInt((int)result
);
20856 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20859 wxString
*arg2
= 0 ;
20861 bool temp2
= False
;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self",(char *) "datetime", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 arg2
= wxString_in_helper(obj1
);
20873 if (arg2
== NULL
) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_FromInt((int)result
);
20898 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20901 wxString
*arg2
= 0 ;
20903 bool temp2
= False
;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "date", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 arg2
= wxString_in_helper(obj1
);
20915 if (arg2
== NULL
) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= SWIG_FromInt((int)result
);
20940 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20943 wxString
*arg2
= 0 ;
20945 bool temp2
= False
;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "time", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20956 arg2
= wxString_in_helper(obj1
);
20957 if (arg2
== NULL
) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_FromInt((int)result
);
20982 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20985 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20986 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20987 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20988 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20990 bool temp2
= False
;
20991 bool temp3
= False
;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 PyObject
* obj2
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self",(char *) "format",(char *) "tz", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 arg2
= wxString_in_helper(obj1
);
21005 if (arg2
== NULL
) SWIG_fail
;
21011 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21034 if (temp3
) delete arg3
;
21043 if (temp3
) delete arg3
;
21049 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21081 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21113 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21145 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21177 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21180 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21182 return Py_BuildValue((char *)"");
21184 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21188 PyObject
* obj0
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "sec", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21194 arg1
= (long) SWIG_AsLong(obj0
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= wxTimeSpan::Seconds(arg1
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 wxTimeSpan
* resultptr
;
21205 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21214 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21217 char *kwnames
[] = {
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= wxTimeSpan::Second();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 wxTimeSpan
* resultptr
;
21231 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21240 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21244 PyObject
* obj0
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "min", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21250 arg1
= (long) SWIG_AsLong(obj0
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= wxTimeSpan::Minutes(arg1
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 wxTimeSpan
* resultptr
;
21261 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21270 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21273 char *kwnames
[] = {
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= wxTimeSpan::Minute();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 wxTimeSpan
* resultptr
;
21287 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21296 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21300 PyObject
* obj0
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "hours", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21306 arg1
= (long) SWIG_AsLong(obj0
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= wxTimeSpan::Hours(arg1
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21316 wxTimeSpan
* resultptr
;
21317 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21326 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21329 char *kwnames
[] = {
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= wxTimeSpan::Hour();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 wxTimeSpan
* resultptr
;
21343 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21352 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21356 PyObject
* obj0
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "days", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21362 arg1
= (long) SWIG_AsLong(obj0
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= wxTimeSpan::Days(arg1
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21372 wxTimeSpan
* resultptr
;
21373 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21382 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21385 char *kwnames
[] = {
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= wxTimeSpan::Day();
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 wxTimeSpan
* resultptr
;
21399 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21408 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21412 PyObject
* obj0
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "days", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21418 arg1
= (long) SWIG_AsLong(obj0
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= wxTimeSpan::Weeks(arg1
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 wxTimeSpan
* resultptr
;
21429 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21438 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21441 char *kwnames
[] = {
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= wxTimeSpan::Week();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21454 wxTimeSpan
* resultptr
;
21455 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21464 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 long arg1
= (long) 0 ;
21467 long arg2
= (long) 0 ;
21468 long arg3
= (long) 0 ;
21469 long arg4
= (long) 0 ;
21470 wxTimeSpan
*result
;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 PyObject
* obj2
= 0 ;
21474 PyObject
* obj3
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21481 arg1
= (long) SWIG_AsLong(obj0
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 arg2
= (long) SWIG_AsLong(obj1
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 arg3
= (long) SWIG_AsLong(obj2
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21493 arg4
= (long) SWIG_AsLong(obj3
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21510 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 Py_INCREF(Py_None
); resultobj
= Py_None
;
21535 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21538 wxTimeSpan
*arg2
= 0 ;
21539 wxTimeSpan
*result
;
21540 PyObject
* obj0
= 0 ;
21541 PyObject
* obj1
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "diff", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21552 if (arg2
== NULL
) {
21553 PyErr_SetString(PyExc_TypeError
,"null reference");
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21560 result
= (wxTimeSpan
*) &_result_ref
;
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21573 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21576 wxTimeSpan
*arg2
= 0 ;
21577 wxTimeSpan
*result
;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self",(char *) "diff", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21590 if (arg2
== NULL
) {
21591 PyErr_SetString(PyExc_TypeError
,"null reference");
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21598 result
= (wxTimeSpan
*) &_result_ref
;
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21611 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21615 wxTimeSpan
*result
;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "n", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 arg2
= (int) SWIG_AsInt(obj1
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21631 result
= (wxTimeSpan
*) &_result_ref
;
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21644 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21647 wxTimeSpan
*result
;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21660 result
= (wxTimeSpan
*) &_result_ref
;
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21673 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 wxTimeSpan
* resultptr
;
21694 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21703 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21706 wxTimeSpan
*arg2
= 0 ;
21707 wxTimeSpan
*result
;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self",(char *) "diff", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21720 if (arg2
== NULL
) {
21721 PyErr_SetString(PyExc_TypeError
,"null reference");
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21728 result
= (wxTimeSpan
*) &_result_ref
;
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21741 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21744 wxTimeSpan
*arg2
= 0 ;
21745 wxTimeSpan
*result
;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self",(char *) "diff", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21758 if (arg2
== NULL
) {
21759 PyErr_SetString(PyExc_TypeError
,"null reference");
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21766 result
= (wxTimeSpan
*) &_result_ref
;
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21779 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21783 wxTimeSpan
*result
;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self",(char *) "n", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 arg2
= (int) SWIG_AsInt(obj1
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21799 result
= (wxTimeSpan
*) &_result_ref
;
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21812 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21815 wxTimeSpan
*result
;
21816 PyObject
* obj0
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21828 result
= (wxTimeSpan
*) &_result_ref
;
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21841 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21844 wxTimeSpan
*arg2
= 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "other", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21858 if (arg2
== NULL
) {
21859 PyErr_SetString(PyExc_TypeError
,"null reference");
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21870 wxTimeSpan
* resultptr
;
21871 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21880 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21883 wxTimeSpan
*arg2
= 0 ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "other", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21897 if (arg2
== NULL
) {
21898 PyErr_SetString(PyExc_TypeError
,"null reference");
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 wxTimeSpan
* resultptr
;
21910 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21919 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "self",(char *) "n", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21933 arg2
= (int) SWIG_AsInt(obj1
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= wxTimeSpan___mul__(arg1
,arg2
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 wxTimeSpan
* resultptr
;
21944 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21953 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self",(char *) "n", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 arg2
= (int) SWIG_AsInt(obj1
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 wxTimeSpan
* resultptr
;
21978 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21987 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21990 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "other", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22019 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22022 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "other", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22051 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22054 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "other", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22083 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22086 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "other", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22115 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22118 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "other", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22147 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22150 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self",(char *) "other", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22179 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22207 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22235 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22263 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22266 wxTimeSpan
*arg2
= 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "ts", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22280 if (arg2
== NULL
) {
22281 PyErr_SetString(PyExc_TypeError
,"null reference");
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22300 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22303 wxTimeSpan
*arg2
= 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self",(char *) "ts", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22317 if (arg2
== NULL
) {
22318 PyErr_SetString(PyExc_TypeError
,"null reference");
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22340 wxTimeSpan
*arg2
= 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self",(char *) "t", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22354 if (arg2
== NULL
) {
22355 PyErr_SetString(PyExc_TypeError
,"null reference");
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22374 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_FromInt((int)result
);
22400 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_FromInt((int)result
);
22426 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_FromInt((int)result
);
22452 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22456 PyObject
* obj0
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_FromInt((int)result
);
22478 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22498 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22499 hi
= PyLong_FromLong( (&result
)->GetHi() );
22500 lo
= PyLong_FromLong( (&result
)->GetLo() );
22501 shifter
= PyLong_FromLong(32);
22502 shifted
= PyNumber_Lshift(hi
, shifter
);
22503 resultobj
= PyNumber_Or(shifted
, lo
);
22506 Py_DECREF(shifter
);
22507 Py_DECREF(shifted
);
22515 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22535 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22536 hi
= PyLong_FromLong( (&result
)->GetHi() );
22537 lo
= PyLong_FromLong( (&result
)->GetLo() );
22538 shifter
= PyLong_FromLong(32);
22539 shifted
= PyNumber_Lshift(hi
, shifter
);
22540 resultobj
= PyNumber_Or(shifted
, lo
);
22543 Py_DECREF(shifter
);
22544 Py_DECREF(shifted
);
22552 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22555 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22556 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22558 bool temp2
= False
;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self",(char *) "format", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22570 arg2
= wxString_in_helper(obj1
);
22571 if (arg2
== NULL
) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22603 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
22605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22606 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22608 return Py_BuildValue((char *)"");
22610 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 int arg1
= (int) 0 ;
22613 int arg2
= (int) 0 ;
22614 int arg3
= (int) 0 ;
22615 int arg4
= (int) 0 ;
22616 wxDateSpan
*result
;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 PyObject
* obj2
= 0 ;
22620 PyObject
* obj3
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22627 arg1
= (int) SWIG_AsInt(obj0
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22631 arg2
= (int) SWIG_AsInt(obj1
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22635 arg3
= (int) SWIG_AsInt(obj2
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 arg4
= (int) SWIG_AsInt(obj3
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22656 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "days", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22691 arg1
= (int) SWIG_AsInt(obj0
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= wxDateSpan::Days(arg1
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22701 wxDateSpan
* resultptr
;
22702 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22711 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22714 char *kwnames
[] = {
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= wxDateSpan::Day();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 wxDateSpan
* resultptr
;
22728 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22737 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "weeks", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22747 arg1
= (int) SWIG_AsInt(obj0
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= wxDateSpan::Weeks(arg1
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 wxDateSpan
* resultptr
;
22758 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22767 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22770 char *kwnames
[] = {
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= wxDateSpan::Week();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 wxDateSpan
* resultptr
;
22784 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22793 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22797 PyObject
* obj0
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "mon", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22803 arg1
= (int) SWIG_AsInt(obj0
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= wxDateSpan::Months(arg1
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 wxDateSpan
* resultptr
;
22814 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22823 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22826 char *kwnames
[] = {
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= wxDateSpan::Month();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 wxDateSpan
* resultptr
;
22840 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22849 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "years", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22859 arg1
= (int) SWIG_AsInt(obj0
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= wxDateSpan::Years(arg1
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 wxDateSpan
* resultptr
;
22870 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22879 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22882 char *kwnames
[] = {
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= wxDateSpan::Year();
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 wxDateSpan
* resultptr
;
22896 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22905 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22909 wxDateSpan
*result
;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "n", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 arg2
= (int) SWIG_AsInt(obj1
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22925 result
= (wxDateSpan
*) &_result_ref
;
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22938 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22942 wxDateSpan
*result
;
22943 PyObject
* obj0
= 0 ;
22944 PyObject
* obj1
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self",(char *) "n", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 arg2
= (int) SWIG_AsInt(obj1
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22958 result
= (wxDateSpan
*) &_result_ref
;
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22971 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22975 wxDateSpan
*result
;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "n", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22985 arg2
= (int) SWIG_AsInt(obj1
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22991 result
= (wxDateSpan
*) &_result_ref
;
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23004 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23008 wxDateSpan
*result
;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "n", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 arg2
= (int) SWIG_AsInt(obj1
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23024 result
= (wxDateSpan
*) &_result_ref
;
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23037 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= SWIG_FromInt((int)result
);
23063 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_FromInt((int)result
);
23089 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_FromInt((int)result
);
23115 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23119 PyObject
* obj0
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_FromInt((int)result
);
23141 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
;
23143 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= SWIG_FromInt((int)result
);
23167 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23170 wxDateSpan
*arg2
= 0 ;
23171 wxDateSpan
*result
;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self",(char *) "other", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23184 if (arg2
== NULL
) {
23185 PyErr_SetString(PyExc_TypeError
,"null reference");
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23192 result
= (wxDateSpan
*) &_result_ref
;
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23205 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23208 wxDateSpan
*arg2
= 0 ;
23209 wxDateSpan
*result
;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self",(char *) "other", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23222 if (arg2
== NULL
) {
23223 PyErr_SetString(PyExc_TypeError
,"null reference");
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23230 result
= (wxDateSpan
*) &_result_ref
;
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23243 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23246 wxDateSpan
*result
;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23259 result
= (wxDateSpan
*) &_result_ref
;
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23272 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23276 wxDateSpan
*result
;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self",(char *) "factor", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23286 arg2
= (int) SWIG_AsInt(obj1
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23292 result
= (wxDateSpan
*) &_result_ref
;
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23305 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23308 wxDateSpan
*arg2
= 0 ;
23309 wxDateSpan
*result
;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "other", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23322 if (arg2
== NULL
) {
23323 PyErr_SetString(PyExc_TypeError
,"null reference");
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23330 result
= (wxDateSpan
*) &_result_ref
;
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23343 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23346 wxDateSpan
*arg2
= 0 ;
23347 wxDateSpan
*result
;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self",(char *) "other", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23360 if (arg2
== NULL
) {
23361 PyErr_SetString(PyExc_TypeError
,"null reference");
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23368 result
= (wxDateSpan
*) &_result_ref
;
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23381 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23384 wxDateSpan
*result
;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23397 result
= (wxDateSpan
*) &_result_ref
;
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23410 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23414 wxDateSpan
*result
;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self",(char *) "factor", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 arg2
= (int) SWIG_AsInt(obj1
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23430 result
= (wxDateSpan
*) &_result_ref
;
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23443 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23446 wxDateSpan
*arg2
= 0 ;
23448 PyObject
* obj0
= 0 ;
23449 PyObject
* obj1
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self",(char *) "other", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23460 if (arg2
== NULL
) {
23461 PyErr_SetString(PyExc_TypeError
,"null reference");
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23472 wxDateSpan
* resultptr
;
23473 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23482 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23485 wxDateSpan
*arg2
= 0 ;
23487 PyObject
* obj0
= 0 ;
23488 PyObject
* obj1
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self",(char *) "other", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23499 if (arg2
== NULL
) {
23500 PyErr_SetString(PyExc_TypeError
,"null reference");
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 wxDateSpan
* resultptr
;
23512 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23521 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self",(char *) "n", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23535 arg2
= (int) SWIG_AsInt(obj1
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= wxDateSpan___mul__(arg1
,arg2
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 wxDateSpan
* resultptr
;
23546 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23555 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self",(char *) "n", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 arg2
= (int) SWIG_AsInt(obj1
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= wxDateSpan___rmul__(arg1
,arg2
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 wxDateSpan
* resultptr
;
23580 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23589 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23592 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "other", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23621 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23624 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "other", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23653 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
23655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23656 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23658 return Py_BuildValue((char *)"");
23660 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23663 char *kwnames
[] = {
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (long)wxGetLocalTime();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_FromLong((long)result
);
23682 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23685 char *kwnames
[] = {
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (long)wxGetUTCTime();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_FromLong((long)result
);
23704 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23707 char *kwnames
[] = {
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (long)wxGetCurrentTime();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_FromLong((long)result
);
23726 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23729 char *kwnames
[] = {
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= wxGetLocalTimeMillis();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23743 hi
= PyLong_FromLong( (&result
)->GetHi() );
23744 lo
= PyLong_FromLong( (&result
)->GetLo() );
23745 shifter
= PyLong_FromLong(32);
23746 shifted
= PyNumber_Lshift(hi
, shifter
);
23747 resultobj
= PyNumber_Or(shifted
, lo
);
23750 Py_DECREF(shifter
);
23751 Py_DECREF(shifted
);
23759 static int _wrap_DefaultDateTime_set(PyObject
*) {
23760 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23765 static PyObject
*_wrap_DefaultDateTime_get() {
23768 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23773 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23776 wxDataFormat
*result
;
23777 PyObject
* obj0
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "type", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23783 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23799 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxString
*arg1
= 0 ;
23802 wxDataFormat
*result
;
23803 bool temp1
= False
;
23804 PyObject
* obj0
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "format", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23811 arg1
= wxString_in_helper(obj0
);
23812 if (arg1
== NULL
) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23837 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 Py_INCREF(Py_None
); resultobj
= Py_None
;
23862 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
23863 PyObject
*resultobj
;
23864 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23870 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23873 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23891 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
23892 PyObject
*resultobj
;
23893 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 PyObject
* obj1
= 0 ;
23899 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23920 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
23921 PyObject
*resultobj
;
23922 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23923 wxDataFormat
*arg2
= 0 ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23928 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23934 if (arg2
== NULL
) {
23935 PyErr_SetString(PyExc_TypeError
,"null reference");
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23954 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23959 argc
= PyObject_Length(args
);
23960 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23961 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23977 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23985 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23993 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24001 _v
= SWIG_CheckInt(argv
[1]);
24003 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24008 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24013 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24014 PyObject
*resultobj
;
24015 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24016 wxDataFormat
*arg2
= 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24021 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24027 if (arg2
== NULL
) {
24028 PyErr_SetString(PyExc_TypeError
,"null reference");
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24052 argc
= PyObject_Length(args
);
24053 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24054 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24060 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24070 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24078 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24086 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24094 _v
= SWIG_CheckInt(argv
[1]);
24096 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24101 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24106 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 char *kwnames
[] = {
24113 (char *) "self",(char *) "format", NULL
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24119 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 (arg1
)->SetType((wxDataFormatId
)arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 Py_INCREF(Py_None
); resultobj
= Py_None
;
24135 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= SWIG_FromInt((int)result
);
24161 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= ((wxDataFormat
const *)arg1
)->GetId();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24193 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24196 wxString
*arg2
= 0 ;
24197 bool temp2
= False
;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "format", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 arg2
= wxString_in_helper(obj1
);
24209 if (arg2
== NULL
) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 (arg1
)->SetId((wxString
const &)*arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24237 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24239 return Py_BuildValue((char *)"");
24241 static int _wrap_FormatInvalid_set(PyObject
*) {
24242 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24247 static PyObject
*_wrap_FormatInvalid_get() {
24250 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24255 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 Py_INCREF(Py_None
); resultobj
= Py_None
;
24280 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24283 int arg2
= (int) wxDataObject::Get
;
24284 SwigValueWrapper
< wxDataFormat
> result
;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "dir", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 wxDataFormat
* resultptr
;
24307 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24316 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24319 int arg2
= (int) wxDataObject::Get
;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "dir", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24331 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24348 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24351 wxDataFormat
*arg2
= 0 ;
24352 int arg3
= (int) wxDataObject::Get
;
24354 PyObject
* obj0
= 0 ;
24355 PyObject
* obj1
= 0 ;
24356 PyObject
* obj2
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self",(char *) "format",(char *) "dir", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24367 if (arg2
== NULL
) {
24368 PyErr_SetString(PyExc_TypeError
,"null reference");
24372 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24391 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24394 wxDataFormat
*arg2
= 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self",(char *) "format", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24408 if (arg2
== NULL
) {
24409 PyErr_SetString(PyExc_TypeError
,"null reference");
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24426 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24429 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24430 int arg3
= (int) wxDataObject::Get
;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 PyObject
* obj2
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "formats",(char *) "dir", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24464 wxDataFormat
*arg2
= 0 ;
24465 void *arg3
= (void *) 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 PyObject
* obj2
= 0 ;
24470 char *kwnames
[] = {
24471 (char *) "self",(char *) "format",(char *) "buf", NULL
24474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24480 if (arg2
== NULL
) {
24481 PyErr_SetString(PyExc_TypeError
,"null reference");
24484 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24504 wxDataFormat
*arg2
= 0 ;
24506 void *arg4
= (void *) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 PyObject
* obj2
= 0 ;
24511 PyObject
* obj3
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24522 if (arg2
== NULL
) {
24523 PyErr_SetString(PyExc_TypeError
,"null reference");
24526 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24545 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
24547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24548 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24550 return Py_BuildValue((char *)"");
24552 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24555 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24556 wxDataObjectSimple
*result
;
24557 PyObject
* obj0
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "format", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24567 if (arg1
== NULL
) {
24568 PyErr_SetString(PyExc_TypeError
,"null reference");
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24586 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24589 wxDataFormat
*result
;
24590 PyObject
* obj0
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24602 result
= (wxDataFormat
*) &_result_ref
;
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24615 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24618 wxDataFormat
*arg2
= 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 char *kwnames
[] = {
24622 (char *) "self",(char *) "format", NULL
24625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24631 if (arg2
== NULL
) {
24632 PyErr_SetString(PyExc_TypeError
,"null reference");
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24652 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24654 return Py_BuildValue((char *)"");
24656 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24659 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24660 wxPyDataObjectSimple
*result
;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "format", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24671 if (arg1
== NULL
) {
24672 PyErr_SetString(PyExc_TypeError
,"null reference");
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24690 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24693 PyObject
*arg2
= (PyObject
*) 0 ;
24694 PyObject
*arg3
= (PyObject
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 PyObject
* obj2
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "self",(char *) "_class", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 Py_INCREF(Py_None
); resultobj
= Py_None
;
24721 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24724 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24726 return Py_BuildValue((char *)"");
24728 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxDataObjectComposite
*result
;
24731 char *kwnames
[] = {
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24750 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24753 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24754 int arg3
= (int) False
;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 PyObject
* obj2
= 0 ;
24758 char *kwnames
[] = {
24759 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24766 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24768 arg3
= (int) SWIG_AsInt(obj2
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->Add(arg2
,arg3
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24785 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
24787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24788 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24790 return Py_BuildValue((char *)"");
24792 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24795 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24796 wxTextDataObject
*result
;
24797 bool temp1
= False
;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "text", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24806 arg1
= wxString_in_helper(obj0
);
24807 if (arg1
== NULL
) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24833 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (size_t)(arg1
)->GetTextLength();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24859 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (arg1
)->GetText();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24891 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24894 wxString
*arg2
= 0 ;
24895 bool temp2
= False
;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self",(char *) "text", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 arg2
= wxString_in_helper(obj1
);
24907 if (arg2
== NULL
) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->SetText((wxString
const &)*arg2
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24932 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
24934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24935 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24937 return Py_BuildValue((char *)"");
24939 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24942 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24943 wxPyTextDataObject
*result
;
24944 bool temp1
= False
;
24945 PyObject
* obj0
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "text", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24953 arg1
= wxString_in_helper(obj0
);
24954 if (arg1
== NULL
) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24980 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24983 PyObject
*arg2
= (PyObject
*) 0 ;
24984 PyObject
*arg3
= (PyObject
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 PyObject
* obj2
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "self",(char *) "_class", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 Py_INCREF(Py_None
); resultobj
= Py_None
;
25011 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25014 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25016 return Py_BuildValue((char *)"");
25018 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25021 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25022 wxBitmapDataObject
*result
;
25023 PyObject
* obj0
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "bitmap", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25033 if (arg1
== NULL
) {
25034 PyErr_SetString(PyExc_TypeError
,"null reference");
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25052 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 wxBitmap
* resultptr
;
25073 resultptr
= new wxBitmap((wxBitmap
&) result
);
25074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25082 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25085 wxBitmap
*arg2
= 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "bitmap", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25098 if (arg2
== NULL
) {
25099 PyErr_SetString(PyExc_TypeError
,"null reference");
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25119 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25121 return Py_BuildValue((char *)"");
25123 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25126 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25127 wxPyBitmapDataObject
*result
;
25128 PyObject
* obj0
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "bitmap", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25138 if (arg1
== NULL
) {
25139 PyErr_SetString(PyExc_TypeError
,"null reference");
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25157 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25160 PyObject
*arg2
= (PyObject
*) 0 ;
25161 PyObject
*arg3
= (PyObject
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 PyObject
* obj2
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "self",(char *) "_class", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 Py_INCREF(Py_None
); resultobj
= Py_None
;
25188 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25191 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25193 return Py_BuildValue((char *)"");
25195 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxFileDataObject
*result
;
25198 char *kwnames
[] = {
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 result
= (wxFileDataObject
*)new wxFileDataObject();
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25217 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25220 wxArrayString
*result
;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25233 result
= (wxArrayString
*) &_result_ref
;
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= wxArrayString2PyList_helper(*result
);
25248 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25251 wxString
*arg2
= 0 ;
25252 bool temp2
= False
;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "filename", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25263 arg2
= wxString_in_helper(obj1
);
25264 if (arg2
== NULL
) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->AddFile((wxString
const &)*arg2
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 Py_INCREF(Py_None
); resultobj
= Py_None
;
25289 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25292 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25294 return Py_BuildValue((char *)"");
25296 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25299 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25300 wxCustomDataObject
*result
;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "format", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25311 if (arg1
== NULL
) {
25312 PyErr_SetString(PyExc_TypeError
,"null reference");
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25330 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25333 PyObject
*arg2
= (PyObject
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self",(char *) "data", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 wxCustomDataObject_TakeData(arg1
,arg2
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 Py_INCREF(Py_None
); resultobj
= Py_None
;
25358 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25361 PyObject
*arg2
= (PyObject
*) 0 ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "data", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25389 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25393 PyObject
* obj0
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 result
= (size_t)(arg1
)->GetSize();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25415 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= result
;
25441 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25444 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25446 return Py_BuildValue((char *)"");
25448 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxURLDataObject
*result
;
25451 char *kwnames
[] = {
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= (wxURLDataObject
*)new wxURLDataObject();
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25470 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25472 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25474 PyObject
* obj0
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 result
= (arg1
)->GetURL();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25502 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25504 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25505 wxString
*arg2
= 0 ;
25506 bool temp2
= False
;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self",(char *) "url", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25517 arg2
= wxString_in_helper(obj1
);
25518 if (arg2
== NULL
) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 (arg1
)->SetURL((wxString
const &)*arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 Py_INCREF(Py_None
); resultobj
= Py_None
;
25543 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
25545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25546 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25548 return Py_BuildValue((char *)"");
25550 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxMetafileDataObject
*result
;
25553 char *kwnames
[] = {
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25572 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25575 wxMetafile
*arg2
= 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "metafile", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25588 if (arg2
== NULL
) {
25589 PyErr_SetString(PyExc_TypeError
,"null reference");
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25606 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 wxMetafile
* resultptr
;
25627 resultptr
= new wxMetafile((wxMetafile
&) result
);
25628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25636 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25639 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25641 return Py_BuildValue((char *)"");
25643 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25647 PyObject
* obj0
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "res", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25653 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25671 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxWindow
*arg1
= (wxWindow
*) 0 ;
25674 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25675 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25676 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25677 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25678 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25679 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25680 wxPyDropSource
*result
;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 PyObject
* obj2
= 0 ;
25684 PyObject
* obj3
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25696 if (arg2
== NULL
) {
25697 PyErr_SetString(PyExc_TypeError
,"null reference");
25702 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25705 if (arg3
== NULL
) {
25706 PyErr_SetString(PyExc_TypeError
,"null reference");
25711 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25714 if (arg4
== NULL
) {
25715 PyErr_SetString(PyExc_TypeError
,"null reference");
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25733 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25736 PyObject
*arg2
= (PyObject
*) 0 ;
25737 PyObject
*arg3
= (PyObject
*) 0 ;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 PyObject
* obj2
= 0 ;
25742 PyObject
* obj3
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25752 arg4
= (int) SWIG_AsInt(obj3
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 Py_INCREF(Py_None
); resultobj
= Py_None
;
25768 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 Py_INCREF(Py_None
); resultobj
= Py_None
;
25793 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25796 wxDataObject
*arg2
= 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self",(char *) "data", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25809 if (arg2
== NULL
) {
25810 PyErr_SetString(PyExc_TypeError
,"null reference");
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->SetData(*arg2
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25827 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25830 wxDataObject
*result
;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25853 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25857 wxCursor
*arg3
= 0 ;
25858 PyObject
* obj0
= 0 ;
25859 PyObject
* obj1
= 0 ;
25860 PyObject
* obj2
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "res",(char *) "cursor", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25870 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25873 if (arg3
== NULL
) {
25874 PyErr_SetString(PyExc_TypeError
,"null reference");
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 Py_INCREF(Py_None
); resultobj
= Py_None
;
25891 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25894 int arg2
= (int) wxDrag_CopyOnly
;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "flags", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 arg2
= (int) SWIG_AsInt(obj1
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (int)(arg1
)->DoDragDrop(arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_FromInt((int)result
);
25923 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "effect", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25937 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25955 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
25957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25958 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25960 return Py_BuildValue((char *)"");
25962 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25965 wxPyDropTarget
*result
;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "dataObject", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25974 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25990 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25993 PyObject
*arg2
= (PyObject
*) 0 ;
25994 PyObject
*arg3
= (PyObject
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 PyObject
* obj2
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "self",(char *) "_class", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 Py_INCREF(Py_None
); resultobj
= Py_None
;
26021 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26024 PyObject
* obj0
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26049 wxDataObject
*result
;
26050 PyObject
* obj0
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26072 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26075 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 char *kwnames
[] = {
26079 (char *) "self",(char *) "dataObject", NULL
26082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26086 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 (arg1
)->SetDataObject(arg2
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 Py_INCREF(Py_None
); resultobj
= Py_None
;
26101 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26102 PyObject
*resultobj
;
26103 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 PyObject
* obj2
= 0 ;
26111 PyObject
* obj3
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 arg2
= (int) SWIG_AsInt(obj1
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26121 arg3
= (int) SWIG_AsInt(obj2
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26123 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= SWIG_FromInt((int)result
);
26139 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 PyObject
* obj2
= 0 ;
26149 PyObject
* obj3
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26157 arg2
= (int) SWIG_AsInt(obj1
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26159 arg3
= (int) SWIG_AsInt(obj2
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26161 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_FromInt((int)result
);
26177 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26178 PyObject
*resultobj
;
26179 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 (arg1
)->base_OnLeave();
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 Py_INCREF(Py_None
); resultobj
= Py_None
;
26202 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 PyObject
* obj2
= 0 ;
26211 char *kwnames
[] = {
26212 (char *) "self",(char *) "x",(char *) "y", NULL
26215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26218 arg2
= (int) SWIG_AsInt(obj1
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26220 arg3
= (int) SWIG_AsInt(obj2
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26238 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
;
26240 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= (bool)(arg1
)->GetData();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26266 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26269 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26271 return Py_BuildValue((char *)"");
26273 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxPyTextDropTarget
*result
;
26276 char *kwnames
[] = {
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26295 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26298 PyObject
*arg2
= (PyObject
*) 0 ;
26299 PyObject
*arg3
= (PyObject
*) 0 ;
26300 PyObject
* obj0
= 0 ;
26301 PyObject
* obj1
= 0 ;
26302 PyObject
* obj2
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "self",(char *) "_class", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 PyObject
* obj2
= 0 ;
26336 PyObject
* obj3
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 arg2
= (int) SWIG_AsInt(obj1
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26346 arg3
= (int) SWIG_AsInt(obj2
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26348 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= SWIG_FromInt((int)result
);
26364 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
;
26366 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 PyObject
* obj2
= 0 ;
26374 PyObject
* obj3
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 arg2
= (int) SWIG_AsInt(obj1
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26384 arg3
= (int) SWIG_AsInt(obj2
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26386 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= SWIG_FromInt((int)result
);
26402 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 (arg1
)->base_OnLeave();
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 Py_INCREF(Py_None
); resultobj
= Py_None
;
26427 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 PyObject
* obj2
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self",(char *) "x",(char *) "y", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26443 arg2
= (int) SWIG_AsInt(obj1
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26445 arg3
= (int) SWIG_AsInt(obj2
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26463 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 PyObject
* obj2
= 0 ;
26473 PyObject
* obj3
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 arg2
= (int) SWIG_AsInt(obj1
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26483 arg3
= (int) SWIG_AsInt(obj2
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26485 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_FromInt((int)result
);
26501 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26504 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26506 return Py_BuildValue((char *)"");
26508 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
;
26510 wxPyFileDropTarget
*result
;
26511 char *kwnames
[] = {
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26530 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26533 PyObject
*arg2
= (PyObject
*) 0 ;
26534 PyObject
*arg3
= (PyObject
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 PyObject
* obj2
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self",(char *) "self",(char *) "_class", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 Py_INCREF(Py_None
); resultobj
= Py_None
;
26561 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
;
26563 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 PyObject
* obj2
= 0 ;
26571 PyObject
* obj3
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 arg2
= (int) SWIG_AsInt(obj1
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26581 arg3
= (int) SWIG_AsInt(obj2
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26583 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= SWIG_FromInt((int)result
);
26599 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 PyObject
* obj2
= 0 ;
26609 PyObject
* obj3
= 0 ;
26610 char *kwnames
[] = {
26611 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26617 arg2
= (int) SWIG_AsInt(obj1
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26619 arg3
= (int) SWIG_AsInt(obj2
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26621 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_FromInt((int)result
);
26637 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26640 PyObject
* obj0
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 (arg1
)->base_OnLeave();
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 Py_INCREF(Py_None
); resultobj
= Py_None
;
26662 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
;
26664 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 PyObject
* obj2
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self",(char *) "x",(char *) "y", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 arg2
= (int) SWIG_AsInt(obj1
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26680 arg3
= (int) SWIG_AsInt(obj2
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26698 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 PyObject
* obj2
= 0 ;
26708 PyObject
* obj3
= 0 ;
26709 char *kwnames
[] = {
26710 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 arg2
= (int) SWIG_AsInt(obj1
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26718 arg3
= (int) SWIG_AsInt(obj2
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26720 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_FromInt((int)result
);
26736 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26739 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26741 return Py_BuildValue((char *)"");
26743 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxClipboard
*result
;
26746 char *kwnames
[] = {
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (wxClipboard
*)new wxClipboard();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26765 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 Py_INCREF(Py_None
); resultobj
= Py_None
;
26790 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 char *kwnames
[] = {
26796 (char *) "self", NULL
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (bool)(arg1
)->Open();
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26818 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
;
26820 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "self", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 Py_INCREF(Py_None
); resultobj
= Py_None
;
26843 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26871 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26874 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "data", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26886 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (bool)(arg1
)->AddData(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26903 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26906 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "data", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26918 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (bool)(arg1
)->SetData(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26935 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26938 wxDataFormat
*arg2
= 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self",(char *) "format", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26952 if (arg2
== NULL
) {
26953 PyErr_SetString(PyExc_TypeError
,"null reference");
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26972 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26975 wxDataObject
*arg2
= 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self",(char *) "data", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26989 if (arg2
== NULL
) {
26990 PyErr_SetString(PyExc_TypeError
,"null reference");
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (bool)(arg1
)->GetData(*arg2
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27009 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 Py_INCREF(Py_None
); resultobj
= Py_None
;
27034 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27048 result
= (bool)(arg1
)->Flush();
27050 wxPyEndAllowThreads(__tstate
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27062 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27065 bool arg2
= (bool) True
;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "primary", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27076 arg2
= (bool) SWIG_AsBool(obj1
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 (arg1
)->UsePrimarySelection(arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 Py_INCREF(Py_None
); resultobj
= Py_None
;
27093 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27096 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27098 return Py_BuildValue((char *)"");
27100 static int _wrap_TheClipboard_set(PyObject
*) {
27101 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27106 static PyObject
*_wrap_TheClipboard_get() {
27109 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27114 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27117 wxClipboardLocker
*result
;
27118 PyObject
* obj0
= 0 ;
27119 char *kwnames
[] = {
27120 (char *) "clipboard", NULL
27123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27142 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 Py_INCREF(Py_None
); resultobj
= Py_None
;
27167 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27195 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27198 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27200 return Py_BuildValue((char *)"");
27202 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 int arg1
= (int) 0 ;
27205 int arg2
= (int) 0 ;
27206 int arg3
= (int) 0 ;
27207 int arg4
= (int) 0 ;
27208 wxVideoMode
*result
;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 PyObject
* obj2
= 0 ;
27212 PyObject
* obj3
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27219 arg1
= (int) SWIG_AsInt(obj0
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 arg2
= (int) SWIG_AsInt(obj1
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27227 arg3
= (int) SWIG_AsInt(obj2
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27231 arg4
= (int) SWIG_AsInt(obj3
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27248 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27251 PyObject
* obj0
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 Py_INCREF(Py_None
); resultobj
= Py_None
;
27273 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
;
27275 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27276 wxVideoMode
*arg2
= 0 ;
27278 PyObject
* obj0
= 0 ;
27279 PyObject
* obj1
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self",(char *) "other", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27290 if (arg2
== NULL
) {
27291 PyErr_SetString(PyExc_TypeError
,"null reference");
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27310 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27314 PyObject
* obj0
= 0 ;
27315 char *kwnames
[] = {
27316 (char *) "self", NULL
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= SWIG_FromInt((int)result
);
27336 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= SWIG_FromInt((int)result
);
27362 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= SWIG_FromInt((int)result
);
27388 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27392 PyObject
* obj0
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "self", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27416 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27419 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self",(char *) "other", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27448 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27451 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "other", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27480 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj1
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self",(char *) "w", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27493 arg2
= (int) SWIG_AsInt(obj1
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27495 if (arg1
) (arg1
)->w
= arg2
;
27497 Py_INCREF(Py_None
); resultobj
= Py_None
;
27504 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27516 result
= (int) ((arg1
)->w
);
27518 resultobj
= SWIG_FromInt((int)result
);
27525 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "h", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 arg2
= (int) SWIG_AsInt(obj1
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27540 if (arg1
) (arg1
)->h
= arg2
;
27542 Py_INCREF(Py_None
); resultobj
= Py_None
;
27549 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27561 result
= (int) ((arg1
)->h
);
27563 resultobj
= SWIG_FromInt((int)result
);
27570 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "bpp", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27583 arg2
= (int) SWIG_AsInt(obj1
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27585 if (arg1
) (arg1
)->bpp
= arg2
;
27587 Py_INCREF(Py_None
); resultobj
= Py_None
;
27594 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 result
= (int) ((arg1
)->bpp
);
27608 resultobj
= SWIG_FromInt((int)result
);
27615 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27619 PyObject
* obj0
= 0 ;
27620 PyObject
* obj1
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "refresh", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27628 arg2
= (int) SWIG_AsInt(obj1
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27630 if (arg1
) (arg1
)->refresh
= arg2
;
27632 Py_INCREF(Py_None
); resultobj
= Py_None
;
27639 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27643 PyObject
* obj0
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27651 result
= (int) ((arg1
)->refresh
);
27653 resultobj
= SWIG_FromInt((int)result
);
27660 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
27662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27663 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27665 return Py_BuildValue((char *)"");
27667 static int _wrap_DefaultVideoMode_set(PyObject
*) {
27668 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27673 static PyObject
*_wrap_DefaultVideoMode_get() {
27676 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27681 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 size_t arg1
= (size_t) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "index", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27692 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (wxDisplay
*)new wxDisplay(arg1
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27709 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 Py_INCREF(Py_None
); resultobj
= Py_None
;
27734 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27737 char *kwnames
[] = {
27741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (size_t)wxDisplay::GetCount();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27756 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxPoint
*arg1
= 0 ;
27761 PyObject
* obj0
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "pt", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27769 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= SWIG_FromInt((int)result
);
27785 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxWindow
*arg1
= (wxWindow
*) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "window", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 result
= (int)Display_GetFromWindow(arg1
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_FromInt((int)result
);
27811 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27839 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
;
27841 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27843 PyObject
* obj0
= 0 ;
27844 char *kwnames
[] = {
27845 (char *) "self", NULL
27848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27859 wxRect
* resultptr
;
27860 resultptr
= new wxRect((wxRect
&) result
);
27861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27869 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27873 PyObject
* obj0
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 result
= ((wxDisplay
const *)arg1
)->GetName();
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27901 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27929 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27932 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27933 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "mode", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27948 if (arg2
== NULL
) {
27949 PyErr_SetString(PyExc_TypeError
,"null reference");
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= result
;
27967 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27970 wxVideoMode result
;
27971 PyObject
* obj0
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 wxVideoMode
* resultptr
;
27988 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27997 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28000 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28001 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28003 PyObject
* obj0
= 0 ;
28004 PyObject
* obj1
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "self",(char *) "mode", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28016 if (arg2
== NULL
) {
28017 PyErr_SetString(PyExc_TypeError
,"null reference");
28022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28023 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28037 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28040 PyObject
* obj0
= 0 ;
28041 char *kwnames
[] = {
28042 (char *) "self", NULL
28045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 (arg1
)->ResetMode();
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 Py_INCREF(Py_None
); resultobj
= Py_None
;
28062 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28065 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28067 return Py_BuildValue((char *)"");
28069 static PyMethodDef SwigMethods
[] = {
28070 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28077 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28084 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
28144 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
28152 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
28168 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
28173 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
28176 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
28179 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
28185 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
28199 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
28205 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
28211 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
28214 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
28227 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
28230 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
28231 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
28234 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
28261 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
28263 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
28265 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
28267 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
28274 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
28280 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
28293 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
28298 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
28301 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
28318 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
28326 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
28372 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
28400 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
, NULL
},
28401 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
, NULL
},
28403 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
, NULL
},
28405 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
, NULL
},
28406 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
28408 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
28424 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28437 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
28440 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
28454 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
28463 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28474 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28481 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28487 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28502 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28503 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28505 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
28506 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
28509 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28511 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
28512 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28513 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28514 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
28516 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28517 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28519 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28520 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28521 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28522 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28523 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28524 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28525 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28526 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28527 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28537 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28538 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28543 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28545 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28549 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28552 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28553 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28554 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28560 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28562 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28578 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28579 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28581 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28582 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28583 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28584 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28585 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28586 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28587 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28588 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28598 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28602 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28603 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28605 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28607 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
28608 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
28609 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
28610 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
28611 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
28612 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
28613 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
28614 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
28615 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
28616 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
28617 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28619 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28620 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28622 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28623 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28624 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28625 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28626 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28627 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
28628 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28629 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28630 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28631 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28632 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28633 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28634 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28635 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28636 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28639 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28640 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28642 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28643 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28644 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28645 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28646 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28647 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28648 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28649 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28650 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28651 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28652 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28653 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28654 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28657 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28659 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28661 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28662 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28663 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28664 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28667 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28668 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28669 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28670 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28672 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
28673 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28674 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28676 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28677 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28678 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28679 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28680 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28681 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28682 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28683 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28689 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28690 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28691 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28693 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28694 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28695 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28696 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28697 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28698 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28699 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28700 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28701 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28702 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28703 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28704 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28705 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28706 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
28707 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28708 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28709 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28710 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28711 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28712 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28713 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28714 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
28715 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
28716 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28717 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28718 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28719 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28720 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
28721 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28722 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28723 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28724 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28725 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28726 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28727 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28728 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28729 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
28730 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28731 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28732 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28733 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
28734 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28735 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28736 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
28737 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28738 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28739 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
28740 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28741 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28742 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28743 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28744 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
28745 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28746 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28747 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
28748 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28749 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28750 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28751 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
28752 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28753 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28754 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
28755 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28756 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28757 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28758 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
28759 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28760 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28761 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28762 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28763 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28764 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
28765 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28766 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28767 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28768 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
28769 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28770 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28771 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28772 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
28773 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28774 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28775 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28776 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28777 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28778 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28779 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28780 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28781 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28782 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
28783 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28784 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28785 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28786 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28787 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28788 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28789 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28790 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28791 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28792 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28793 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
28794 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28795 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28796 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28797 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28798 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28799 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28800 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28801 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
28802 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28803 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28804 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28805 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28806 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28807 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28808 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28809 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
28810 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28811 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28812 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28813 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28814 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28815 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28816 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28817 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28818 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28819 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28820 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28821 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28822 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
28823 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28824 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28825 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28826 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
28827 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28828 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28829 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28830 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28831 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28832 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28833 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28834 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28835 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28836 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28837 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28838 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28839 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28840 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28841 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28842 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28843 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28844 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
28845 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28846 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28847 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28848 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28849 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28850 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28851 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28852 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28853 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28854 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28855 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28856 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28857 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28858 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
28859 { NULL
, NULL
, 0, NULL
}
28863 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28865 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28868 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28871 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28874 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28875 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28877 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28878 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28880 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28881 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28883 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28884 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28886 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28887 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28889 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28892 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28893 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28895 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28898 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28899 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28901 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28902 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28904 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28905 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28907 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28908 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28910 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28911 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28913 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28914 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28916 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28917 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28919 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28920 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28922 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28923 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28925 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28926 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28928 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28929 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28931 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28934 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28935 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28937 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28938 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28940 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28941 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28943 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28944 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28946 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28947 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28949 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28950 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28952 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28953 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28955 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28956 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28958 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28959 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28961 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28962 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28964 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28965 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28967 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28968 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28970 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28971 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28973 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28974 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28976 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28977 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28979 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28980 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28982 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28983 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28985 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28986 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28988 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28989 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28991 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28992 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28994 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28995 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28997 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28998 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29000 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29001 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29003 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29004 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29006 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29007 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29009 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29010 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29012 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29013 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29015 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29016 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29018 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29019 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29021 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29022 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29024 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29025 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29027 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29028 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29030 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29031 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29033 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29034 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29036 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29037 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29039 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29040 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29042 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29043 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29045 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29046 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29048 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29049 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29051 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29052 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29054 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29055 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29057 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29060 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29061 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29063 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29064 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29066 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29067 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29069 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29070 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29072 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29073 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29075 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29076 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29078 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29079 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29081 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29082 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29084 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29087 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29090 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29093 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29096 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29099 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29102 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29105 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) ((wxSizer
*) x
));
29108 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29111 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29114 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29117 static void *_p_wxEventTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) ((wxEvent
*) x
));
29120 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29123 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29126 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29129 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29132 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29135 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29138 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29141 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29144 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29147 static void *_p_wxControlTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29150 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29153 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29156 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29159 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29162 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29165 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29168 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29171 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29174 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29177 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29180 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29183 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29186 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29189 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29192 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29195 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29198 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29201 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29204 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29207 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29210 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29213 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29216 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29219 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29222 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29225 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29228 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29229 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29231 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29234 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29235 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29237 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29238 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29240 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29241 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29243 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29244 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29246 static void *_p_wxImageTo_p_wxObject(void *x
) {
29247 return (void *)((wxObject
*) ((wxImage
*) x
));
29249 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29250 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29252 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29253 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29255 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29258 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29261 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29264 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29267 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29270 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29273 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29276 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29277 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29279 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29280 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29282 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29285 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29286 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29288 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29289 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29291 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29292 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29294 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29295 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29297 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29298 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29300 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29301 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29303 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29306 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29307 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29309 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29310 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29312 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29313 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29315 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29318 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29319 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29321 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29324 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29327 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29330 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29331 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29333 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29334 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29336 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29337 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29339 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29340 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29342 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29343 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29345 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29346 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29348 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29349 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29351 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29352 return (void *)((wxWindow
*) ((wxControl
*) x
));
29354 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29355 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29357 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29358 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29360 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29361 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29363 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29364 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29366 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}};
29367 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}};
29368 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29450 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}};
29451 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}};
29452 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}};
29454 static swig_type_info
*swig_types_initial
[] = {
29455 _swigt__p_wxLogChain
,
29456 _swigt__p_wxMutexGuiLocker
,
29457 _swigt__p_wxMetafile
,
29458 _swigt__p_wxFileHistory
,
29460 _swigt__p_wxDateTime__TimeZone
,
29463 _swigt__p_wxConfigBase
,
29464 _swigt__p_wxDisplay
,
29465 _swigt__p_wxFileType
,
29466 _swigt__p_wxLogGui
,
29468 _swigt__p_wxDataFormat
,
29469 _swigt__p_wxTimerEvent
,
29473 _swigt__p_wxClipboard
,
29474 _swigt__p_wxStopWatch
,
29476 _swigt__p_wxClipboardLocker
,
29478 _swigt__p_wxLogStderr
,
29479 _swigt__p_wxLogTextCtrl
,
29480 _swigt__p_wxTextCtrl
,
29481 _swigt__p_wxBusyCursor
,
29482 _swigt__p_wxPyTextDataObject
,
29483 _swigt__p_wxBitmapDataObject
,
29484 _swigt__p_wxTextDataObject
,
29485 _swigt__p_wxDataObject
,
29486 _swigt__p_wxPyBitmapDataObject
,
29487 _swigt__p_wxFileDataObject
,
29488 _swigt__p_wxCustomDataObject
,
29489 _swigt__p_wxURLDataObject
,
29490 _swigt__p_wxMetafileDataObject
,
29492 _swigt__p_wxTimerRunner
,
29493 _swigt__p_wxLogWindow
,
29494 _swigt__p_wxTimeSpan
,
29495 _swigt__p_wxArrayString
,
29496 _swigt__p_wxWindowDisabler
,
29497 _swigt__p_wxToolTip
,
29498 _swigt__p_wxDataObjectComposite
,
29499 _swigt__p_wxFileConfig
,
29500 _swigt__p_wxSystemSettings
,
29501 _swigt__p_wxVideoMode
,
29502 _swigt__p_wxPyDataObjectSimple
,
29503 _swigt__p_wxDataObjectSimple
,
29504 _swigt__p_wxEvtHandler
,
29507 _swigt__p_wxSingleInstanceChecker
,
29508 _swigt__p_wxFileTypeInfo
,
29511 _swigt__p_wxMimeTypesManager
,
29512 _swigt__p_wxPyArtProvider
,
29513 _swigt__p_wxPyTipProvider
,
29514 _swigt__p_wxTipProvider
,
29515 _swigt__p_wxJoystick
,
29516 _swigt__p_wxSystemOptions
,
29518 _swigt__p_wxJoystickEvent
,
29519 _swigt__p_wxCursor
,
29520 _swigt__p_wxObject
,
29521 _swigt__p_wxOutputStream
,
29522 _swigt__p_wxDateTime
,
29523 _swigt__p_wxPyDropSource
,
29524 _swigt__p_wxWindow
,
29525 _swigt__p_wxString
,
29526 _swigt__p_wxPyProcess
,
29527 _swigt__p_wxBitmap
,
29528 _swigt__p_wxConfig
,
29530 _swigt__p_wxBusyInfo
,
29531 _swigt__p_wxPyDropTarget
,
29532 _swigt__p_wxPyTextDropTarget
,
29533 _swigt__p_wxPyFileDropTarget
,
29534 _swigt__p_wxProcessEvent
,
29536 _swigt__p_wxLogNull
,
29537 _swigt__p_wxColour
,
29539 _swigt__p_wxConfigPathChanger
,
29540 _swigt__p_wxPyTimer
,
29541 _swigt__p_wxDateSpan
,
29546 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29548 static swig_const_info swig_const_table
[] = {
29549 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29550 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29551 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29552 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29553 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29554 {0, 0, 0, 0.0, 0, 0}};
29563 SWIGEXPORT(void) SWIG_init(void) {
29564 static PyObject
*SWIG_globals
= 0;
29565 static int typeinit
= 0;
29568 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29569 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29570 d
= PyModule_GetDict(m
);
29573 for (i
= 0; swig_types_initial
[i
]; i
++) {
29574 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29578 SWIG_InstallConstants(d
,swig_const_table
);
29580 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29581 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29582 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29583 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29584 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29585 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29586 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29587 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29588 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29589 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29590 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29591 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29592 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29593 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29594 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29595 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29596 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29597 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29598 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29624 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29625 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29626 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29627 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29628 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29629 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29630 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29631 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29632 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29633 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29634 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29635 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29636 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29637 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29638 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29639 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29640 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29641 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29642 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29643 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29644 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29645 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29646 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29647 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29648 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29649 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29650 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29651 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29652 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29653 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29654 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29655 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29656 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29657 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29658 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29659 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29660 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29661 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29662 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29663 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29664 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29665 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29666 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29667 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29668 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29669 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29670 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29671 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29672 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29673 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29674 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29675 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29676 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29677 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29678 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29679 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29680 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29681 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29682 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29683 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29684 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29685 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29686 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29687 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29688 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29689 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29690 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29691 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29692 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29693 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29694 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29695 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29696 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29697 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29698 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29699 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29700 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29701 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29702 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29703 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29704 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29705 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29706 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29707 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29708 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29709 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29710 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29711 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29712 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29713 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29714 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29715 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29716 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29717 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29718 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29719 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29720 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29721 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29722 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29723 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29724 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29725 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29726 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29727 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29728 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29729 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29731 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29733 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29734 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29735 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29736 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29737 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29738 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29739 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29740 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29741 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29742 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29743 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29744 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29745 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29746 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29747 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29748 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29749 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29750 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29751 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29752 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29792 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29794 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29795 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29796 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29797 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29798 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29799 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29800 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29801 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29802 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29803 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29804 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29805 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29806 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29807 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29808 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29809 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29810 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29811 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29812 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29813 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29814 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29815 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29816 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29817 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29818 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29819 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29820 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29821 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29822 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29823 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29824 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29825 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29826 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29827 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29828 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29829 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29830 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29831 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29832 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29833 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29834 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29835 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29836 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29837 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29838 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29839 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29840 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29841 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29842 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29843 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29844 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29845 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29846 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29847 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29848 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29849 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29850 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29851 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29852 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29853 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29854 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29855 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29856 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29857 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29858 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29870 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29920 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29921 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29922 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29923 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29924 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29925 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29926 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29927 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29928 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29929 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29930 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29931 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29932 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29933 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29934 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29935 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29936 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29937 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29938 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29939 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29940 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29941 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29942 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29943 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29944 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29945 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29946 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29947 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29948 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29949 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29950 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29951 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29952 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29953 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29954 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29955 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29956 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29957 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29958 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29959 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29960 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29961 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29962 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29963 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29964 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29965 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29966 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29967 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29968 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29969 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29970 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29971 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29972 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29973 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29974 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29975 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29976 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29977 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29978 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29979 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29980 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29981 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29982 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29983 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29984 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29985 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29986 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29987 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29988 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29989 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29990 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29991 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29992 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29993 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29995 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29996 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29997 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29998 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30000 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30001 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);