1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
236 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxDataObject swig_types[29]
239 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
240 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxByte swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
302 ------------------------------------------------*/
303 #define SWIG_init init_misc
305 #define SWIG_name "_misc"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject
*obj
)
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
399 "int", INT_MIN
, INT_MAX
));
402 #define SWIG_AsInt SWIG_AsLong
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject
* obj
)
410 if (PyErr_Occurred()) {
418 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
419 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
420 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
422 SWIGSTATICINLINE(int)
423 SWIG_CheckLong(PyObject
* obj
)
426 if (PyErr_Occurred()) {
435 SWIGSTATICINLINE(bool)
436 SWIG_AsBool(PyObject
*obj
)
438 return PyObject_IsTrue(obj
) ? true : false;
442 SWIGSTATICINLINE(int)
443 SWIG_CheckBool(PyObject
* obj
)
446 if (PyErr_Occurred()) {
455 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
461 } else if (target
== Py_None
) {
465 if (!PyTuple_Check(target
)) {
467 target
= PyTuple_New(1);
468 PyTuple_SetItem(target
, 0, o2
);
471 PyTuple_SetItem(o3
, 0, o
);
474 target
= PySequence_Concat(o2
, o3
);
482 long wxGetFreeMemory()
483 { wxPyRaiseNotImplemented(); return 0; }
486 SWIGSTATICINLINE(unsigned long)
487 SWIG_AsUnsignedLong(PyObject
* obj
)
489 if (PyLong_Check(obj
)) {
490 return PyLong_AsUnsignedLong(obj
);
492 long i
= PyInt_AsLong(obj
);
493 if ( !PyErr_Occurred() && (i
< 0)) {
494 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
501 SWIGSTATICINLINE(int)
502 SWIG_CheckUnsignedLong(PyObject
* obj
)
504 SWIG_AsUnsignedLong(obj
);
505 if (PyErr_Occurred()) {
514 SWIGSTATICINLINE(PyObject
* )
515 SWIG_FromUnsignedLong(unsigned long value
)
517 return (value
> LONG_MAX
) ?
518 PyLong_FromUnsignedLong(value
)
519 : PyInt_FromLong(swig_numeric_cast(long,value
));
523 bool wxGetKeyState(wxKeyCode key
)
524 { wxPyRaiseNotImplemented(); return False
; }
527 void wxWakeUpMainThread() {}
530 bool wxThread_IsMain() {
531 #ifdef WXP_WITH_THREAD
532 return wxThread::IsMain();
539 int wxCaret_GetBlinkTime() {
540 return wxCaret::GetBlinkTime();
543 void wxCaret_SetBlinkTime(int milliseconds
) {
544 wxCaret::SetBlinkTime(milliseconds
);
548 #include <wx/snglinst.h>
552 #include <wx/msw/private.h>
553 #include <wx/dynload.h>
558 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
565 // This one only partially works. Appears to be an undocumented
566 // "standard" convention that not all widgets adhear to. For
567 // example, for some widgets backgrounds or non-client areas may
569 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
573 // This one works much better, except for on XP. On Win2k nearly
574 // all widgets and their children are captured correctly[**]. On
575 // XP with Themes activated most native widgets draw only
576 // partially, if at all. Without themes it works just like on
579 // ** For example the radio buttons in a wxRadioBox are not its
580 // children by default, but you can capture it via the panel
581 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
582 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
583 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
584 PRF_ERASEBKGND
| PRF_OWNED
);
588 // This one is only defined in the latest SDK and is only
589 // available on XP. MSDN says it is similar to sending WM_PRINT
590 // so I expect that it will work similar to the above. Since it
591 // is avaialble only on XP, it can't be compiled like this and
592 // will have to be loaded dynamically.
593 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
598 // Use PrintWindow if available, or fallback to WM_PRINT
599 // otherwise. Unfortunately using PrintWindow is even worse than
600 // WM_PRINT. For most native widgets nothing is drawn to the dc
601 // at all, with or without Themes.
602 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
603 static bool s_triedToLoad
= False
;
604 static PrintWindow_t pfnPrintWindow
= NULL
;
605 if ( !s_triedToLoad
)
608 s_triedToLoad
= True
;
609 wxDynamicLibrary
dllUser32(_T("user32.dll"));
610 if ( dllUser32
.IsLoaded() )
612 wxLogNull nolog
; // Don't report errors here
613 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
618 printf("Using PrintWindow\n");
619 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
623 printf("Using WM_PRINT\n");
624 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
625 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
633 #include <wx/tipdlg.h>
636 class wxPyTipProvider
: public wxTipProvider
{
638 wxPyTipProvider(size_t currentTip
)
639 : wxTipProvider(currentTip
) {}
641 DEC_PYCALLBACK_STRING__pure(GetTip
);
642 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
646 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
647 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
650 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
652 void wxPyTimer::Notify() {
654 bool blocked
= wxPyBeginBlockThreads();
655 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
656 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
657 wxPyEndBlockThreads(blocked
);
661 void wxPyTimer::base_Notify() {
667 SWIGSTATICINLINE(PyObject
*)
668 SWIG_FromCharPtr(const char* cptr
)
670 size_t size
= cptr
? strlen(cptr
) : 0;
672 if (size
> INT_MAX
) {
673 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
674 SWIG_TypeQuery("char *"), 0);
676 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
685 SWIGSTATICINLINE(unsigned long)
686 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
687 unsigned long max_value
)
689 if (!PyErr_Occurred()) {
690 if (value
> max_value
) {
692 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
693 value
, type
, max_value
);
694 PyErr_SetObject(PyExc_OverflowError
, err
);
702 #if UINT_MAX != ULONG_MAX
703 SWIGSTATICINLINE(unsigned int)
704 SWIG_AsUnsignedInt(PyObject
*obj
)
706 return swig_numeric_cast(unsigned int,
707 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
708 "unsigned int", UINT_MAX
));
711 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
715 SWIGSTATICINLINE(int)
716 SWIG_CheckUnsignedInt(PyObject
* obj
)
718 SWIG_AsUnsignedInt(obj
);
719 if (PyErr_Occurred()) {
727 wxString
Log_TimeStamp(){
729 wxLog::TimeStamp(&msg
);
732 void wxLog_Destroy(wxLog
*self
){ delete self
; }
734 // A wxLog class that can be derived from in wxPython
735 class wxPyLog
: public wxLog
{
737 wxPyLog() : wxLog() {}
739 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
741 bool blocked
= wxPyBeginBlockThreads();
742 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
743 PyObject
* s
= wx2PyString(szString
);
744 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
747 wxPyEndBlockThreads(blocked
);
749 wxLog::DoLog(level
, szString
, t
);
752 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
754 bool blocked
= wxPyBeginBlockThreads();
755 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
756 PyObject
* s
= wx2PyString(szString
);
757 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
760 wxPyEndBlockThreads(blocked
);
762 wxLog::DoLogString(szString
, t
);
771 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
774 #include <wx/joystick.h>
777 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
778 // A C++ stub class for wxJoystick for platforms that don't have it.
779 class wxJoystick
: public wxObject
{
781 wxJoystick(int joystick
= wxJOYSTICK1
) {
782 bool blocked
= wxPyBeginBlockThreads();
783 PyErr_SetString(PyExc_NotImplementedError
,
784 "wxJoystick is not available on this platform.");
785 wxPyEndBlockThreads(blocked
);
787 wxPoint
GetPosition() { return wxPoint(-1,-1); }
788 int GetZPosition() { return -1; }
789 int GetButtonState() { return -1; }
790 int GetPOVPosition() { return -1; }
791 int GetPOVCTSPosition() { return -1; }
792 int GetRudderPosition() { return -1; }
793 int GetUPosition() { return -1; }
794 int GetVPosition() { return -1; }
795 int GetMovementThreshold() { return -1; }
796 void SetMovementThreshold(int threshold
) {}
798 bool IsOk(void) { return False
; }
799 int GetNumberJoysticks() { return -1; }
800 int GetManufacturerId() { return -1; }
801 int GetProductId() { return -1; }
802 wxString
GetProductName() { return ""; }
803 int GetXMin() { return -1; }
804 int GetYMin() { return -1; }
805 int GetZMin() { return -1; }
806 int GetXMax() { return -1; }
807 int GetYMax() { return -1; }
808 int GetZMax() { return -1; }
809 int GetNumberButtons() { return -1; }
810 int GetNumberAxes() { return -1; }
811 int GetMaxButtons() { return -1; }
812 int GetMaxAxes() { return -1; }
813 int GetPollingMin() { return -1; }
814 int GetPollingMax() { return -1; }
815 int GetRudderMin() { return -1; }
816 int GetRudderMax() { return -1; }
817 int GetUMin() { return -1; }
818 int GetUMax() { return -1; }
819 int GetVMin() { return -1; }
820 int GetVMax() { return -1; }
822 bool HasRudder() { return False
; }
823 bool HasZ() { return False
; }
824 bool HasU() { return False
; }
825 bool HasV() { return False
; }
826 bool HasPOV() { return False
; }
827 bool HasPOV4Dir() { return False
; }
828 bool HasPOVCTS() { return False
; }
830 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
831 bool ReleaseCapture() { return False
; }
836 #include <wx/sound.h>
840 // A C++ stub class for wxWave for platforms that don't have it.
841 class wxSound
: public wxObject
845 bool blocked
= wxPyBeginBlockThreads();
846 PyErr_SetString(PyExc_NotImplementedError
,
847 "wxSound is not available on this platform.");
848 wxPyEndBlockThreads(blocked
);
850 wxSound(const wxString
&, bool) {
851 bool blocked
= wxPyBeginBlockThreads();
852 PyErr_SetString(PyExc_NotImplementedError
,
853 "wxSound is not available on this platform.");
854 wxPyEndBlockThreads(blocked
);
856 wxSound(int, const wxByte
*) {
857 bool blocked
= wxPyBeginBlockThreads();
858 PyErr_SetString(PyExc_NotImplementedError
,
859 "wxSound is not available on this platform.");
860 wxPyEndBlockThreads(blocked
);
865 bool Create(const wxString
&, bool) { return false; }
866 bool Create(int, const wxByte
*) { return false; };
867 bool IsOk() { return false; };
868 bool Play(unsigned) const { return false; }
869 static bool Play(const wxString
&, unsigned) { return false; }
870 static void Stop() {}
876 #include <wx/mimetype.h>
878 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
880 if (self
->GetMimeType(&str
))
881 return wx2PyString(str
);
885 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
887 if (self
->GetMimeTypes(arr
))
888 return wxArrayString2PyList_helper(arr
);
892 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
894 if (self
->GetExtensions(arr
))
895 return wxArrayString2PyList_helper(arr
);
899 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
901 if (self
->GetIcon(&loc
))
902 return new wxIcon(loc
);
906 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
908 if (self
->GetIcon(&loc
)) {
909 wxString iconFile
= loc
.GetFileName();
914 // Make a tuple and put the values in it
915 bool blocked
= wxPyBeginBlockThreads();
916 PyObject
* tuple
= PyTuple_New(3);
917 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
918 wxT("wxIcon"), True
));
919 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
920 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
921 wxPyEndBlockThreads(blocked
);
927 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
929 if (self
->GetDescription(&str
))
930 return wx2PyString(str
);
934 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
936 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
937 return wx2PyString(str
);
941 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
943 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
944 return wx2PyString(str
);
948 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
950 wxArrayString commands
;
951 if (self
->GetAllCommands(&verbs
, &commands
,
952 wxFileType::MessageParameters(filename
, mimetype
))) {
953 bool blocked
= wxPyBeginBlockThreads();
954 PyObject
* tuple
= PyTuple_New(2);
955 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
956 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
957 wxPyEndBlockThreads(blocked
);
963 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
964 return wxFileType::ExpandCommand(command
,
965 wxFileType::MessageParameters(filename
, mimetype
));
967 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
969 self
->EnumAllFileTypes(arr
);
970 return wxArrayString2PyList_helper(arr
);
973 #include <wx/artprov.h>
975 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
976 static const wxString
wxPyART_MENU(wxART_MENU
);
977 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
978 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
979 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
980 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
981 static const wxString
wxPyART_OTHER(wxART_OTHER
);
982 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
983 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
984 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
985 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
986 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
987 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
988 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
989 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
990 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
991 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
992 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
993 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
994 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
995 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
996 static const wxString
wxPyART_PRINT(wxART_PRINT
);
997 static const wxString
wxPyART_HELP(wxART_HELP
);
998 static const wxString
wxPyART_TIP(wxART_TIP
);
999 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1000 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1001 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1002 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1003 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1004 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1005 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1006 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1007 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1008 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1009 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1010 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1011 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1012 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1013 // Python aware wxArtProvider
1014 class wxPyArtProvider
: public wxArtProvider
{
1017 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1018 const wxArtClient
& client
,
1019 const wxSize
& size
) {
1020 wxBitmap rval
= wxNullBitmap
;
1021 bool blocked
= wxPyBeginBlockThreads();
1022 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1023 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1027 s1
= wx2PyString(id
);
1028 s2
= wx2PyString(client
);
1029 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1034 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1039 wxPyEndBlockThreads(blocked
);
1046 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1050 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1051 PyObject
* ret
= PyTuple_New(3);
1053 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1054 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1055 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1060 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1065 cont
= self
->GetFirstGroup(value
, index
);
1066 return __EnumerationHelper(cont
, value
, index
);
1068 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1072 cont
= self
->GetNextGroup(value
, index
);
1073 return __EnumerationHelper(cont
, value
, index
);
1075 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1080 cont
= self
->GetFirstEntry(value
, index
);
1081 return __EnumerationHelper(cont
, value
, index
);
1083 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1087 cont
= self
->GetNextEntry(value
, index
);
1088 return __EnumerationHelper(cont
, value
, index
);
1090 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1092 self
->Read(key
, &rv
, defaultVal
);
1096 SWIGSTATICINLINE(double)
1097 SWIG_AsDouble(PyObject
*obj
)
1099 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1101 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1103 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1105 if (PyErr_Occurred()) {
1107 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1113 SWIGSTATICINLINE(int)
1114 SWIG_CheckDouble(PyObject
* obj
)
1117 if (PyErr_Occurred()) {
1125 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1127 self
->Read(key
, &rv
, defaultVal
);
1130 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1132 self
->Read(key
, &rv
, defaultVal
);
1136 #include <wx/datetime.h>
1139 static const wxString
wxPyDateFormatStr(wxT("%c"));
1140 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1142 #define LOCAL_TZ wxDateTime::Local
1145 #if UINT_MAX < LONG_MAX
1146 #define SWIG_FromUnsignedInt SWIG_FromLong
1148 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1151 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1152 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1153 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1154 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1155 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1156 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1157 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1158 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1159 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1160 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1161 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1162 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1164 const wxChar
* _date
= date
;
1165 rv
= self
->ParseRfc822Date(_date
);
1166 if (rv
== NULL
) return -1;
1169 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1171 const wxChar
* _date
= date
;
1172 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1173 if (rv
== NULL
) return -1;
1176 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1178 const wxChar
* _datetime
= datetime
;
1179 rv
= self
->ParseDateTime(_datetime
);
1180 if (rv
== NULL
) return -1;
1181 return rv
- _datetime
;
1183 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1185 const wxChar
* _date
= date
;
1186 rv
= self
->ParseDate(_date
);
1187 if (rv
== NULL
) return -1;
1190 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1192 const wxChar
* _time
= time
;
1193 rv
= self
->ParseTime(_time
);
1194 if (rv
== NULL
) return -1;
1197 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1198 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1199 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1200 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1201 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1202 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1203 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1204 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1205 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1206 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1207 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1208 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1209 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1210 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1211 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1212 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1214 #include <wx/dataobj.h>
1216 // Create a new class for wxPython to use
1217 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1219 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1220 : wxDataObjectSimple(format
) {}
1222 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1223 bool GetDataHere(void *buf
) const;
1224 bool SetData(size_t len
, const void *buf
) const;
1228 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1230 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1231 // We need to get the data for this object and write it to buf. I think
1232 // the best way to do this for wxPython is to have the Python method
1233 // return either a string or None and then act appropriately with the
1237 bool blocked
= wxPyBeginBlockThreads();
1238 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1240 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1242 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1244 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1248 wxPyEndBlockThreads(blocked
);
1252 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1253 // For this one we simply need to make a string from buf and len
1254 // and send it to the Python method.
1256 bool blocked
= wxPyBeginBlockThreads();
1257 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1258 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1259 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1262 wxPyEndBlockThreads(blocked
);
1266 // Create a new class for wxPython to use
1267 class wxPyTextDataObject
: public wxTextDataObject
{
1269 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1270 : wxTextDataObject(text
) {}
1272 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1273 DEC_PYCALLBACK_STRING__const(GetText
);
1274 DEC_PYCALLBACK__STRING(SetText
);
1278 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1279 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1280 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1283 // Create a new class for wxPython to use
1284 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1286 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1287 : wxBitmapDataObject(bitmap
) {}
1289 wxBitmap
GetBitmap() const;
1290 void SetBitmap(const wxBitmap
& bitmap
);
1294 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1295 wxBitmap
* rval
= &wxNullBitmap
;
1296 bool blocked
= wxPyBeginBlockThreads();
1297 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1302 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1307 wxPyEndBlockThreads(blocked
);
1311 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1312 bool blocked
= wxPyBeginBlockThreads();
1313 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1314 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1315 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1318 wxPyEndBlockThreads(blocked
);
1321 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1322 if (PyString_Check(data
)) {
1323 // for Python we just call SetData here since we always need it to make a copy.
1324 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1327 // raise a TypeError if not a string
1328 PyErr_SetString(PyExc_TypeError
, "String expected.");
1331 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1332 if (PyString_Check(data
)) {
1333 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1336 // raise a TypeError if not a string
1337 PyErr_SetString(PyExc_TypeError
, "String expected.");
1341 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1342 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1345 class wxMetafileDataObject
: public wxDataObjectSimple
1348 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1352 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1355 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1356 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1357 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1358 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1359 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1362 class wxPyTextDropTarget
: public wxTextDropTarget
{
1364 wxPyTextDropTarget() {}
1366 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1368 DEC_PYCALLBACK__(OnLeave
);
1369 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1370 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1371 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1372 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1377 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1378 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1379 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1380 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1381 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1382 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1386 class wxPyFileDropTarget
: public wxFileDropTarget
{
1388 wxPyFileDropTarget() {}
1390 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1392 DEC_PYCALLBACK__(OnLeave
);
1393 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1394 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1395 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1396 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1401 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1402 const wxArrayString
& filenames
) {
1404 bool blocked
= wxPyBeginBlockThreads();
1405 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1406 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1407 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1410 wxPyEndBlockThreads(blocked
);
1416 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1417 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1418 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1419 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1420 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1425 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1427 #include "wx/display.h"
1429 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1430 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1431 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1432 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1433 PyObject
* pyList
= NULL
;
1434 wxArrayVideoModes arr
= self
->GetModes(mode
);
1435 bool blocked
= wxPyBeginBlockThreads();
1436 pyList
= PyList_New(0);
1437 for (int i
=0; i
< arr
.GetCount(); i
++) {
1438 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1439 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1440 PyList_Append(pyList
, pyObj
);
1442 wxPyEndBlockThreads(blocked
);
1448 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "index", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1458 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1468 wxColour
* resultptr
;
1469 resultptr
= new wxColour((wxColour
&) result
);
1470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1478 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "index", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1488 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1499 resultptr
= new wxFont((wxFont
&) result
);
1500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1508 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "index", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1518 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= SWIG_FromInt((int)result
);
1534 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "index", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1544 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1562 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 result
= (int)wxSystemSettings::GetScreenType();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= SWIG_FromInt((int)result
);
1584 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1587 PyObject
* obj0
= 0 ;
1589 (char *) "screen", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1593 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 Py_INCREF(Py_None
); resultobj
= Py_None
;
1609 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1612 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1614 return Py_BuildValue((char *)"");
1616 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxSystemOptions
*result
;
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (wxSystemOptions
*)new wxSystemOptions();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1638 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxString
*arg1
= 0 ;
1641 wxString
*arg2
= 0 ;
1642 bool temp1
= False
;
1643 bool temp2
= False
;
1644 PyObject
* obj0
= 0 ;
1645 PyObject
* obj1
= 0 ;
1647 (char *) "name",(char *) "value", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1652 arg1
= wxString_in_helper(obj0
);
1653 if (arg1
== NULL
) SWIG_fail
;
1657 arg2
= wxString_in_helper(obj1
);
1658 if (arg2
== NULL
) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1668 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxString
*arg1
= 0 ;
1695 bool temp1
= False
;
1696 PyObject
* obj0
= 0 ;
1697 PyObject
* obj1
= 0 ;
1699 (char *) "name",(char *) "value", NULL
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1704 arg1
= wxString_in_helper(obj0
);
1705 if (arg1
== NULL
) SWIG_fail
;
1708 arg2
= (int) SWIG_AsInt(obj1
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 Py_INCREF(Py_None
); resultobj
= Py_None
;
1732 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxString
*arg1
= 0 ;
1736 bool temp1
= False
;
1737 PyObject
* obj0
= 0 ;
1739 (char *) "name", NULL
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1744 arg1
= wxString_in_helper(obj0
);
1745 if (arg1
== NULL
) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1776 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxString
*arg1
= 0 ;
1780 bool temp1
= False
;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "name", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1788 arg1
= wxString_in_helper(obj0
);
1789 if (arg1
== NULL
) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= SWIG_FromInt((int)result
);
1814 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxString
*arg1
= 0 ;
1818 bool temp1
= False
;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "name", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1826 arg1
= wxString_in_helper(obj0
);
1827 if (arg1
== NULL
) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1854 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1859 return Py_BuildValue((char *)"");
1861 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1862 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1867 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1872 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1874 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1881 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1882 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1887 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1892 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1894 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1901 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1902 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1907 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1912 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1914 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1921 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 result
= (long)wxNewId();
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1936 resultobj
= SWIG_FromLong((long)result
);
1943 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1946 PyObject
* obj0
= 0 ;
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1952 arg1
= (long) SWIG_AsLong(obj0
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 Py_INCREF(Py_None
); resultobj
= Py_None
;
1968 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (long)wxGetCurrentId();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= SWIG_FromLong((long)result
);
1990 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 Py_INCREF(Py_None
); resultobj
= Py_None
;
2011 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 bool arg1
= (bool) True
;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "resetTimer", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2043 arg1
= (bool) SWIG_AsBool(obj0
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (long)wxGetElapsedTime(arg1
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_FromLong((long)result
);
2060 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 int *arg1
= (int *) 0 ;
2063 int *arg2
= (int *) 0 ;
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 wxGetMousePosition(arg1
,arg2
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 Py_INCREF(Py_None
); resultobj
= Py_None
;
2082 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2083 resultobj
= t_output_helper(resultobj
,o
);
2086 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2087 resultobj
= t_output_helper(resultobj
,o
);
2095 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (bool)wxIsBusy();
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2119 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2147 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2150 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2152 bool temp1
= False
;
2153 PyObject
* obj0
= 0 ;
2155 (char *) "command", NULL
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2161 arg1
= wxString_in_helper(obj0
);
2162 if (arg1
== NULL
) SWIG_fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 result
= (bool)wxShell((wxString
const &)*arg1
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2190 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 int *arg1
= (int *) 0 ;
2214 int *arg2
= (int *) 0 ;
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (int)wxGetOsVersion(arg1
,arg2
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= SWIG_FromInt((int)result
);
2234 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2235 resultobj
= t_output_helper(resultobj
,o
);
2238 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2239 resultobj
= t_output_helper(resultobj
,o
);
2247 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= wxGetOsDescription();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2275 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 result
= (long)wxGetFreeMemory();
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 resultobj
= SWIG_FromLong((long)result
);
2297 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "wFlags", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2307 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2325 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "secs", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2334 arg1
= (int) SWIG_AsInt(obj0
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 unsigned long arg1
;
2353 PyObject
* obj0
= 0 ;
2355 (char *) "milliseconds", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2359 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 Py_INCREF(Py_None
); resultobj
= Py_None
;
2375 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "enable", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2384 arg1
= (bool) SWIG_AsBool(obj0
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxEnableTopLevelWindows(arg1
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 Py_INCREF(Py_None
); resultobj
= Py_None
;
2400 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2402 wxString
*arg1
= 0 ;
2404 bool temp1
= False
;
2405 PyObject
* obj0
= 0 ;
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2412 arg1
= wxString_in_helper(obj0
);
2413 if (arg1
== NULL
) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2444 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= wxGetEmailAddress();
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2472 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= wxGetHostName();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2500 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 result
= wxGetFullHostName();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2528 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 result
= wxGetUserId();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2556 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 result
= wxGetUserName();
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2584 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 result
= wxGetHomeDir();
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2612 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2615 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2617 bool temp1
= False
;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "user", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2626 arg1
= wxString_in_helper(obj0
);
2627 if (arg1
== NULL
) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= wxGetUserHome((wxString
const &)*arg1
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2659 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 unsigned long result
;
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (unsigned long)wxGetProcessId();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2681 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2705 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2706 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2707 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2710 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2711 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2712 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2713 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2714 int arg6
= (int) 0 ;
2715 wxWindow
*arg7
= (wxWindow
*) NULL
;
2716 int arg8
= (int) -1 ;
2717 int arg9
= (int) -1 ;
2719 bool temp1
= False
;
2720 bool temp2
= False
;
2721 bool temp3
= False
;
2722 bool temp4
= False
;
2723 bool temp5
= False
;
2724 PyObject
* obj0
= 0 ;
2725 PyObject
* obj1
= 0 ;
2726 PyObject
* obj2
= 0 ;
2727 PyObject
* obj3
= 0 ;
2728 PyObject
* obj4
= 0 ;
2729 PyObject
* obj5
= 0 ;
2730 PyObject
* obj6
= 0 ;
2731 PyObject
* obj7
= 0 ;
2732 PyObject
* obj8
= 0 ;
2734 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2740 arg1
= wxString_in_helper(obj0
);
2741 if (arg1
== NULL
) SWIG_fail
;
2747 arg2
= wxString_in_helper(obj1
);
2748 if (arg2
== NULL
) SWIG_fail
;
2754 arg3
= wxString_in_helper(obj2
);
2755 if (arg3
== NULL
) SWIG_fail
;
2761 arg4
= wxString_in_helper(obj3
);
2762 if (arg4
== NULL
) SWIG_fail
;
2768 arg5
= wxString_in_helper(obj4
);
2769 if (arg5
== NULL
) SWIG_fail
;
2774 arg6
= (int) SWIG_AsInt(obj5
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2778 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 arg8
= (int) SWIG_AsInt(obj7
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2786 arg9
= (int) SWIG_AsInt(obj8
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2849 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxString
*arg1
= 0 ;
2852 wxString
*arg2
= 0 ;
2853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2855 wxWindow
*arg4
= (wxWindow
*) NULL
;
2857 bool temp1
= False
;
2858 bool temp2
= False
;
2859 bool temp3
= False
;
2860 PyObject
* obj0
= 0 ;
2861 PyObject
* obj1
= 0 ;
2862 PyObject
* obj2
= 0 ;
2863 PyObject
* obj3
= 0 ;
2865 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2870 arg1
= wxString_in_helper(obj0
);
2871 if (arg1
== NULL
) SWIG_fail
;
2875 arg2
= wxString_in_helper(obj1
);
2876 if (arg2
== NULL
) SWIG_fail
;
2881 arg3
= wxString_in_helper(obj2
);
2882 if (arg3
== NULL
) SWIG_fail
;
2887 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2934 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxString
*arg1
= 0 ;
2937 wxString
*arg2
= 0 ;
2938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2940 wxWindow
*arg4
= (wxWindow
*) NULL
;
2942 bool temp1
= False
;
2943 bool temp2
= False
;
2944 bool temp3
= False
;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2947 PyObject
* obj2
= 0 ;
2948 PyObject
* obj3
= 0 ;
2950 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2955 arg1
= wxString_in_helper(obj0
);
2956 if (arg1
== NULL
) SWIG_fail
;
2960 arg2
= wxString_in_helper(obj1
);
2961 if (arg2
== NULL
) SWIG_fail
;
2966 arg3
= wxString_in_helper(obj2
);
2967 if (arg3
== NULL
) SWIG_fail
;
2972 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3019 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3022 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3023 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3024 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3025 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3028 wxWindow
*arg5
= (wxWindow
*) NULL
;
3030 bool temp1
= False
;
3031 bool temp2
= False
;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3035 PyObject
* obj2
= 0 ;
3036 PyObject
* obj3
= 0 ;
3037 PyObject
* obj4
= 0 ;
3039 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3045 arg1
= wxString_in_helper(obj0
);
3046 if (arg1
== NULL
) SWIG_fail
;
3052 arg2
= wxString_in_helper(obj1
);
3053 if (arg2
== NULL
) SWIG_fail
;
3058 arg3
= (long) SWIG_AsLong(obj2
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3068 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3107 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxString
*arg1
= 0 ;
3110 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3111 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3114 wxWindow
*arg4
= (wxWindow
*) NULL
;
3115 int arg5
= (int) -1 ;
3116 int arg6
= (int) -1 ;
3117 bool arg7
= (bool) True
;
3119 bool temp1
= False
;
3120 bool temp2
= False
;
3121 bool temp3
= False
;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3124 PyObject
* obj2
= 0 ;
3125 PyObject
* obj3
= 0 ;
3126 PyObject
* obj4
= 0 ;
3127 PyObject
* obj5
= 0 ;
3128 PyObject
* obj6
= 0 ;
3130 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3135 arg1
= wxString_in_helper(obj0
);
3136 if (arg1
== NULL
) SWIG_fail
;
3141 arg2
= wxString_in_helper(obj1
);
3142 if (arg2
== NULL
) SWIG_fail
;
3148 arg3
= wxString_in_helper(obj2
);
3149 if (arg3
== NULL
) SWIG_fail
;
3154 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3158 arg5
= (int) SWIG_AsInt(obj4
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 arg6
= (int) SWIG_AsInt(obj5
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 arg7
= (bool) SWIG_AsBool(obj6
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3213 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxString
*arg1
= 0 ;
3216 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3217 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3218 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3219 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3220 wxWindow
*arg4
= (wxWindow
*) NULL
;
3222 bool temp1
= False
;
3223 bool temp2
= False
;
3224 bool temp3
= False
;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3227 PyObject
* obj2
= 0 ;
3228 PyObject
* obj3
= 0 ;
3230 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3235 arg1
= wxString_in_helper(obj0
);
3236 if (arg1
== NULL
) SWIG_fail
;
3241 arg2
= wxString_in_helper(obj1
);
3242 if (arg2
== NULL
) SWIG_fail
;
3248 arg3
= wxString_in_helper(obj2
);
3249 if (arg3
== NULL
) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3301 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxString
*arg1
= 0 ;
3304 wxString
*arg2
= 0 ;
3306 wxString
*arg4
= (wxString
*) 0 ;
3307 wxWindow
*arg5
= (wxWindow
*) NULL
;
3308 int arg6
= (int) -1 ;
3309 int arg7
= (int) -1 ;
3310 bool arg8
= (bool) True
;
3311 int arg9
= (int) 150 ;
3312 int arg10
= (int) 200 ;
3314 bool temp1
= False
;
3315 bool temp2
= False
;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3318 PyObject
* obj2
= 0 ;
3319 PyObject
* obj3
= 0 ;
3320 PyObject
* obj4
= 0 ;
3321 PyObject
* obj5
= 0 ;
3322 PyObject
* obj6
= 0 ;
3323 PyObject
* obj7
= 0 ;
3324 PyObject
* obj8
= 0 ;
3326 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3331 arg1
= wxString_in_helper(obj0
);
3332 if (arg1
== NULL
) SWIG_fail
;
3336 arg2
= wxString_in_helper(obj1
);
3337 if (arg2
== NULL
) SWIG_fail
;
3341 arg3
= PyList_Size(obj2
);
3342 arg4
= wxString_LIST_helper(obj2
);
3343 if (arg4
== NULL
) SWIG_fail
;
3346 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 arg6
= (int) SWIG_AsInt(obj4
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 arg7
= (int) SWIG_AsInt(obj5
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3358 arg8
= (bool) SWIG_AsBool(obj6
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 arg9
= (int) SWIG_AsInt(obj7
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 arg10
= (int) SWIG_AsInt(obj8
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3392 if (arg4
) delete [] arg4
;
3405 if (arg4
) delete [] arg4
;
3411 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxString
*arg1
= 0 ;
3414 wxString
*arg2
= 0 ;
3416 wxString
*arg4
= (wxString
*) 0 ;
3417 wxWindow
*arg5
= (wxWindow
*) NULL
;
3418 int arg6
= (int) -1 ;
3419 int arg7
= (int) -1 ;
3420 bool arg8
= (bool) True
;
3421 int arg9
= (int) 150 ;
3422 int arg10
= (int) 200 ;
3424 bool temp1
= False
;
3425 bool temp2
= False
;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 PyObject
* obj8
= 0 ;
3436 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3441 arg1
= wxString_in_helper(obj0
);
3442 if (arg1
== NULL
) SWIG_fail
;
3446 arg2
= wxString_in_helper(obj1
);
3447 if (arg2
== NULL
) SWIG_fail
;
3451 arg3
= PyList_Size(obj2
);
3452 arg4
= wxString_LIST_helper(obj2
);
3453 if (arg4
== NULL
) SWIG_fail
;
3456 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3460 arg6
= (int) SWIG_AsInt(obj4
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 arg7
= (int) SWIG_AsInt(obj5
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3468 arg8
= (bool) SWIG_AsBool(obj6
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3472 arg9
= (int) SWIG_AsInt(obj7
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 arg10
= (int) SWIG_AsInt(obj8
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 resultobj
= SWIG_FromInt((int)result
);
3496 if (arg4
) delete [] arg4
;
3509 if (arg4
) delete [] arg4
;
3515 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxString
*arg1
= 0 ;
3518 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3519 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3520 int arg3
= (int) wxOK
|wxCENTRE
;
3521 wxWindow
*arg4
= (wxWindow
*) NULL
;
3522 int arg5
= (int) -1 ;
3523 int arg6
= (int) -1 ;
3525 bool temp1
= False
;
3526 bool temp2
= False
;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3529 PyObject
* obj2
= 0 ;
3530 PyObject
* obj3
= 0 ;
3531 PyObject
* obj4
= 0 ;
3532 PyObject
* obj5
= 0 ;
3534 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3539 arg1
= wxString_in_helper(obj0
);
3540 if (arg1
== NULL
) SWIG_fail
;
3545 arg2
= wxString_in_helper(obj1
);
3546 if (arg2
== NULL
) SWIG_fail
;
3551 arg3
= (int) SWIG_AsInt(obj2
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 arg5
= (int) SWIG_AsInt(obj4
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 arg6
= (int) SWIG_AsInt(obj5
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_FromInt((int)result
);
3596 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxString
*arg1
= 0 ;
3599 wxString
*arg2
= 0 ;
3600 wxString
*arg3
= 0 ;
3602 long arg5
= (long) 0 ;
3603 long arg6
= (long) 100 ;
3604 wxWindow
*arg7
= (wxWindow
*) NULL
;
3605 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3606 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3608 bool temp1
= False
;
3609 bool temp2
= False
;
3610 bool temp3
= False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3614 PyObject
* obj2
= 0 ;
3615 PyObject
* obj3
= 0 ;
3616 PyObject
* obj4
= 0 ;
3617 PyObject
* obj5
= 0 ;
3618 PyObject
* obj6
= 0 ;
3619 PyObject
* obj7
= 0 ;
3621 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3626 arg1
= wxString_in_helper(obj0
);
3627 if (arg1
== NULL
) SWIG_fail
;
3631 arg2
= wxString_in_helper(obj1
);
3632 if (arg2
== NULL
) SWIG_fail
;
3636 arg3
= wxString_in_helper(obj2
);
3637 if (arg3
== NULL
) SWIG_fail
;
3640 arg4
= (long) SWIG_AsLong(obj3
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 arg5
= (long) SWIG_AsLong(obj4
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 arg6
= (long) SWIG_AsLong(obj5
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= SWIG_FromLong((long)result
);
3698 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 result
= (bool)wxColourDisplay();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3722 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (int)wxDisplayDepth();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_FromInt((int)result
);
3744 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (int)wxGetDisplayDepth();
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_FromInt((int)result
);
3766 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 int *arg1
= (int *) 0 ;
3769 int *arg2
= (int *) 0 ;
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxDisplaySize(arg1
,arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3788 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3789 resultobj
= t_output_helper(resultobj
,o
);
3792 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3793 resultobj
= t_output_helper(resultobj
,o
);
3801 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= wxGetDisplaySize();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3818 resultptr
= new wxSize((wxSize
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3827 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 int *arg1
= (int *) 0 ;
3830 int *arg2
= (int *) 0 ;
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 wxDisplaySizeMM(arg1
,arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3849 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3850 resultobj
= t_output_helper(resultobj
,o
);
3853 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3854 resultobj
= t_output_helper(resultobj
,o
);
3862 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 result
= wxGetDisplaySizeMM();
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3879 resultptr
= new wxSize((wxSize
&) result
);
3880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3888 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 int *arg1
= (int *) 0 ;
3891 int *arg2
= (int *) 0 ;
3892 int *arg3
= (int *) 0 ;
3893 int *arg4
= (int *) 0 ;
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3917 resultobj
= t_output_helper(resultobj
,o
);
3920 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3921 resultobj
= t_output_helper(resultobj
,o
);
3924 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3925 resultobj
= t_output_helper(resultobj
,o
);
3928 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3929 resultobj
= t_output_helper(resultobj
,o
);
3937 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= wxGetClientDisplayRect();
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3954 resultptr
= new wxRect((wxRect
&) result
);
3955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3963 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxCursor
*arg1
= 0 ;
3966 PyObject
* obj0
= 0 ;
3968 (char *) "cursor", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3976 PyErr_SetString(PyExc_TypeError
,"null reference");
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "cursor", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 wxBeginBusyCursor(arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (wxWindow
*)wxGetActiveWindow();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= wxPyMake_wxObject(result
);
4044 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4049 PyObject
* obj0
= 0 ;
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4057 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= wxPyMake_wxObject(result
);
4075 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4080 PyObject
* obj0
= 0 ;
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4088 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= wxPyMake_wxObject(result
);
4106 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxWindow
*arg1
= (wxWindow
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "win", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= wxPyMake_wxObject(result
);
4134 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "key", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4144 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4162 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 wxWakeUpMainThread();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 Py_INCREF(Py_None
); resultobj
= Py_None
;
4183 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4225 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxMutexGuiLocker
*result
;
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4247 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4275 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4277 return Py_BuildValue((char *)"");
4279 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (bool)wxThread_IsMain();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4303 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxString
*arg1
= 0 ;
4307 bool temp1
= False
;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "tip", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4315 arg1
= wxString_in_helper(obj0
);
4316 if (arg1
== NULL
) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= wxPyMake_wxObject(result
);
4343 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4346 wxString
*arg2
= 0 ;
4347 bool temp2
= False
;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "tip", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4358 arg2
= wxString_in_helper(obj1
);
4359 if (arg2
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 (arg1
)->SetTip((wxString
const &)*arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4384 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (arg1
)->GetTip();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4416 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (wxWindow
*)(arg1
)->GetWindow();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= wxPyMake_wxObject(result
);
4444 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4447 PyObject
* obj0
= 0 ;
4449 (char *) "flag", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4453 arg1
= (bool) SWIG_AsBool(obj0
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 wxToolTip::Enable(arg1
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4472 PyObject
* obj0
= 0 ;
4474 (char *) "milliseconds", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4478 arg1
= (long) SWIG_AsLong(obj0
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxToolTip::SetDelay(arg1
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4497 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4499 return Py_BuildValue((char *)"");
4501 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxWindow
*arg1
= (wxWindow
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "window",(char *) "size", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4534 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxCaret
*arg1
= (wxCaret
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 Py_INCREF(Py_None
); resultobj
= Py_None
;
4559 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxCaret
*arg1
= (wxCaret
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "self", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (bool)(arg1
)->IsOk();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4587 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxCaret
*arg1
= (wxCaret
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4593 (char *) "self", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (bool)(arg1
)->IsVisible();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4615 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxCaret
*arg1
= (wxCaret
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (arg1
)->GetPosition();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 wxPoint
* resultptr
;
4636 resultptr
= new wxPoint((wxPoint
&) result
);
4637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4645 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxCaret
*arg1
= (wxCaret
*) 0 ;
4648 int *arg2
= (int *) 0 ;
4649 int *arg3
= (int *) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->GetPosition(arg2
,arg3
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4672 resultobj
= t_output_helper(resultobj
,o
);
4675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4676 resultobj
= t_output_helper(resultobj
,o
);
4684 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxCaret
*arg1
= (wxCaret
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4690 (char *) "self", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (arg1
)->GetSize();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4705 resultptr
= new wxSize((wxSize
&) result
);
4706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4714 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxCaret
*arg1
= (wxCaret
*) 0 ;
4717 int *arg2
= (int *) 0 ;
4718 int *arg3
= (int *) 0 ;
4721 PyObject
* obj0
= 0 ;
4723 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->GetSize(arg2
,arg3
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4740 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4741 resultobj
= t_output_helper(resultobj
,o
);
4744 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4745 resultobj
= t_output_helper(resultobj
,o
);
4753 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxCaret
*arg1
= (wxCaret
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (wxWindow
*)(arg1
)->GetWindow();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= wxPyMake_wxObject(result
);
4781 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxCaret
*arg1
= (wxCaret
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4790 (char *) "self",(char *) "x",(char *) "y", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 arg2
= (int) SWIG_AsInt(obj1
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4798 arg3
= (int) SWIG_AsInt(obj2
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->Move(arg2
,arg3
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxCaret
*arg1
= (wxCaret
*) 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "self",(char *) "pt", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 (arg1
)->Move((wxPoint
const &)*arg2
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 Py_INCREF(Py_None
); resultobj
= Py_None
;
4846 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxCaret
*arg1
= (wxCaret
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 PyObject
* obj2
= 0 ;
4855 (char *) "self",(char *) "width",(char *) "height", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 arg2
= (int) SWIG_AsInt(obj1
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 arg3
= (int) SWIG_AsInt(obj2
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetSize(arg2
,arg3
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxCaret
*arg1
= (wxCaret
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4887 (char *) "self",(char *) "size", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 (arg1
)->SetSize((wxSize
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxCaret
*arg1
= (wxCaret
*) 0 ;
4914 int arg2
= (int) True
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4918 (char *) "self",(char *) "show", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int) SWIG_AsInt(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 Py_INCREF(Py_None
); resultobj
= Py_None
;
4942 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxCaret
*arg1
= (wxCaret
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4970 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4972 return Py_BuildValue((char *)"");
4974 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)wxCaret_GetBlinkTime();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_FromInt((int)result
);
4996 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "milliseconds", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5005 arg1
= (int) SWIG_AsInt(obj0
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 wxCaret_SetBlinkTime(arg1
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5024 wxBusyCursor
*result
;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "cursor", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5049 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 Py_INCREF(Py_None
); resultobj
= Py_None
;
5074 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5079 return Py_BuildValue((char *)"");
5081 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxWindow
*arg1
= (wxWindow
*) NULL
;
5084 wxWindowDisabler
*result
;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "winToSkip", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5109 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 Py_INCREF(Py_None
); resultobj
= Py_None
;
5134 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5137 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5139 return Py_BuildValue((char *)"");
5141 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxString
*arg1
= 0 ;
5145 bool temp1
= False
;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "message", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5153 arg1
= wxString_in_helper(obj0
);
5154 if (arg1
== NULL
) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5179 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5184 (char *) "self", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5207 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5209 return Py_BuildValue((char *)"");
5211 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxStopWatch
*result
;
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxStopWatch
*)new wxStopWatch();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5233 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5236 long arg2
= (long) 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "t0", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 arg2
= (long) SWIG_AsLong(obj1
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 (arg1
)->Start(arg2
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 Py_INCREF(Py_None
); resultobj
= Py_None
;
5264 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "self", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 Py_INCREF(Py_None
); resultobj
= Py_None
;
5289 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5294 (char *) "self", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_FromLong((long)result
);
5340 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5343 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5345 return Py_BuildValue((char *)"");
5347 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 int arg1
= (int) 9 ;
5350 wxFileHistory
*result
;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "maxFiles", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5358 arg1
= (int) SWIG_AsInt(obj0
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5375 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5380 (char *) "self", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5403 wxString
*arg2
= 0 ;
5404 bool temp2
= False
;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5408 (char *) "self",(char *) "file", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 arg2
= wxString_in_helper(obj1
);
5416 if (arg2
== NULL
) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 Py_INCREF(Py_None
); resultobj
= Py_None
;
5441 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "i", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 arg2
= (int) SWIG_AsInt(obj1
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 (arg1
)->RemoveFileFromHistory(arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 Py_INCREF(Py_None
); resultobj
= Py_None
;
5470 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5476 (char *) "self", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_FromInt((int)result
);
5496 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5499 wxMenu
*arg2
= (wxMenu
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "menu", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 (arg1
)->UseMenu(arg2
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 Py_INCREF(Py_None
); resultobj
= Py_None
;
5525 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5528 wxMenu
*arg2
= (wxMenu
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5532 (char *) "self",(char *) "menu", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 (arg1
)->RemoveMenu(arg2
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5557 wxConfigBase
*arg2
= 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "config", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5571 PyErr_SetString(PyExc_TypeError
,"null reference");
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 (arg1
)->Load(*arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 Py_INCREF(Py_None
); resultobj
= Py_None
;
5588 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5591 wxConfigBase
*arg2
= 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "config", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5605 PyErr_SetString(PyExc_TypeError
,"null reference");
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->Save(*arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->AddFilesToMenu();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5650 wxMenu
*arg2
= (wxMenu
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5654 (char *) "self",(char *) "menu", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->AddFilesToMenu(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "i", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 arg2
= (int) SWIG_AsInt(obj1
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5712 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= SWIG_FromInt((int)result
);
5738 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5741 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5743 return Py_BuildValue((char *)"");
5745 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxString
*arg1
= 0 ;
5748 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5749 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5750 wxSingleInstanceChecker
*result
;
5751 bool temp1
= False
;
5752 bool temp2
= False
;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5756 (char *) "name",(char *) "path", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5761 arg1
= wxString_in_helper(obj0
);
5762 if (arg1
== NULL
) SWIG_fail
;
5767 arg2
= wxString_in_helper(obj1
);
5768 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5802 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxSingleInstanceChecker
*result
;
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5824 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "self", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5852 wxString
*arg2
= 0 ;
5853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5856 bool temp2
= False
;
5857 bool temp3
= False
;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 PyObject
* obj2
= 0 ;
5862 (char *) "self",(char *) "name",(char *) "path", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 arg2
= wxString_in_helper(obj1
);
5870 if (arg2
== NULL
) SWIG_fail
;
5875 arg3
= wxString_in_helper(obj2
);
5876 if (arg3
== NULL
) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5912 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5918 (char *) "self", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5940 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5945 return Py_BuildValue((char *)"");
5947 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxWindow
*arg1
= (wxWindow
*) 0 ;
5952 PyObject
* obj0
= 0 ;
5953 PyObject
* obj1
= 0 ;
5954 PyObject
* obj2
= 0 ;
5956 (char *) "window",(char *) "dc",(char *) "method", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5966 PyErr_SetString(PyExc_TypeError
,"null reference");
5969 arg3
= (int) SWIG_AsInt(obj2
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (arg1
)->GetTip();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6042 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "self", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (size_t)(arg1
)->GetCurrentTip();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6068 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6071 wxString
*arg2
= 0 ;
6073 bool temp2
= False
;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "tip", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= wxString_in_helper(obj1
);
6085 if (arg2
== NULL
) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6116 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6119 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6121 return Py_BuildValue((char *)"");
6123 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6126 wxPyTipProvider
*result
;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "currentTip", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6133 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6149 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6152 PyObject
*arg2
= (PyObject
*) 0 ;
6153 PyObject
*arg3
= (PyObject
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 PyObject
* obj2
= 0 ;
6158 (char *) "self",(char *) "self",(char *) "_class", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 Py_INCREF(Py_None
); resultobj
= Py_None
;
6180 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6183 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6185 return Py_BuildValue((char *)"");
6187 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxWindow
*arg1
= (wxWindow
*) 0 ;
6190 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6191 bool arg3
= (bool) True
;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6195 PyObject
* obj2
= 0 ;
6197 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 arg3
= (bool) SWIG_AsBool(obj2
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6225 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxString
*arg1
= 0 ;
6229 wxTipProvider
*result
;
6230 bool temp1
= False
;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "filename",(char *) "currentTip", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6239 arg1
= wxString_in_helper(obj0
);
6240 if (arg1
== NULL
) SWIG_fail
;
6243 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6267 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6270 int arg2
= (int) -1 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "owner",(char *) "id", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (int) SWIG_AsInt(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6301 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 Py_INCREF(Py_None
); resultobj
= Py_None
;
6326 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6329 PyObject
*arg2
= (PyObject
*) 0 ;
6330 PyObject
*arg3
= (PyObject
*) 0 ;
6331 int arg4
= (int) 1 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 PyObject
* obj3
= 0 ;
6337 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg4
= (int) SWIG_AsInt(obj3
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6366 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6367 int arg3
= (int) -1 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6372 (char *) "self",(char *) "owner",(char *) "id", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 arg3
= (int) SWIG_AsInt(obj2
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->SetOwner(arg2
,arg3
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6398 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6401 int arg2
= (int) -1 ;
6402 bool arg3
= (bool) False
;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 PyObject
* obj2
= 0 ;
6408 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6415 arg2
= (int) SWIG_AsInt(obj1
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 arg3
= (bool) SWIG_AsBool(obj2
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 (char *) "self", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_FromInt((int)result
);
6517 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6551 (char *) "self", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_FromInt((int)result
);
6571 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6574 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6576 return Py_BuildValue((char *)"");
6578 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 int arg1
= (int) 0 ;
6581 int arg2
= (int) 0 ;
6582 wxTimerEvent
*result
;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6586 (char *) "timerid",(char *) "interval", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6591 arg1
= (int) SWIG_AsInt(obj0
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 arg2
= (int) SWIG_AsInt(obj1
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6612 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6618 (char *) "self", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_FromInt((int)result
);
6638 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6643 return Py_BuildValue((char *)"");
6645 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6646 PyObject
*resultobj
;
6648 wxTimerRunner
*result
;
6649 PyObject
* obj0
= 0 ;
6651 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6656 PyErr_SetString(PyExc_TypeError
,"null reference");
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6673 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6674 PyObject
*resultobj
;
6677 bool arg3
= (bool) False
;
6678 wxTimerRunner
*result
;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6683 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6688 PyErr_SetString(PyExc_TypeError
,"null reference");
6691 arg2
= (int) SWIG_AsInt(obj1
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 arg3
= (bool) SWIG_AsBool(obj2
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6711 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6716 argc
= PyObject_Length(args
);
6717 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6718 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6724 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6732 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6735 if ((argc
>= 2) && (argc
<= 3)) {
6739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6747 _v
= SWIG_CheckInt(argv
[1]);
6750 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6752 _v
= SWIG_CheckBool(argv
[2]);
6754 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6760 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6765 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6794 bool arg3
= (bool) False
;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6799 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= (int) SWIG_AsInt(obj1
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 arg3
= (bool) SWIG_AsBool(obj2
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 (arg1
)->Start(arg2
,arg3
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 Py_INCREF(Py_None
); resultobj
= Py_None
;
6825 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6830 return Py_BuildValue((char *)"");
6832 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxLog
*)new wxLog();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6854 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (bool)wxLog::IsEnabled();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6878 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 bool arg1
= (bool) True
;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "doIt", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6889 arg1
= (bool) SWIG_AsBool(obj0
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (bool)wxLog::EnableLogging(arg1
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6908 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6911 wxChar
*arg2
= (wxChar
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 PyObject
* obj2
= 0 ;
6917 (char *) "level",(char *) "szString",(char *) "t", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6921 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 Py_INCREF(Py_None
); resultobj
= Py_None
;
6941 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxLog
*arg1
= (wxLog
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "self", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxLog::FlushActive();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 Py_INCREF(Py_None
); resultobj
= Py_None
;
6987 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (wxLog
*)wxLog::GetActiveTarget();
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7009 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxLog
*arg1
= (wxLog
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "pLogger", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7035 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7056 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 bool arg1
= (bool) True
;
7080 PyObject
* obj0
= 0 ;
7082 (char *) "bVerbose", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7087 arg1
= (bool) SWIG_AsBool(obj0
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 wxLog::SetVerbose(arg1
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "logLevel", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7113 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 wxLog::SetLogLevel(arg1
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 Py_INCREF(Py_None
); resultobj
= Py_None
;
7129 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxLog::DontCreateOnDemand();
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7150 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7153 PyObject
* obj0
= 0 ;
7155 (char *) "ulMask", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7159 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 wxLog::SetTraceMask(arg1
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 Py_INCREF(Py_None
); resultobj
= Py_None
;
7175 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxString
*arg1
= 0 ;
7178 bool temp1
= False
;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "str", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7186 arg1
= wxString_in_helper(obj0
);
7187 if (arg1
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxLog::AddTraceMask((wxString
const &)*arg1
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxString
*arg1
= 0 ;
7215 bool temp1
= False
;
7216 PyObject
* obj0
= 0 ;
7218 (char *) "str", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7223 arg1
= wxString_in_helper(obj0
);
7224 if (arg1
== NULL
) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxLog::ClearTraceMasks();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxArrayString
*result
;
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7282 result
= (wxArrayString
*) &_result_ref
;
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= wxArrayString2PyList_helper(*result
);
7297 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxChar
*arg1
= (wxChar
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxLog::SetTimestamp((wxChar
const *)arg1
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (bool)wxLog::GetVerbose();
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7346 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (wxTraceMask
)wxLog::GetTraceMask();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7368 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxChar
*arg1
= (wxChar
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7374 (char *) "mask", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7396 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (wxLogLevel
)wxLog::GetLogLevel();
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7418 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (wxChar
*)wxLog::GetTimestamp();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7440 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= Log_TimeStamp();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7468 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxLog
*arg1
= (wxLog
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7473 (char *) "self", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 wxLog_Destroy(arg1
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7498 return Py_BuildValue((char *)"");
7500 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxLogStderr
*result
;
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (wxLogStderr
*)new wxLogStderr();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7522 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7527 return Py_BuildValue((char *)"");
7529 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7532 wxLogTextCtrl
*result
;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "pTextCtrl", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7555 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7558 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7560 return Py_BuildValue((char *)"");
7562 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxLogGui
*)new wxLogGui();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7584 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7589 return Py_BuildValue((char *)"");
7591 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxFrame
*arg1
= (wxFrame
*) 0 ;
7594 wxString
*arg2
= 0 ;
7595 bool arg3
= (bool) True
;
7596 bool arg4
= (bool) True
;
7597 wxLogWindow
*result
;
7598 bool temp2
= False
;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7604 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 arg2
= wxString_in_helper(obj1
);
7612 if (arg2
== NULL
) SWIG_fail
;
7616 arg3
= (bool) SWIG_AsBool(obj2
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7620 arg4
= (bool) SWIG_AsBool(obj3
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7645 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7648 bool arg2
= (bool) True
;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "bShow", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 arg2
= (bool) SWIG_AsBool(obj1
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= wxPyMake_wxObject(result
);
7704 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7730 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "self",(char *) "bDoPass", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 arg2
= (bool) SWIG_AsBool(obj1
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 (arg1
)->PassMessages(arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 Py_INCREF(Py_None
); resultobj
= Py_None
;
7787 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7790 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7792 return Py_BuildValue((char *)"");
7794 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxLog
*arg1
= (wxLog
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "logger", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 result
= (wxLogChain
*)new wxLogChain(arg1
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7820 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7823 wxLog
*arg2
= (wxLog
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7827 (char *) "self",(char *) "logger", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->SetLog(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "bDoPass", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 arg2
= (bool) SWIG_AsBool(obj1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 (arg1
)->PassMessages(arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (bool)(arg1
)->IsPassingMessages();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7906 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7912 (char *) "self", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (wxLog
*)(arg1
)->GetOldLog();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7932 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7937 return Py_BuildValue((char *)"");
7939 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 unsigned long result
;
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (unsigned long)wxSysErrorCode();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7961 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 unsigned long arg1
= (unsigned long) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "nErrCode", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7972 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= wxSysErrorMsg(arg1
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7995 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxString
*arg1
= 0 ;
7998 bool temp1
= False
;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "msg", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8006 arg1
= wxString_in_helper(obj0
);
8007 if (arg1
== NULL
) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 wxLogFatalError((wxString
const &)*arg1
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxString
*arg1
= 0 ;
8035 bool temp1
= False
;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "msg", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8043 arg1
= wxString_in_helper(obj0
);
8044 if (arg1
== NULL
) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 wxLogError((wxString
const &)*arg1
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxString
*arg1
= 0 ;
8072 bool temp1
= False
;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "msg", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8080 arg1
= wxString_in_helper(obj0
);
8081 if (arg1
== NULL
) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 wxLogWarning((wxString
const &)*arg1
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxString
*arg1
= 0 ;
8109 bool temp1
= False
;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "msg", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8117 arg1
= wxString_in_helper(obj0
);
8118 if (arg1
== NULL
) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 wxLogMessage((wxString
const &)*arg1
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxString
*arg1
= 0 ;
8146 bool temp1
= False
;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "msg", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8154 arg1
= wxString_in_helper(obj0
);
8155 if (arg1
== NULL
) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxLogInfo((wxString
const &)*arg1
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 Py_INCREF(Py_None
); resultobj
= Py_None
;
8180 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxString
*arg1
= 0 ;
8183 bool temp1
= False
;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "msg", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8191 arg1
= wxString_in_helper(obj0
);
8192 if (arg1
== NULL
) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 wxLogDebug((wxString
const &)*arg1
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxString
*arg1
= 0 ;
8220 bool temp1
= False
;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "msg", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8228 arg1
= wxString_in_helper(obj0
);
8229 if (arg1
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 wxLogVerbose((wxString
const &)*arg1
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxString
*arg1
= 0 ;
8257 bool temp1
= False
;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "msg", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8265 arg1
= wxString_in_helper(obj0
);
8266 if (arg1
== NULL
) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 wxLogStatus((wxString
const &)*arg1
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 Py_INCREF(Py_None
); resultobj
= Py_None
;
8291 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxFrame
*arg1
= (wxFrame
*) 0 ;
8294 wxString
*arg2
= 0 ;
8295 bool temp2
= False
;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "pFrame",(char *) "msg", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 arg2
= wxString_in_helper(obj1
);
8307 if (arg2
== NULL
) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxString
*arg1
= 0 ;
8335 bool temp1
= False
;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "msg", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8343 arg1
= wxString_in_helper(obj0
);
8344 if (arg1
== NULL
) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 wxLogSysError((wxString
const &)*arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8370 PyObject
*resultobj
;
8371 unsigned long arg1
;
8372 wxString
*arg2
= 0 ;
8373 bool temp2
= False
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8378 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8408 PyObject
*resultobj
;
8409 wxString
*arg1
= 0 ;
8410 wxString
*arg2
= 0 ;
8411 bool temp1
= False
;
8412 bool temp2
= False
;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8416 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8418 arg1
= wxString_in_helper(obj0
);
8419 if (arg1
== NULL
) SWIG_fail
;
8423 arg2
= wxString_in_helper(obj1
);
8424 if (arg2
== NULL
) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8462 argc
= PyObject_Length(args
);
8463 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8464 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8469 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8473 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8476 return _wrap_LogTrace__SWIG_1(self
,args
);
8482 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8485 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8488 return _wrap_LogTrace__SWIG_0(self
,args
);
8493 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8498 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 unsigned long arg1
;
8501 wxString
*arg2
= 0 ;
8502 bool temp2
= False
;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8506 (char *) "level",(char *) "msg", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8510 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 arg2
= wxString_in_helper(obj1
);
8514 if (arg2
== NULL
) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 Py_INCREF(Py_None
); resultobj
= Py_None
;
8539 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxString
*arg1
= 0 ;
8542 wxString
*arg2
= 0 ;
8543 bool temp1
= False
;
8544 bool temp2
= False
;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "title",(char *) "text", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 arg1
= wxString_in_helper(obj0
);
8554 if (arg1
== NULL
) SWIG_fail
;
8558 arg2
= wxString_in_helper(obj1
);
8559 if (arg2
== NULL
) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (wxLogNull
*)new wxLogNull();
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8614 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8639 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8642 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8644 return Py_BuildValue((char *)"");
8646 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxPyLog
*)new wxPyLog();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8668 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8671 PyObject
*arg2
= (PyObject
*) 0 ;
8672 PyObject
*arg3
= (PyObject
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 PyObject
* obj2
= 0 ;
8677 (char *) "self",(char *) "self",(char *) "_class", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8699 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8704 return Py_BuildValue((char *)"");
8706 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8709 int arg2
= (int) wxSIGTERM
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "pid",(char *) "sig", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 arg1
= (int) SWIG_AsInt(obj0
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= SWIG_FromInt((int)result
);
8738 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8742 PyObject
* obj0
= 0 ;
8744 (char *) "pid", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8748 arg1
= (int) SWIG_AsInt(obj0
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (bool)wxPyProcess::Exists(arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8766 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxString
*arg1
= 0 ;
8769 int arg2
= (int) wxEXEC_ASYNC
;
8770 wxPyProcess
*result
;
8771 bool temp1
= False
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "cmd",(char *) "flags", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 arg1
= wxString_in_helper(obj0
);
8781 if (arg1
== NULL
) SWIG_fail
;
8785 arg2
= (int) SWIG_AsInt(obj1
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8810 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8813 int arg2
= (int) -1 ;
8814 wxPyProcess
*result
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8818 (char *) "parent",(char *) "id", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 arg2
= (int) SWIG_AsInt(obj1
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8844 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8847 PyObject
*arg2
= (PyObject
*) 0 ;
8848 PyObject
*arg3
= (PyObject
*) 0 ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8853 (char *) "self",(char *) "self",(char *) "_class", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "self",(char *) "pid",(char *) "status", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 arg2
= (int) SWIG_AsInt(obj1
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8892 arg3
= (int) SWIG_AsInt(obj2
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 (arg1
)->base_OnTerminate(arg2
,arg3
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "self", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (bool)(arg1
)->IsRedirected();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 Py_INCREF(Py_None
); resultobj
= Py_None
;
8986 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8989 wxInputStream
*result
;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9006 wxPyInputStream
* _ptr
= NULL
;
9009 _ptr
= new wxPyInputStream(result
);
9011 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9019 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9022 wxInputStream
*result
;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9039 wxPyInputStream
* _ptr
= NULL
;
9042 _ptr
= new wxPyInputStream(result
);
9044 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9052 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9055 wxOutputStream
*result
;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "self", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9078 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9081 PyObject
* obj0
= 0 ;
9083 (char *) "self", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->CloseOutput();
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 Py_INCREF(Py_None
); resultobj
= Py_None
;
9103 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "self", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9131 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9159 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "self", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9187 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9190 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9192 return Py_BuildValue((char *)"");
9194 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 int arg1
= (int) 0 ;
9197 int arg2
= (int) 0 ;
9198 int arg3
= (int) 0 ;
9199 wxProcessEvent
*result
;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9202 PyObject
* obj2
= 0 ;
9204 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9209 arg1
= (int) SWIG_AsInt(obj0
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 arg2
= (int) SWIG_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 arg3
= (int) SWIG_AsInt(obj2
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9234 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (int)(arg1
)->GetPid();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_FromInt((int)result
);
9260 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (int)(arg1
)->GetExitCode();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_FromInt((int)result
);
9286 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9293 (char *) "self",(char *) "m_pid", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 arg2
= (int) SWIG_AsInt(obj1
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9301 if (arg1
) (arg1
)->m_pid
= arg2
;
9303 Py_INCREF(Py_None
); resultobj
= Py_None
;
9310 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9316 (char *) "self", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 result
= (int) ((arg1
)->m_pid
);
9324 resultobj
= SWIG_FromInt((int)result
);
9331 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "m_exitcode", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 arg2
= (int) SWIG_AsInt(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9346 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 result
= (int) ((arg1
)->m_exitcode
);
9369 resultobj
= SWIG_FromInt((int)result
);
9376 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9379 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9381 return Py_BuildValue((char *)"");
9383 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxString
*arg1
= 0 ;
9386 int arg2
= (int) wxEXEC_ASYNC
;
9387 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9389 bool temp1
= False
;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9394 (char *) "command",(char *) "flags",(char *) "process", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 arg1
= wxString_in_helper(obj0
);
9400 if (arg1
== NULL
) SWIG_fail
;
9404 arg2
= (int) SWIG_AsInt(obj1
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_FromLong((long)result
);
9433 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 int arg1
= (int) wxJOYSTICK1
;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "joystick", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9444 arg1
= (int) SWIG_AsInt(obj0
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (wxJoystick
*)new wxJoystick(arg1
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9461 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 Py_INCREF(Py_None
); resultobj
= Py_None
;
9486 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (arg1
)->GetPosition();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9506 wxPoint
* resultptr
;
9507 resultptr
= new wxPoint((wxPoint
&) result
);
9508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9516 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (int)(arg1
)->GetZPosition();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_FromInt((int)result
);
9542 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (int)(arg1
)->GetButtonState();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_FromInt((int)result
);
9568 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (int)(arg1
)->GetPOVPosition();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_FromInt((int)result
);
9594 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (int)(arg1
)->GetPOVCTSPosition();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_FromInt((int)result
);
9620 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (int)(arg1
)->GetRudderPosition();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_FromInt((int)result
);
9646 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (int)(arg1
)->GetUPosition();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_FromInt((int)result
);
9672 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (int)(arg1
)->GetVPosition();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_FromInt((int)result
);
9698 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (int)(arg1
)->GetMovementThreshold();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_FromInt((int)result
);
9724 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9731 (char *) "self",(char *) "threshold", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 arg2
= (int) SWIG_AsInt(obj1
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 (arg1
)->SetMovementThreshold(arg2
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 Py_INCREF(Py_None
); resultobj
= Py_None
;
9753 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)(arg1
)->IsOk();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (int)(arg1
)->GetNumberJoysticks();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_FromInt((int)result
);
9807 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9813 (char *) "self", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (int)(arg1
)->GetManufacturerId();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_FromInt((int)result
);
9833 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (int)(arg1
)->GetProductId();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_FromInt((int)result
);
9859 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (arg1
)->GetProductName();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9891 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (int)(arg1
)->GetXMin();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_FromInt((int)result
);
9917 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (int)(arg1
)->GetYMin();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_FromInt((int)result
);
9943 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9949 (char *) "self", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (int)(arg1
)->GetZMin();
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_FromInt((int)result
);
9969 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (int)(arg1
)->GetXMax();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= SWIG_FromInt((int)result
);
9995 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (int)(arg1
)->GetYMax();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_FromInt((int)result
);
10021 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (int)(arg1
)->GetZMax();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_FromInt((int)result
);
10047 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (int)(arg1
)->GetNumberButtons();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_FromInt((int)result
);
10073 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (int)(arg1
)->GetNumberAxes();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_FromInt((int)result
);
10099 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (int)(arg1
)->GetMaxButtons();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_FromInt((int)result
);
10125 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)(arg1
)->GetMaxAxes();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_FromInt((int)result
);
10151 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (int)(arg1
)->GetPollingMin();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_FromInt((int)result
);
10177 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (int)(arg1
)->GetPollingMax();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_FromInt((int)result
);
10203 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetRudderMin();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_FromInt((int)result
);
10229 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetRudderMax();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_FromInt((int)result
);
10255 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)(arg1
)->GetUMin();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_FromInt((int)result
);
10281 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)(arg1
)->GetUMax();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_FromInt((int)result
);
10307 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetVMin();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_FromInt((int)result
);
10333 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetVMax();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_FromInt((int)result
);
10359 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (bool)(arg1
)->HasRudder();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10387 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10391 PyObject
* obj0
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (bool)(arg1
)->HasZ();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10415 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (bool)(arg1
)->HasU();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10443 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (bool)(arg1
)->HasV();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10471 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (bool)(arg1
)->HasPOV();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10499 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (bool)(arg1
)->HasPOV4Dir();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10527 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (bool)(arg1
)->HasPOVCTS();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10555 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10558 wxWindow
*arg2
= (wxWindow
*) 0 ;
10559 int arg3
= (int) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 PyObject
* obj2
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg3
= (int) SWIG_AsInt(obj2
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->ReleaseCapture();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10626 return Py_BuildValue((char *)"");
10628 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10631 wxPoint
*arg2
= (wxPoint
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "m_pos", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10643 if (arg1
) (arg1
)->m_pos
= *arg2
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10673 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "m_zPosition", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (int) SWIG_AsInt(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10688 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10690 Py_INCREF(Py_None
); resultobj
= Py_None
;
10697 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 result
= (int) ((arg1
)->m_zPosition
);
10711 resultobj
= SWIG_FromInt((int)result
);
10718 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "m_buttonChange", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 arg2
= (int) SWIG_AsInt(obj1
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10733 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10735 Py_INCREF(Py_None
); resultobj
= Py_None
;
10742 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 result
= (int) ((arg1
)->m_buttonChange
);
10756 resultobj
= SWIG_FromInt((int)result
);
10763 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "m_buttonState", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (int) SWIG_AsInt(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 result
= (int) ((arg1
)->m_buttonState
);
10801 resultobj
= SWIG_FromInt((int)result
);
10808 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self",(char *) "m_joyStick", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 arg2
= (int) SWIG_AsInt(obj1
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10823 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10825 Py_INCREF(Py_None
); resultobj
= Py_None
;
10832 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10844 result
= (int) ((arg1
)->m_joyStick
);
10846 resultobj
= SWIG_FromInt((int)result
);
10853 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10856 int arg2
= (int) 0 ;
10857 int arg3
= (int) wxJOYSTICK1
;
10858 int arg4
= (int) 0 ;
10859 wxJoystickEvent
*result
;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 PyObject
* obj2
= 0 ;
10863 PyObject
* obj3
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10870 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 arg2
= (int) SWIG_AsInt(obj1
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 arg3
= (int) SWIG_AsInt(obj2
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10882 arg4
= (int) SWIG_AsInt(obj3
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10899 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 wxPoint
* resultptr
;
10920 resultptr
= new wxPoint((wxPoint
&) result
);
10921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10929 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_FromInt((int)result
);
10955 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_FromInt((int)result
);
10981 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_FromInt((int)result
);
11007 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_FromInt((int)result
);
11033 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "stick", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 arg2
= (int) SWIG_AsInt(obj1
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->SetJoystick(arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "state", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11075 arg2
= (int) SWIG_AsInt(obj1
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 (arg1
)->SetButtonState(arg2
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 Py_INCREF(Py_None
); resultobj
= Py_None
;
11091 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "change", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 arg2
= (int) SWIG_AsInt(obj1
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->SetButtonChange(arg2
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 Py_INCREF(Py_None
); resultobj
= Py_None
;
11120 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11123 wxPoint
*arg2
= 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "pos", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "zPos", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= (int) SWIG_AsInt(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetZPosition(arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11209 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11265 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11268 int arg2
= (int) wxJOY_BUTTON_ANY
;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "but", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 arg2
= (int) SWIG_AsInt(obj1
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11299 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11302 int arg2
= (int) wxJOY_BUTTON_ANY
;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "but", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 arg2
= (int) SWIG_AsInt(obj1
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11333 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11336 int arg2
= (int) wxJOY_BUTTON_ANY
;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self",(char *) "but", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 arg2
= (int) SWIG_AsInt(obj1
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11367 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11370 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11372 return Py_BuildValue((char *)"");
11374 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11375 PyObject
*resultobj
;
11378 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (wxSound
*)new wxSound();
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11393 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11394 PyObject
*resultobj
;
11395 wxString
*arg1
= 0 ;
11396 bool arg2
= (bool) false ;
11398 bool temp1
= False
;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11402 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11404 arg1
= wxString_in_helper(obj0
);
11405 if (arg1
== NULL
) SWIG_fail
;
11409 arg2
= (bool) SWIG_AsBool(obj1
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11434 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11435 PyObject
*resultobj
;
11437 wxByte
*arg2
= (wxByte
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11442 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11443 arg1
= (int) SWIG_AsInt(obj0
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11461 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11466 argc
= PyObject_Length(args
);
11467 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11468 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11471 return _wrap_new_Sound__SWIG_0(self
,args
);
11473 if ((argc
>= 1) && (argc
<= 2)) {
11476 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11480 return _wrap_new_Sound__SWIG_1(self
,args
);
11482 _v
= SWIG_CheckBool(argv
[1]);
11484 return _wrap_new_Sound__SWIG_1(self
,args
);
11490 _v
= SWIG_CheckInt(argv
[0]);
11494 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11502 return _wrap_new_Sound__SWIG_2(self
,args
);
11507 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11512 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxSound
*arg1
= (wxSound
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 Py_INCREF(Py_None
); resultobj
= Py_None
;
11537 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11538 PyObject
*resultobj
;
11539 wxSound
*arg1
= (wxSound
*) 0 ;
11540 wxString
*arg2
= 0 ;
11541 bool arg3
= (bool) false ;
11543 bool temp2
= False
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 PyObject
* obj2
= 0 ;
11548 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11552 arg2
= wxString_in_helper(obj1
);
11553 if (arg2
== NULL
) SWIG_fail
;
11557 arg3
= (bool) SWIG_AsBool(obj2
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11585 PyObject
*resultobj
;
11586 wxSound
*arg1
= (wxSound
*) 0 ;
11588 wxByte
*arg3
= (wxByte
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 PyObject
* obj2
= 0 ;
11594 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= (int) SWIG_AsInt(obj1
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11599 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11622 argc
= PyObject_Length(args
);
11623 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11624 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11626 if ((argc
>= 2) && (argc
<= 3)) {
11630 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11639 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11643 return _wrap_Sound_Create__SWIG_0(self
,args
);
11645 _v
= SWIG_CheckBool(argv
[2]);
11647 return _wrap_Sound_Create__SWIG_0(self
,args
);
11656 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11664 _v
= SWIG_CheckInt(argv
[1]);
11668 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11676 return _wrap_Sound_Create__SWIG_1(self
,args
);
11682 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11687 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxSound
*arg1
= (wxSound
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (bool)(arg1
)->IsOk();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11715 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11716 PyObject
*resultobj
;
11717 wxSound
*arg1
= (wxSound
*) 0 ;
11718 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11720 PyObject
* obj0
= 0 ;
11721 PyObject
* obj1
= 0 ;
11723 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11746 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11747 PyObject
*resultobj
;
11748 wxString
*arg1
= 0 ;
11749 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11751 bool temp1
= False
;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11755 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11757 arg1
= wxString_in_helper(obj0
);
11758 if (arg1
== NULL
) SWIG_fail
;
11762 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 char *kwnames
[] = {
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11815 return Py_BuildValue((char *)"");
11817 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxString
*arg1
= 0 ;
11820 wxString
*arg2
= 0 ;
11821 wxString
*arg3
= 0 ;
11822 wxString
*arg4
= 0 ;
11823 wxFileTypeInfo
*result
;
11824 bool temp1
= False
;
11825 bool temp2
= False
;
11826 bool temp3
= False
;
11827 bool temp4
= False
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 PyObject
* obj2
= 0 ;
11831 PyObject
* obj3
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11838 arg1
= wxString_in_helper(obj0
);
11839 if (arg1
== NULL
) SWIG_fail
;
11843 arg2
= wxString_in_helper(obj1
);
11844 if (arg2
== NULL
) SWIG_fail
;
11848 arg3
= wxString_in_helper(obj2
);
11849 if (arg3
== NULL
) SWIG_fail
;
11853 arg4
= wxString_in_helper(obj3
);
11854 if (arg4
== NULL
) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11903 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxArrayString
*arg1
= 0 ;
11906 wxFileTypeInfo
*result
;
11907 bool temp1
= False
;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "sArray", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11915 if (! PySequence_Check(obj0
)) {
11916 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11919 arg1
= new wxArrayString
;
11921 int i
, len
=PySequence_Length(obj0
);
11922 for (i
=0; i
<len
; i
++) {
11923 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11925 PyObject
* str
= PyObject_Unicode(item
);
11927 PyObject
* str
= PyObject_Str(item
);
11929 arg1
->Add(Py2wxString(str
));
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11943 if (temp1
) delete arg1
;
11948 if (temp1
) delete arg1
;
11954 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxFileTypeInfo
*result
;
11957 char *kwnames
[] = {
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11976 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12007 wxString
*arg2
= 0 ;
12008 int arg3
= (int) 0 ;
12009 bool temp2
= False
;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 PyObject
* obj2
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12021 arg2
= wxString_in_helper(obj1
);
12022 if (arg2
== NULL
) SWIG_fail
;
12026 arg3
= (int) SWIG_AsInt(obj2
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12051 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12054 wxString
*arg2
= 0 ;
12055 bool temp2
= False
;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "shortDesc", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 arg2
= wxString_in_helper(obj1
);
12067 if (arg2
== NULL
) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12108 result
= (wxString
*) &_result_ref
;
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12118 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12127 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12143 result
= (wxString
*) &_result_ref
;
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12153 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12162 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12178 result
= (wxString
*) &_result_ref
;
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12188 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12197 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12213 result
= (wxString
*) &_result_ref
;
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12232 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12248 result
= (wxString
*) &_result_ref
;
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12258 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12267 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12270 wxArrayString
*result
;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12283 result
= (wxArrayString
*) &_result_ref
;
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= wxArrayString2PyList_helper(*result
);
12298 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_FromInt((int)result
);
12324 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12340 result
= (wxString
*) &_result_ref
;
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12350 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12359 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_FromInt((int)result
);
12385 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12388 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12390 return Py_BuildValue((char *)"");
12392 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFileTypeInfo
*arg1
= 0 ;
12395 wxFileType
*result
;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "ftInfo", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12405 if (arg1
== NULL
) {
12406 PyErr_SetString(PyExc_TypeError
,"null reference");
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12423 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxFileType
*arg1
= (wxFileType
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 Py_INCREF(Py_None
); resultobj
= Py_None
;
12448 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileType
*arg1
= (wxFileType
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= result
;
12474 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFileType
*arg1
= (wxFileType
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
;
12500 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFileType
*arg1
= (wxFileType
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= result
;
12526 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFileType
*arg1
= (wxFileType
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12552 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxFileType
*arg1
= (wxFileType
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= result
;
12578 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxFileType
*arg1
= (wxFileType
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= result
;
12604 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxFileType
*arg1
= (wxFileType
*) 0 ;
12607 wxString
*arg2
= 0 ;
12608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12611 bool temp2
= False
;
12612 bool temp3
= False
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12630 arg3
= wxString_in_helper(obj2
);
12631 if (arg3
== NULL
) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= result
;
12665 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxFileType
*arg1
= (wxFileType
*) 0 ;
12668 wxString
*arg2
= 0 ;
12669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12672 bool temp2
= False
;
12673 bool temp3
= False
;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 PyObject
* obj2
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 arg2
= wxString_in_helper(obj1
);
12686 if (arg2
== NULL
) SWIG_fail
;
12691 arg3
= wxString_in_helper(obj2
);
12692 if (arg3
== NULL
) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= result
;
12726 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxFileType
*arg1
= (wxFileType
*) 0 ;
12729 wxString
*arg2
= 0 ;
12730 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12731 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12733 bool temp2
= False
;
12734 bool temp3
= False
;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12746 arg2
= wxString_in_helper(obj1
);
12747 if (arg2
== NULL
) SWIG_fail
;
12752 arg3
= wxString_in_helper(obj2
);
12753 if (arg3
== NULL
) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= result
;
12787 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxFileType
*arg1
= (wxFileType
*) 0 ;
12790 wxString
*arg2
= 0 ;
12791 wxString
*arg3
= 0 ;
12792 bool arg4
= (bool) True
;
12794 bool temp2
= False
;
12795 bool temp3
= False
;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 PyObject
* obj2
= 0 ;
12799 PyObject
* obj3
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 arg2
= wxString_in_helper(obj1
);
12809 if (arg2
== NULL
) SWIG_fail
;
12813 arg3
= wxString_in_helper(obj2
);
12814 if (arg3
== NULL
) SWIG_fail
;
12818 arg4
= (bool) SWIG_AsBool(obj3
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12853 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxFileType
*arg1
= (wxFileType
*) 0 ;
12856 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12857 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12858 int arg3
= (int) 0 ;
12860 bool temp2
= False
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 PyObject
* obj2
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "cmd",(char *) "index", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12873 arg2
= wxString_in_helper(obj1
);
12874 if (arg2
== NULL
) SWIG_fail
;
12879 arg3
= (int) SWIG_AsInt(obj2
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12906 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxFileType
*arg1
= (wxFileType
*) 0 ;
12910 PyObject
* obj0
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "self", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (bool)(arg1
)->Unassociate();
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12934 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxString
*arg1
= 0 ;
12937 wxString
*arg2
= 0 ;
12938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12941 bool temp1
= False
;
12942 bool temp2
= False
;
12943 bool temp3
= False
;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 PyObject
* obj2
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12953 arg1
= wxString_in_helper(obj0
);
12954 if (arg1
== NULL
) SWIG_fail
;
12958 arg2
= wxString_in_helper(obj1
);
12959 if (arg2
== NULL
) SWIG_fail
;
12964 arg3
= wxString_in_helper(obj2
);
12965 if (arg3
== NULL
) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13013 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13016 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13018 return Py_BuildValue((char *)"");
13020 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13021 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13026 static PyObject
*_wrap_TheMimeTypesManager_get() {
13029 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13034 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxString
*arg1
= 0 ;
13037 wxString
*arg2
= 0 ;
13039 bool temp1
= False
;
13040 bool temp2
= False
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "mimeType",(char *) "wildcard", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13049 arg1
= wxString_in_helper(obj0
);
13050 if (arg1
== NULL
) SWIG_fail
;
13054 arg2
= wxString_in_helper(obj1
);
13055 if (arg2
== NULL
) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13090 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13091 PyObject
*resultobj
;
13092 wxMimeTypesManager
*result
;
13093 char *kwnames
[] = {
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13112 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13115 int arg2
= (int) wxMAILCAP_ALL
;
13116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13118 bool temp3
= False
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 PyObject
* obj2
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 arg2
= (int) SWIG_AsInt(obj1
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13135 arg3
= wxString_in_helper(obj2
);
13136 if (arg3
== NULL
) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13162 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 (arg1
)->ClearData();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 Py_INCREF(Py_None
); resultobj
= Py_None
;
13187 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13190 wxString
*arg2
= 0 ;
13191 wxFileType
*result
;
13192 bool temp2
= False
;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "ext", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 arg2
= wxString_in_helper(obj1
);
13204 if (arg2
== NULL
) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13229 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13232 wxString
*arg2
= 0 ;
13233 wxFileType
*result
;
13234 bool temp2
= False
;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self",(char *) "mimeType", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13245 arg2
= wxString_in_helper(obj1
);
13246 if (arg2
== NULL
) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13271 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13274 wxString
*arg2
= 0 ;
13275 bool arg3
= (bool) False
;
13277 bool temp2
= False
;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 PyObject
* obj2
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 arg2
= wxString_in_helper(obj1
);
13290 if (arg2
== NULL
) SWIG_fail
;
13294 arg3
= (bool) SWIG_AsBool(obj2
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13321 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
;
13323 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13324 wxString
*arg2
= 0 ;
13326 bool temp2
= False
;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "filename", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 arg2
= wxString_in_helper(obj1
);
13338 if (arg2
== NULL
) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13365 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= result
;
13391 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13394 wxFileTypeInfo
*arg2
= 0 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "ft", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13407 if (arg2
== NULL
) {
13408 PyErr_SetString(PyExc_TypeError
,"null reference");
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13428 wxFileTypeInfo
*arg2
= 0 ;
13429 wxFileType
*result
;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "ftInfo", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13442 if (arg2
== NULL
) {
13443 PyErr_SetString(PyExc_TypeError
,"null reference");
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13460 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13463 wxFileType
*arg2
= (wxFileType
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 PyObject
* obj1
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self",(char *) "ft", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (bool)(arg1
)->Unassociate(arg2
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13492 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 Py_INCREF(Py_None
); resultobj
= Py_None
;
13517 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13520 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13522 return Py_BuildValue((char *)"");
13524 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13525 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13530 static PyObject
*_wrap_ART_TOOLBAR_get() {
13535 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13537 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13544 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13545 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13550 static PyObject
*_wrap_ART_MENU_get() {
13555 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13557 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13564 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13565 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13570 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13575 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13577 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13584 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13585 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13590 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13595 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13597 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13604 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13605 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13610 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13615 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13617 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13624 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13625 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13630 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13635 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13637 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13644 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13645 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13650 static PyObject
*_wrap_ART_OTHER_get() {
13655 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13657 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13664 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13665 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13670 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13675 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13677 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13684 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13685 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13690 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13695 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13697 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13704 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13705 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13710 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13715 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13717 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13724 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13725 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13730 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13735 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13737 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13744 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13745 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13750 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13755 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13757 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13764 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13765 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13770 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13775 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13777 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13784 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13785 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13790 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13795 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13797 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13804 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13805 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13810 static PyObject
*_wrap_ART_GO_BACK_get() {
13815 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13817 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13824 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13825 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13830 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13835 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13837 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13844 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13845 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13850 static PyObject
*_wrap_ART_GO_UP_get() {
13855 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13857 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13864 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13865 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13870 static PyObject
*_wrap_ART_GO_DOWN_get() {
13875 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13877 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13884 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13885 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13890 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13895 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13897 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13904 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13905 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13910 static PyObject
*_wrap_ART_GO_HOME_get() {
13915 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13917 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13924 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13925 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13930 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13935 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13937 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13944 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13945 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13950 static PyObject
*_wrap_ART_PRINT_get() {
13955 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13957 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13964 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13965 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13970 static PyObject
*_wrap_ART_HELP_get() {
13975 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13977 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13984 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13985 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13990 static PyObject
*_wrap_ART_TIP_get() {
13995 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13997 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14004 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14005 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14010 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14015 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14017 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14024 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14025 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14030 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14035 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14037 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14044 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14045 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14050 static PyObject
*_wrap_ART_NEW_DIR_get() {
14055 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14057 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14064 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14065 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14070 static PyObject
*_wrap_ART_FOLDER_get() {
14075 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14077 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14084 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14085 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14090 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14095 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14097 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14104 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14105 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14110 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14115 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14117 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14124 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14125 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14130 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14135 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14137 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14144 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14145 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14150 static PyObject
*_wrap_ART_TICK_MARK_get() {
14155 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14157 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14164 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14165 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14170 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14175 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14177 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14184 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14185 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14190 static PyObject
*_wrap_ART_ERROR_get() {
14195 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14197 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14204 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14205 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14210 static PyObject
*_wrap_ART_QUESTION_get() {
14215 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14217 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14224 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14225 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14230 static PyObject
*_wrap_ART_WARNING_get() {
14235 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14237 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14244 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14245 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14250 static PyObject
*_wrap_ART_INFORMATION_get() {
14255 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14257 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14264 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14265 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14270 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14275 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14277 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14284 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxPyArtProvider
*result
;
14287 char *kwnames
[] = {
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14306 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14309 PyObject
*arg2
= (PyObject
*) 0 ;
14310 PyObject
*arg3
= (PyObject
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 PyObject
* obj2
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self",(char *) "self",(char *) "_class", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 Py_INCREF(Py_None
); resultobj
= Py_None
;
14337 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "provider", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 wxPyArtProvider::PushProvider(arg1
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14365 char *kwnames
[] = {
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)wxPyArtProvider::PopProvider();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14386 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "provider", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxString
*arg1
= 0 ;
14417 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14418 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14419 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14420 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14422 bool temp1
= False
;
14423 bool temp2
= False
;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 PyObject
* obj2
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "id",(char *) "client",(char *) "size", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14434 arg1
= wxString_in_helper(obj0
);
14435 if (arg1
== NULL
) SWIG_fail
;
14440 arg2
= wxString_in_helper(obj1
);
14441 if (arg2
== NULL
) SWIG_fail
;
14448 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 wxBitmap
* resultptr
;
14460 resultptr
= new wxBitmap((wxBitmap
&) result
);
14461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14485 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxString
*arg1
= 0 ;
14488 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14489 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14490 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14491 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14493 bool temp1
= False
;
14494 bool temp2
= False
;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 PyObject
* obj2
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "id",(char *) "client",(char *) "size", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14505 arg1
= wxString_in_helper(obj0
);
14506 if (arg1
== NULL
) SWIG_fail
;
14511 arg2
= wxString_in_helper(obj1
);
14512 if (arg2
== NULL
) SWIG_fail
;
14519 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 wxIcon
* resultptr
;
14531 resultptr
= new wxIcon((wxIcon
&) result
);
14532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14556 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 wxPyArtProvider_Destroy(arg1
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14584 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14586 return Py_BuildValue((char *)"");
14588 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14616 wxConfigBase
*result
;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "config", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14639 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 bool arg1
= (bool) True
;
14642 wxConfigBase
*result
;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "createOnDemand", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14650 arg1
= (bool) SWIG_AsBool(obj0
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14667 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxConfigBase
*result
;
14670 char *kwnames
[] = {
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= (wxConfigBase
*)wxConfigBase::Create();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14689 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 char *kwnames
[] = {
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 wxConfigBase::DontCreateOnDemand();
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 Py_INCREF(Py_None
); resultobj
= Py_None
;
14710 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14713 wxString
*arg2
= 0 ;
14714 bool temp2
= False
;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self",(char *) "path", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14725 arg2
= wxString_in_helper(obj1
);
14726 if (arg2
== NULL
) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 (arg1
)->SetPath((wxString
const &)*arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 Py_INCREF(Py_None
); resultobj
= Py_None
;
14751 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14767 result
= (wxString
*) &_result_ref
;
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14777 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14786 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
;
14812 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self",(char *) "index", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 arg2
= (long) SWIG_AsLong(obj1
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= result
;
14842 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
;
14868 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self",(char *) "index", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 arg2
= (long) SWIG_AsLong(obj1
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= result
;
14898 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14901 bool arg2
= (bool) False
;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self",(char *) "recursive", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 arg2
= (bool) SWIG_AsBool(obj1
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14930 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14933 bool arg2
= (bool) False
;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "recursive", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 arg2
= (bool) SWIG_AsBool(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14962 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14965 wxString
*arg2
= 0 ;
14967 bool temp2
= False
;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self",(char *) "name", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 arg2
= wxString_in_helper(obj1
);
14979 if (arg2
== NULL
) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15006 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15009 wxString
*arg2
= 0 ;
15011 bool temp2
= False
;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "name", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 arg2
= wxString_in_helper(obj1
);
15023 if (arg2
== NULL
) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15050 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15053 wxString
*arg2
= 0 ;
15055 bool temp2
= False
;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self",(char *) "name", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 arg2
= wxString_in_helper(obj1
);
15067 if (arg2
== NULL
) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15097 wxString
*arg2
= 0 ;
15099 bool temp2
= False
;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "name", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 arg2
= wxString_in_helper(obj1
);
15111 if (arg2
== NULL
) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_FromInt((int)result
);
15136 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15139 wxString
*arg2
= 0 ;
15140 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15141 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15143 bool temp2
= False
;
15144 bool temp3
= False
;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 arg2
= wxString_in_helper(obj1
);
15157 if (arg2
== NULL
) SWIG_fail
;
15162 arg3
= wxString_in_helper(obj2
);
15163 if (arg3
== NULL
) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15203 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15206 wxString
*arg2
= 0 ;
15207 long arg3
= (long) 0 ;
15209 bool temp2
= False
;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 PyObject
* obj2
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 arg2
= wxString_in_helper(obj1
);
15222 if (arg2
== NULL
) SWIG_fail
;
15226 arg3
= (long) SWIG_AsLong(obj2
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_FromLong((long)result
);
15251 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15254 wxString
*arg2
= 0 ;
15255 double arg3
= (double) 0.0 ;
15257 bool temp2
= False
;
15258 PyObject
* obj0
= 0 ;
15259 PyObject
* obj1
= 0 ;
15260 PyObject
* obj2
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15269 arg2
= wxString_in_helper(obj1
);
15270 if (arg2
== NULL
) SWIG_fail
;
15274 arg3
= (double) SWIG_AsDouble(obj2
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_FromDouble((double)result
);
15299 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15302 wxString
*arg2
= 0 ;
15303 bool arg3
= (bool) False
;
15305 bool temp2
= False
;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 PyObject
* obj2
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 arg2
= wxString_in_helper(obj1
);
15318 if (arg2
== NULL
) SWIG_fail
;
15322 arg3
= (bool) SWIG_AsBool(obj2
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15349 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15352 wxString
*arg2
= 0 ;
15353 wxString
*arg3
= 0 ;
15355 bool temp2
= False
;
15356 bool temp3
= False
;
15357 PyObject
* obj0
= 0 ;
15358 PyObject
* obj1
= 0 ;
15359 PyObject
* obj2
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "key",(char *) "value", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15368 arg2
= wxString_in_helper(obj1
);
15369 if (arg2
== NULL
) SWIG_fail
;
15373 arg3
= wxString_in_helper(obj2
);
15374 if (arg3
== NULL
) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15409 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15412 wxString
*arg2
= 0 ;
15415 bool temp2
= False
;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 PyObject
* obj2
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self",(char *) "key",(char *) "value", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15427 arg2
= wxString_in_helper(obj1
);
15428 if (arg2
== NULL
) SWIG_fail
;
15431 arg3
= (long) SWIG_AsLong(obj2
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15457 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15460 wxString
*arg2
= 0 ;
15463 bool temp2
= False
;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "key",(char *) "value", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 arg2
= wxString_in_helper(obj1
);
15476 if (arg2
== NULL
) SWIG_fail
;
15479 arg3
= (double) SWIG_AsDouble(obj2
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15508 wxString
*arg2
= 0 ;
15511 bool temp2
= False
;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self",(char *) "key",(char *) "value", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15523 arg2
= wxString_in_helper(obj1
);
15524 if (arg2
== NULL
) SWIG_fail
;
15527 arg3
= (bool) SWIG_AsBool(obj2
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15553 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15556 bool arg2
= (bool) False
;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "currentOnly", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 arg2
= (bool) SWIG_AsBool(obj1
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (bool)(arg1
)->Flush(arg2
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15587 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15590 wxString
*arg2
= 0 ;
15591 wxString
*arg3
= 0 ;
15593 bool temp2
= False
;
15594 bool temp3
= False
;
15595 PyObject
* obj0
= 0 ;
15596 PyObject
* obj1
= 0 ;
15597 PyObject
* obj2
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15606 arg2
= wxString_in_helper(obj1
);
15607 if (arg2
== NULL
) SWIG_fail
;
15611 arg3
= wxString_in_helper(obj2
);
15612 if (arg3
== NULL
) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15650 wxString
*arg2
= 0 ;
15651 wxString
*arg3
= 0 ;
15653 bool temp2
= False
;
15654 bool temp3
= False
;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 PyObject
* obj2
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 arg2
= wxString_in_helper(obj1
);
15667 if (arg2
== NULL
) SWIG_fail
;
15671 arg3
= wxString_in_helper(obj2
);
15672 if (arg3
== NULL
) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15707 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15710 wxString
*arg2
= 0 ;
15711 bool arg3
= (bool) True
;
15713 bool temp2
= False
;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 PyObject
* obj2
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15725 arg2
= wxString_in_helper(obj1
);
15726 if (arg2
== NULL
) SWIG_fail
;
15730 arg3
= (bool) SWIG_AsBool(obj2
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15757 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15760 wxString
*arg2
= 0 ;
15762 bool temp2
= False
;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self",(char *) "key", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 arg2
= wxString_in_helper(obj1
);
15774 if (arg2
== NULL
) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (bool)(arg1
)->DeleteAll();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15832 bool arg2
= (bool) True
;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self",(char *) "doIt", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15843 arg2
= (bool) SWIG_AsBool(obj1
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 (arg1
)->SetExpandEnvVars(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15888 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15891 bool arg2
= (bool) True
;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "doIt", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15902 arg2
= (bool) SWIG_AsBool(obj1
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 (arg1
)->SetRecordDefaults(arg2
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 Py_INCREF(Py_None
); resultobj
= Py_None
;
15919 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15947 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15950 wxString
*arg2
= 0 ;
15952 bool temp2
= False
;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self",(char *) "str", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 arg2
= wxString_in_helper(obj1
);
15964 if (arg2
== NULL
) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15995 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16027 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16059 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16062 wxString
*arg2
= 0 ;
16063 bool temp2
= False
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "appName", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 arg2
= wxString_in_helper(obj1
);
16075 if (arg2
== NULL
) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->SetAppName((wxString
const &)*arg2
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16103 wxString
*arg2
= 0 ;
16104 bool temp2
= False
;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "vendorName", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16115 arg2
= wxString_in_helper(obj1
);
16116 if (arg2
== NULL
) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 Py_INCREF(Py_None
); resultobj
= Py_None
;
16141 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self",(char *) "style", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 arg2
= (long) SWIG_AsLong(obj1
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 (arg1
)->SetStyle(arg2
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16170 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_FromLong((long)result
);
16196 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16199 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16201 return Py_BuildValue((char *)"");
16203 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16206 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16207 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16208 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16211 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16212 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16213 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16215 bool temp1
= False
;
16216 bool temp2
= False
;
16217 bool temp3
= False
;
16218 bool temp4
= False
;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 PyObject
* obj2
= 0 ;
16222 PyObject
* obj3
= 0 ;
16223 PyObject
* obj4
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16231 arg1
= wxString_in_helper(obj0
);
16232 if (arg1
== NULL
) SWIG_fail
;
16238 arg2
= wxString_in_helper(obj1
);
16239 if (arg2
== NULL
) SWIG_fail
;
16245 arg3
= wxString_in_helper(obj2
);
16246 if (arg3
== NULL
) SWIG_fail
;
16252 arg4
= wxString_in_helper(obj3
);
16253 if (arg4
== NULL
) SWIG_fail
;
16258 arg5
= (long) SWIG_AsLong(obj4
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16307 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxConfig
*arg1
= (wxConfig
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 Py_INCREF(Py_None
); resultobj
= Py_None
;
16332 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16335 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16337 return Py_BuildValue((char *)"");
16339 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16342 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16343 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16344 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16349 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16350 wxFileConfig
*result
;
16351 bool temp1
= False
;
16352 bool temp2
= False
;
16353 bool temp3
= False
;
16354 bool temp4
= False
;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 PyObject
* obj3
= 0 ;
16359 PyObject
* obj4
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16367 arg1
= wxString_in_helper(obj0
);
16368 if (arg1
== NULL
) SWIG_fail
;
16374 arg2
= wxString_in_helper(obj1
);
16375 if (arg2
== NULL
) SWIG_fail
;
16381 arg3
= wxString_in_helper(obj2
);
16382 if (arg3
== NULL
) SWIG_fail
;
16388 arg4
= wxString_in_helper(obj3
);
16389 if (arg4
== NULL
) SWIG_fail
;
16394 arg5
= (long) SWIG_AsLong(obj4
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16443 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 Py_INCREF(Py_None
); resultobj
= Py_None
;
16468 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16471 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16473 return Py_BuildValue((char *)"");
16475 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16478 wxString
*arg2
= 0 ;
16479 wxConfigPathChanger
*result
;
16480 bool temp2
= False
;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "config",(char *) "entry", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 arg2
= wxString_in_helper(obj1
);
16492 if (arg2
== NULL
) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16517 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16558 result
= (wxString
*) &_result_ref
;
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16577 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16580 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16582 return Py_BuildValue((char *)"");
16584 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxString
*arg1
= 0 ;
16588 bool temp1
= False
;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "sz", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16596 arg1
= wxString_in_helper(obj0
);
16597 if (arg1
== NULL
) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16628 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16629 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16634 static PyObject
*_wrap_DateFormatStr_get() {
16639 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16641 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16648 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16649 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16654 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16659 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16661 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16668 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "country", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16677 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 Py_INCREF(Py_None
); resultobj
= Py_None
;
16693 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16696 char *kwnames
[] = {
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (int)wxDateTime::GetCountry();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= SWIG_FromInt((int)result
);
16715 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 int arg1
= (int) wxDateTime::Country_Default
;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "country", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16726 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 int arg1
= (int) wxDateTime::Gregorian
;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "cal", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16756 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_FromInt((int)result
);
16773 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "year", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16783 arg1
= (int) SWIG_AsInt(obj0
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_FromInt((int)result
);
16799 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 int arg1
= (int) wxDateTime::Gregorian
;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "cal", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16810 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_FromInt((int)result
);
16827 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 int arg1
= (int) wxDateTime::Inv_Year
;
16830 int arg2
= (int) wxDateTime::Gregorian
;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "year",(char *) "cal", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16840 arg1
= (int) SWIG_AsInt(obj0
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16863 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 int arg1
= (int) wxDateTime::Inv_Year
;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "year", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16874 arg1
= (int) SWIG_AsInt(obj0
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 result
= (int)wxDateTime::GetCentury(arg1
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_FromInt((int)result
);
16891 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16894 int arg2
= (int) wxDateTime::Gregorian
;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "year",(char *) "cal", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16903 arg1
= (int) SWIG_AsInt(obj0
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_FromInt((int)result
);
16923 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16926 int arg2
= (int) wxDateTime::Inv_Year
;
16927 int arg3
= (int) wxDateTime::Gregorian
;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "month",(char *) "year",(char *) "cal", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16937 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 arg2
= (int) SWIG_AsInt(obj1
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16944 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_FromInt((int)result
);
16961 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16964 int arg2
= (int) wxDateTime::Name_Full
;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "month",(char *) "flags", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16999 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17002 int arg2
= (int) wxDateTime::Name_Full
;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "weekday",(char *) "flags", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17011 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17037 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxString
*arg1
= (wxString
*) 0 ;
17040 wxString
*arg2
= (wxString
*) 0 ;
17041 bool temp1
= False
;
17042 bool temp2
= False
;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 arg1
= wxString_in_helper(obj0
);
17052 if (arg1
== NULL
) SWIG_fail
;
17056 arg2
= wxString_in_helper(obj1
);
17057 if (arg2
== NULL
) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 Py_INCREF(Py_None
); resultobj
= Py_None
;
17090 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 int arg1
= (int) wxDateTime::Inv_Year
;
17093 int arg2
= (int) wxDateTime::Country_Default
;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "year",(char *) "country", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17103 arg1
= (int) SWIG_AsInt(obj0
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17107 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17126 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 int arg1
= (int) wxDateTime::Inv_Year
;
17129 int arg2
= (int) wxDateTime::Country_Default
;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "year",(char *) "country", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 arg1
= (int) SWIG_AsInt(obj0
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 wxDateTime
* resultptr
;
17155 resultptr
= new wxDateTime((wxDateTime
&) result
);
17156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17164 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 int arg1
= (int) wxDateTime::Inv_Year
;
17167 int arg2
= (int) wxDateTime::Country_Default
;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "year",(char *) "country", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17177 arg1
= (int) SWIG_AsInt(obj0
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 wxDateTime
* resultptr
;
17193 resultptr
= new wxDateTime((wxDateTime
&) result
);
17194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17202 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17205 char *kwnames
[] = {
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= wxDateTime::Now();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 wxDateTime
* resultptr
;
17219 resultptr
= new wxDateTime((wxDateTime
&) result
);
17220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17228 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17231 char *kwnames
[] = {
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= wxDateTime::UNow();
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 wxDateTime
* resultptr
;
17245 resultptr
= new wxDateTime((wxDateTime
&) result
);
17246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17254 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17257 char *kwnames
[] = {
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= wxDateTime::Today();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 wxDateTime
* resultptr
;
17271 resultptr
= new wxDateTime((wxDateTime
&) result
);
17272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17280 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxDateTime
*result
;
17283 char *kwnames
[] = {
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxDateTime
*)new wxDateTime();
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17302 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17305 wxDateTime
*result
;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "timet", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17312 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (wxDateTime
*)new wxDateTime(arg1
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17328 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17331 wxDateTime
*result
;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "jdn", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17338 arg1
= (double) SWIG_AsDouble(obj0
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxDateTime
*)new wxDateTime(arg1
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17354 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17357 int arg2
= (int) 0 ;
17358 int arg3
= (int) 0 ;
17359 int arg4
= (int) 0 ;
17360 wxDateTime
*result
;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 PyObject
* obj2
= 0 ;
17364 PyObject
* obj3
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17370 arg1
= (int) SWIG_AsInt(obj0
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 arg2
= (int) SWIG_AsInt(obj1
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17377 arg3
= (int) SWIG_AsInt(obj2
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 arg4
= (int) SWIG_AsInt(obj3
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17398 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17401 int arg2
= (int) wxDateTime::Inv_Month
;
17402 int arg3
= (int) wxDateTime::Inv_Year
;
17403 int arg4
= (int) 0 ;
17404 int arg5
= (int) 0 ;
17405 int arg6
= (int) 0 ;
17406 int arg7
= (int) 0 ;
17407 wxDateTime
*result
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 PyObject
* obj3
= 0 ;
17412 PyObject
* obj4
= 0 ;
17413 PyObject
* obj5
= 0 ;
17414 PyObject
* obj6
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17420 arg1
= (int) SWIG_AsInt(obj0
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 arg3
= (int) SWIG_AsInt(obj2
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 arg4
= (int) SWIG_AsInt(obj3
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 arg5
= (int) SWIG_AsInt(obj4
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 arg6
= (int) SWIG_AsInt(obj5
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 arg7
= (int) SWIG_AsInt(obj6
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17460 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 Py_INCREF(Py_None
); resultobj
= Py_None
;
17485 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17488 wxDateTime
*result
;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17501 result
= (wxDateTime
*) &_result_ref
;
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17514 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17518 wxDateTime
*result
;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "timet", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17534 result
= (wxDateTime
*) &_result_ref
;
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17547 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17551 wxDateTime
*result
;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self",(char *) "jdn", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17561 arg2
= (double) SWIG_AsDouble(obj1
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17567 result
= (wxDateTime
*) &_result_ref
;
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17580 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17584 int arg3
= (int) 0 ;
17585 int arg4
= (int) 0 ;
17586 int arg5
= (int) 0 ;
17587 wxDateTime
*result
;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 PyObject
* obj2
= 0 ;
17591 PyObject
* obj3
= 0 ;
17592 PyObject
* obj4
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 arg2
= (int) SWIG_AsInt(obj1
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 arg3
= (int) SWIG_AsInt(obj2
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 arg4
= (int) SWIG_AsInt(obj3
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 arg5
= (int) SWIG_AsInt(obj4
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17618 result
= (wxDateTime
*) &_result_ref
;
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17631 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17635 int arg3
= (int) wxDateTime::Inv_Month
;
17636 int arg4
= (int) wxDateTime::Inv_Year
;
17637 int arg5
= (int) 0 ;
17638 int arg6
= (int) 0 ;
17639 int arg7
= (int) 0 ;
17640 int arg8
= (int) 0 ;
17641 wxDateTime
*result
;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 PyObject
* obj2
= 0 ;
17645 PyObject
* obj3
= 0 ;
17646 PyObject
* obj4
= 0 ;
17647 PyObject
* obj5
= 0 ;
17648 PyObject
* obj6
= 0 ;
17649 PyObject
* obj7
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 arg2
= (int) SWIG_AsInt(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 arg4
= (int) SWIG_AsInt(obj3
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 arg5
= (int) SWIG_AsInt(obj4
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 arg6
= (int) SWIG_AsInt(obj5
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 arg7
= (int) SWIG_AsInt(obj6
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 arg8
= (int) SWIG_AsInt(obj7
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17687 result
= (wxDateTime
*) &_result_ref
;
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17700 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17703 wxDateTime
*result
;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17716 result
= (wxDateTime
*) &_result_ref
;
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17729 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17733 wxDateTime
*result
;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "year", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 arg2
= (int) SWIG_AsInt(obj1
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17749 result
= (wxDateTime
*) &_result_ref
;
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17762 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17766 wxDateTime
*result
;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self",(char *) "month", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17782 result
= (wxDateTime
*) &_result_ref
;
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17795 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17799 wxDateTime
*result
;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self",(char *) "day", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17809 arg2
= (int) SWIG_AsInt(obj1
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17815 result
= (wxDateTime
*) &_result_ref
;
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17828 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17832 wxDateTime
*result
;
17833 PyObject
* obj0
= 0 ;
17834 PyObject
* obj1
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self",(char *) "hour", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17842 arg2
= (int) SWIG_AsInt(obj1
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17848 result
= (wxDateTime
*) &_result_ref
;
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17861 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17865 wxDateTime
*result
;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self",(char *) "minute", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 arg2
= (int) SWIG_AsInt(obj1
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17881 result
= (wxDateTime
*) &_result_ref
;
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17894 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17898 wxDateTime
*result
;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "second", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 arg2
= (int) SWIG_AsInt(obj1
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17914 result
= (wxDateTime
*) &_result_ref
;
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17927 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17931 wxDateTime
*result
;
17932 PyObject
* obj0
= 0 ;
17933 PyObject
* obj1
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self",(char *) "millisecond", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 arg2
= (int) SWIG_AsInt(obj1
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17947 result
= (wxDateTime
*) &_result_ref
;
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17960 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17961 PyObject
*resultobj
;
17962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17964 int arg3
= (int) wxDateTime::Monday_First
;
17965 wxDateTime
*result
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 PyObject
* obj2
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17986 result
= (wxDateTime
*) &_result_ref
;
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17999 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18003 int arg3
= (int) wxDateTime::Monday_First
;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 PyObject
* obj2
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 wxDateTime
* resultptr
;
18030 resultptr
= new wxDateTime((wxDateTime
&) result
);
18031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18039 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18043 wxDateTime
*result
;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self",(char *) "weekday", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18053 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18059 result
= (wxDateTime
*) &_result_ref
;
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18072 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self",(char *) "weekday", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 wxDateTime
* resultptr
;
18097 resultptr
= new wxDateTime((wxDateTime
&) result
);
18098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18106 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18110 wxDateTime
*result
;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self",(char *) "weekday", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18126 result
= (wxDateTime
*) &_result_ref
;
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18139 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 PyObject
* obj1
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self",(char *) "weekday", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18163 wxDateTime
* resultptr
;
18164 resultptr
= new wxDateTime((wxDateTime
&) result
);
18165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18173 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18177 int arg3
= (int) 1 ;
18178 int arg4
= (int) wxDateTime::Inv_Month
;
18179 int arg5
= (int) wxDateTime::Inv_Year
;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 PyObject
* obj2
= 0 ;
18184 PyObject
* obj3
= 0 ;
18185 PyObject
* obj4
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 arg3
= (int) SWIG_AsInt(obj2
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18204 arg5
= (int) SWIG_AsInt(obj4
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18227 int arg3
= (int) wxDateTime::Inv_Month
;
18228 int arg4
= (int) wxDateTime::Inv_Year
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 PyObject
* obj2
= 0 ;
18233 PyObject
* obj3
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18241 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 arg4
= (int) SWIG_AsInt(obj3
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18267 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18271 int arg3
= (int) wxDateTime::Inv_Month
;
18272 int arg4
= (int) wxDateTime::Inv_Year
;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 PyObject
* obj2
= 0 ;
18277 PyObject
* obj3
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18292 arg4
= (int) SWIG_AsInt(obj3
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 wxDateTime
* resultptr
;
18304 resultptr
= new wxDateTime((wxDateTime
&) result
);
18305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18313 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18317 int arg3
= (int) wxDateTime::Mon
;
18318 int arg4
= (int) wxDateTime::Monday_First
;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 PyObject
* obj2
= 0 ;
18323 PyObject
* obj3
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 arg2
= (int) SWIG_AsInt(obj1
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18357 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18361 int arg3
= (int) wxDateTime::Mon
;
18362 int arg4
= (int) wxDateTime::Monday_First
;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 PyObject
* obj2
= 0 ;
18367 PyObject
* obj3
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 arg2
= (int) SWIG_AsInt(obj1
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 wxDateTime
* resultptr
;
18394 resultptr
= new wxDateTime((wxDateTime
&) result
);
18395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18403 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18406 int arg2
= (int) wxDateTime::Inv_Month
;
18407 int arg3
= (int) wxDateTime::Inv_Year
;
18408 wxDateTime
*result
;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self",(char *) "month",(char *) "year", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 arg3
= (int) SWIG_AsInt(obj2
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18431 result
= (wxDateTime
*) &_result_ref
;
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18444 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18447 int arg2
= (int) wxDateTime::Inv_Month
;
18448 int arg3
= (int) wxDateTime::Inv_Year
;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 PyObject
* obj2
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "month",(char *) "year", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 arg3
= (int) SWIG_AsInt(obj2
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 wxDateTime
* resultptr
;
18477 resultptr
= new wxDateTime((wxDateTime
&) result
);
18478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18486 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18490 wxDateTime
*result
;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self",(char *) "yday", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 arg2
= (int) SWIG_AsInt(obj1
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18506 result
= (wxDateTime
*) &_result_ref
;
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18519 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self",(char *) "yday", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 arg2
= (int) SWIG_AsInt(obj1
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (arg1
)->GetYearDay(arg2
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 wxDateTime
* resultptr
;
18544 resultptr
= new wxDateTime((wxDateTime
&) result
);
18545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18553 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (double)(arg1
)->GetJulianDayNumber();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_FromDouble((double)result
);
18579 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (double)(arg1
)->GetJDN();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_FromDouble((double)result
);
18605 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_FromDouble((double)result
);
18631 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (double)(arg1
)->GetMJD();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_FromDouble((double)result
);
18657 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (double)(arg1
)->GetRataDie();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_FromDouble((double)result
);
18683 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18686 wxDateTime::TimeZone
*arg2
= 0 ;
18687 bool arg3
= (bool) False
;
18689 bool temp2
= False
;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 PyObject
* obj2
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18705 arg3
= (bool) SWIG_AsBool(obj2
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 wxDateTime
* resultptr
;
18717 resultptr
= new wxDateTime((wxDateTime
&) result
);
18718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18721 if (temp2
) delete arg2
;
18726 if (temp2
) delete arg2
;
18732 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18735 wxDateTime::TimeZone
*arg2
= 0 ;
18736 bool arg3
= (bool) False
;
18737 wxDateTime
*result
;
18738 bool temp2
= False
;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18754 arg3
= (bool) SWIG_AsBool(obj2
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18761 result
= (wxDateTime
*) &_result_ref
;
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18769 if (temp2
) delete arg2
;
18774 if (temp2
) delete arg2
;
18780 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18783 bool arg2
= (bool) False
;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self",(char *) "noDST", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 arg2
= (bool) SWIG_AsBool(obj1
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (arg1
)->ToGMT(arg2
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 wxDateTime
* resultptr
;
18807 resultptr
= new wxDateTime((wxDateTime
&) result
);
18808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18816 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18819 bool arg2
= (bool) False
;
18820 wxDateTime
*result
;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "noDST", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 arg2
= (bool) SWIG_AsBool(obj1
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18838 result
= (wxDateTime
*) &_result_ref
;
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18851 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18854 int arg2
= (int) wxDateTime::Country_Default
;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "country", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18866 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_FromInt((int)result
);
18883 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18911 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18937 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18940 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18941 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18943 bool temp2
= False
;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self",(char *) "tz", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18955 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_FromInt((int)result
);
18968 if (temp2
) delete arg2
;
18973 if (temp2
) delete arg2
;
18979 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18982 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18983 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18985 bool temp2
= False
;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "tz", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_FromInt((int)result
);
19010 if (temp2
) delete arg2
;
19015 if (temp2
) delete arg2
;
19021 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19024 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19025 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19027 bool temp2
= False
;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self",(char *) "tz", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_FromInt((int)result
);
19052 if (temp2
) delete arg2
;
19057 if (temp2
) delete arg2
;
19063 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19066 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19067 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19069 bool temp2
= False
;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self",(char *) "tz", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_FromInt((int)result
);
19094 if (temp2
) delete arg2
;
19099 if (temp2
) delete arg2
;
19105 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19108 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19109 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19111 bool temp2
= False
;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "tz", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19123 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= SWIG_FromInt((int)result
);
19136 if (temp2
) delete arg2
;
19141 if (temp2
) delete arg2
;
19147 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19150 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19151 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19153 bool temp2
= False
;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "tz", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= SWIG_FromInt((int)result
);
19178 if (temp2
) delete arg2
;
19183 if (temp2
) delete arg2
;
19189 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19192 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19193 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19195 bool temp2
= False
;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "tz", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_FromInt((int)result
);
19220 if (temp2
) delete arg2
;
19225 if (temp2
) delete arg2
;
19231 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19234 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19235 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19237 bool temp2
= False
;
19238 PyObject
* obj0
= 0 ;
19239 PyObject
* obj1
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "tz", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= SWIG_FromInt((int)result
);
19262 if (temp2
) delete arg2
;
19267 if (temp2
) delete arg2
;
19273 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19276 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19277 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19279 bool temp2
= False
;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "tz", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_FromInt((int)result
);
19304 if (temp2
) delete arg2
;
19309 if (temp2
) delete arg2
;
19315 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19318 int arg2
= (int) wxDateTime::Monday_First
;
19319 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19320 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19322 bool temp3
= False
;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 PyObject
* obj2
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "flags",(char *) "tz", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19339 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_FromInt((int)result
);
19352 if (temp3
) delete arg3
;
19357 if (temp3
) delete arg3
;
19363 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19366 int arg2
= (int) wxDateTime::Monday_First
;
19367 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19368 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19370 bool temp3
= False
;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 PyObject
* obj2
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "flags",(char *) "tz", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19382 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19387 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_FromInt((int)result
);
19400 if (temp3
) delete arg3
;
19405 if (temp3
) delete arg3
;
19411 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19414 int arg2
= (int) wxDateTime::Country_Default
;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self",(char *) "country", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19445 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19448 wxDateTime
*arg2
= 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "datetime", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19462 if (arg2
== NULL
) {
19463 PyErr_SetString(PyExc_TypeError
,"null reference");
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19482 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19485 wxDateTime
*arg2
= 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self",(char *) "datetime", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19499 if (arg2
== NULL
) {
19500 PyErr_SetString(PyExc_TypeError
,"null reference");
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19519 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19522 wxDateTime
*arg2
= 0 ;
19524 PyObject
* obj0
= 0 ;
19525 PyObject
* obj1
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self",(char *) "datetime", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19536 if (arg2
== NULL
) {
19537 PyErr_SetString(PyExc_TypeError
,"null reference");
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19556 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19559 wxDateTime
*arg2
= 0 ;
19560 wxDateTime
*arg3
= 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 PyObject
* obj2
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "t1",(char *) "t2", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19575 if (arg2
== NULL
) {
19576 PyErr_SetString(PyExc_TypeError
,"null reference");
19579 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19582 if (arg3
== NULL
) {
19583 PyErr_SetString(PyExc_TypeError
,"null reference");
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19602 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19605 wxDateTime
*arg2
= 0 ;
19606 wxDateTime
*arg3
= 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 PyObject
* obj2
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "t1",(char *) "t2", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19621 if (arg2
== NULL
) {
19622 PyErr_SetString(PyExc_TypeError
,"null reference");
19625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19628 if (arg3
== NULL
) {
19629 PyErr_SetString(PyExc_TypeError
,"null reference");
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19648 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19651 wxDateTime
*arg2
= 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "dt", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19665 if (arg2
== NULL
) {
19666 PyErr_SetString(PyExc_TypeError
,"null reference");
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19685 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19688 wxDateTime
*arg2
= 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "dt", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19702 if (arg2
== NULL
) {
19703 PyErr_SetString(PyExc_TypeError
,"null reference");
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19722 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19725 wxDateTime
*arg2
= 0 ;
19726 wxTimeSpan
*arg3
= 0 ;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 PyObject
* obj2
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self",(char *) "dt",(char *) "ts", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19741 if (arg2
== NULL
) {
19742 PyErr_SetString(PyExc_TypeError
,"null reference");
19745 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19748 if (arg3
== NULL
) {
19749 PyErr_SetString(PyExc_TypeError
,"null reference");
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19768 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19771 wxTimeSpan
*arg2
= 0 ;
19772 wxDateTime
*result
;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self",(char *) "diff", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19785 if (arg2
== NULL
) {
19786 PyErr_SetString(PyExc_TypeError
,"null reference");
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19793 result
= (wxDateTime
*) &_result_ref
;
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19806 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19809 wxDateSpan
*arg2
= 0 ;
19810 wxDateTime
*result
;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "diff", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19823 if (arg2
== NULL
) {
19824 PyErr_SetString(PyExc_TypeError
,"null reference");
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19831 result
= (wxDateTime
*) &_result_ref
;
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19844 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19847 wxTimeSpan
*arg2
= 0 ;
19848 wxDateTime
*result
;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self",(char *) "diff", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19861 if (arg2
== NULL
) {
19862 PyErr_SetString(PyExc_TypeError
,"null reference");
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19869 result
= (wxDateTime
*) &_result_ref
;
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19882 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19885 wxDateSpan
*arg2
= 0 ;
19886 wxDateTime
*result
;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self",(char *) "diff", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19899 if (arg2
== NULL
) {
19900 PyErr_SetString(PyExc_TypeError
,"null reference");
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19907 result
= (wxDateTime
*) &_result_ref
;
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19920 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19923 wxDateTime
*arg2
= 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self",(char *) "dt", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19937 if (arg2
== NULL
) {
19938 PyErr_SetString(PyExc_TypeError
,"null reference");
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19949 wxTimeSpan
* resultptr
;
19950 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19959 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19960 PyObject
*resultobj
;
19961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19962 wxTimeSpan
*arg2
= 0 ;
19963 wxDateTime
*result
;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19967 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19973 if (arg2
== NULL
) {
19974 PyErr_SetString(PyExc_TypeError
,"null reference");
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19981 result
= (wxDateTime
*) &_result_ref
;
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19994 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19995 PyObject
*resultobj
;
19996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19997 wxDateSpan
*arg2
= 0 ;
19998 wxDateTime
*result
;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20002 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20008 if (arg2
== NULL
) {
20009 PyErr_SetString(PyExc_TypeError
,"null reference");
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20016 result
= (wxDateTime
*) &_result_ref
;
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20029 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20034 argc
= PyObject_Length(args
);
20035 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20036 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20052 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20060 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20086 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20091 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20096 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20097 PyObject
*resultobj
;
20098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20099 wxTimeSpan
*arg2
= 0 ;
20100 wxDateTime
*result
;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20104 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20110 if (arg2
== NULL
) {
20111 PyErr_SetString(PyExc_TypeError
,"null reference");
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20118 result
= (wxDateTime
*) &_result_ref
;
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20131 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20132 PyObject
*resultobj
;
20133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20134 wxDateSpan
*arg2
= 0 ;
20135 wxDateTime
*result
;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20139 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20145 if (arg2
== NULL
) {
20146 PyErr_SetString(PyExc_TypeError
,"null reference");
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20153 result
= (wxDateTime
*) &_result_ref
;
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20166 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20171 argc
= PyObject_Length(args
);
20172 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20173 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20179 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20189 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20197 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20215 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20223 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20228 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20233 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20234 PyObject
*resultobj
;
20235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20236 wxTimeSpan
*arg2
= 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20241 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20247 if (arg2
== NULL
) {
20248 PyErr_SetString(PyExc_TypeError
,"null reference");
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20259 wxDateTime
* resultptr
;
20260 resultptr
= new wxDateTime((wxDateTime
&) result
);
20261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20269 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20270 PyObject
*resultobj
;
20271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20272 wxDateSpan
*arg2
= 0 ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20277 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20283 if (arg2
== NULL
) {
20284 PyErr_SetString(PyExc_TypeError
,"null reference");
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20295 wxDateTime
* resultptr
;
20296 resultptr
= new wxDateTime((wxDateTime
&) result
);
20297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20305 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20310 argc
= PyObject_Length(args
);
20311 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20312 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20318 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20328 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20336 return _wrap_DateTime___add____SWIG_0(self
,args
);
20344 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20354 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20362 return _wrap_DateTime___add____SWIG_1(self
,args
);
20367 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20372 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20373 PyObject
*resultobj
;
20374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20375 wxDateTime
*arg2
= 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20380 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20386 if (arg2
== NULL
) {
20387 PyErr_SetString(PyExc_TypeError
,"null reference");
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20398 wxTimeSpan
* resultptr
;
20399 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20408 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20409 PyObject
*resultobj
;
20410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20411 wxTimeSpan
*arg2
= 0 ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20416 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20422 if (arg2
== NULL
) {
20423 PyErr_SetString(PyExc_TypeError
,"null reference");
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20434 wxDateTime
* resultptr
;
20435 resultptr
= new wxDateTime((wxDateTime
&) result
);
20436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20444 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20445 PyObject
*resultobj
;
20446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20447 wxDateSpan
*arg2
= 0 ;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20452 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20458 if (arg2
== NULL
) {
20459 PyErr_SetString(PyExc_TypeError
,"null reference");
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20470 wxDateTime
* resultptr
;
20471 resultptr
= new wxDateTime((wxDateTime
&) result
);
20472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20480 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20485 argc
= PyObject_Length(args
);
20486 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20503 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20511 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20529 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20537 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20545 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20555 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20563 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20568 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20573 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20574 PyObject
*resultobj
;
20575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20576 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20581 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20603 PyObject
*resultobj
;
20604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20605 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20610 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20631 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20632 PyObject
*resultobj
;
20633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20634 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20639 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20660 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20661 PyObject
*resultobj
;
20662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20663 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20668 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20689 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20690 PyObject
*resultobj
;
20691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20692 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20697 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20718 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20719 PyObject
*resultobj
;
20720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20721 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20726 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20747 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20750 wxString
*arg2
= 0 ;
20752 bool temp2
= False
;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self",(char *) "date", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 arg2
= wxString_in_helper(obj1
);
20764 if (arg2
== NULL
) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_FromInt((int)result
);
20789 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20792 wxString
*arg2
= 0 ;
20793 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20795 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20796 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20798 bool temp2
= False
;
20799 bool temp3
= False
;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 PyObject
* obj2
= 0 ;
20803 PyObject
* obj3
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20812 arg2
= wxString_in_helper(obj1
);
20813 if (arg2
== NULL
) SWIG_fail
;
20818 arg3
= wxString_in_helper(obj2
);
20819 if (arg3
== NULL
) SWIG_fail
;
20824 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20827 if (arg4
== NULL
) {
20828 PyErr_SetString(PyExc_TypeError
,"null reference");
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_FromInt((int)result
);
20862 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20865 wxString
*arg2
= 0 ;
20867 bool temp2
= False
;
20868 PyObject
* obj0
= 0 ;
20869 PyObject
* obj1
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self",(char *) "datetime", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20878 arg2
= wxString_in_helper(obj1
);
20879 if (arg2
== NULL
) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= SWIG_FromInt((int)result
);
20904 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20907 wxString
*arg2
= 0 ;
20909 bool temp2
= False
;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self",(char *) "date", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 arg2
= wxString_in_helper(obj1
);
20921 if (arg2
== NULL
) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_FromInt((int)result
);
20946 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20949 wxString
*arg2
= 0 ;
20951 bool temp2
= False
;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self",(char *) "time", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20962 arg2
= wxString_in_helper(obj1
);
20963 if (arg2
== NULL
) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_FromInt((int)result
);
20988 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20991 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20992 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20993 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20994 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20996 bool temp2
= False
;
20997 bool temp3
= False
;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 PyObject
* obj2
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "format",(char *) "tz", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 arg2
= wxString_in_helper(obj1
);
21011 if (arg2
== NULL
) SWIG_fail
;
21017 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21040 if (temp3
) delete arg3
;
21049 if (temp3
) delete arg3
;
21055 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21087 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21119 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21151 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21183 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21186 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21188 return Py_BuildValue((char *)"");
21190 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "sec", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21200 arg1
= (long) SWIG_AsLong(obj0
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= wxTimeSpan::Seconds(arg1
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 wxTimeSpan
* resultptr
;
21211 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21220 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21223 char *kwnames
[] = {
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= wxTimeSpan::Second();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 wxTimeSpan
* resultptr
;
21237 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21246 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "min", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21256 arg1
= (long) SWIG_AsLong(obj0
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= wxTimeSpan::Minutes(arg1
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 wxTimeSpan
* resultptr
;
21267 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21276 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21279 char *kwnames
[] = {
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= wxTimeSpan::Minute();
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 wxTimeSpan
* resultptr
;
21293 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21302 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "hours", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21312 arg1
= (long) SWIG_AsLong(obj0
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= wxTimeSpan::Hours(arg1
);
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21322 wxTimeSpan
* resultptr
;
21323 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21332 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21335 char *kwnames
[] = {
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= wxTimeSpan::Hour();
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21348 wxTimeSpan
* resultptr
;
21349 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21358 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21362 PyObject
* obj0
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "days", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21368 arg1
= (long) SWIG_AsLong(obj0
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= wxTimeSpan::Days(arg1
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 wxTimeSpan
* resultptr
;
21379 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21388 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21391 char *kwnames
[] = {
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= wxTimeSpan::Day();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 wxTimeSpan
* resultptr
;
21405 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21414 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "days", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21424 arg1
= (long) SWIG_AsLong(obj0
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= wxTimeSpan::Weeks(arg1
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 wxTimeSpan
* resultptr
;
21435 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21444 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21447 char *kwnames
[] = {
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= wxTimeSpan::Week();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 wxTimeSpan
* resultptr
;
21461 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21470 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 long arg1
= (long) 0 ;
21473 long arg2
= (long) 0 ;
21474 long arg3
= (long) 0 ;
21475 long arg4
= (long) 0 ;
21476 wxTimeSpan
*result
;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 PyObject
* obj2
= 0 ;
21480 PyObject
* obj3
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21487 arg1
= (long) SWIG_AsLong(obj0
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 arg2
= (long) SWIG_AsLong(obj1
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 arg3
= (long) SWIG_AsLong(obj2
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21499 arg4
= (long) SWIG_AsLong(obj3
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21516 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 Py_INCREF(Py_None
); resultobj
= Py_None
;
21541 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21544 wxTimeSpan
*arg2
= 0 ;
21545 wxTimeSpan
*result
;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "diff", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21558 if (arg2
== NULL
) {
21559 PyErr_SetString(PyExc_TypeError
,"null reference");
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21566 result
= (wxTimeSpan
*) &_result_ref
;
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21579 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21582 wxTimeSpan
*arg2
= 0 ;
21583 wxTimeSpan
*result
;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "diff", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21596 if (arg2
== NULL
) {
21597 PyErr_SetString(PyExc_TypeError
,"null reference");
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21604 result
= (wxTimeSpan
*) &_result_ref
;
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21617 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21621 wxTimeSpan
*result
;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "n", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 arg2
= (int) SWIG_AsInt(obj1
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21637 result
= (wxTimeSpan
*) &_result_ref
;
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21650 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21653 wxTimeSpan
*result
;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21666 result
= (wxTimeSpan
*) &_result_ref
;
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21679 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 wxTimeSpan
* resultptr
;
21700 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21709 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21712 wxTimeSpan
*arg2
= 0 ;
21713 wxTimeSpan
*result
;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "diff", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21726 if (arg2
== NULL
) {
21727 PyErr_SetString(PyExc_TypeError
,"null reference");
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21734 result
= (wxTimeSpan
*) &_result_ref
;
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21747 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21750 wxTimeSpan
*arg2
= 0 ;
21751 wxTimeSpan
*result
;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "diff", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21764 if (arg2
== NULL
) {
21765 PyErr_SetString(PyExc_TypeError
,"null reference");
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21772 result
= (wxTimeSpan
*) &_result_ref
;
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21785 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21789 wxTimeSpan
*result
;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "n", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 arg2
= (int) SWIG_AsInt(obj1
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21805 result
= (wxTimeSpan
*) &_result_ref
;
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21818 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21821 wxTimeSpan
*result
;
21822 PyObject
* obj0
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21834 result
= (wxTimeSpan
*) &_result_ref
;
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21847 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21850 wxTimeSpan
*arg2
= 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "other", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21864 if (arg2
== NULL
) {
21865 PyErr_SetString(PyExc_TypeError
,"null reference");
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21876 wxTimeSpan
* resultptr
;
21877 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21886 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21889 wxTimeSpan
*arg2
= 0 ;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self",(char *) "other", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21903 if (arg2
== NULL
) {
21904 PyErr_SetString(PyExc_TypeError
,"null reference");
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 wxTimeSpan
* resultptr
;
21916 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21925 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 PyObject
* obj1
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self",(char *) "n", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 arg2
= (int) SWIG_AsInt(obj1
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= wxTimeSpan___mul__(arg1
,arg2
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 wxTimeSpan
* resultptr
;
21950 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21959 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "n", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 arg2
= (int) SWIG_AsInt(obj1
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 wxTimeSpan
* resultptr
;
21984 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21993 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21996 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "other", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22028 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "other", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22057 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22060 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 char *kwnames
[] = {
22065 (char *) "self",(char *) "other", NULL
22068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22089 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22092 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self",(char *) "other", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22121 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22124 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "other", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22153 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22156 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "other", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
;
22187 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22213 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22241 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 char *kwnames
[] = {
22247 (char *) "self", NULL
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22269 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22272 wxTimeSpan
*arg2
= 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self",(char *) "ts", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22286 if (arg2
== NULL
) {
22287 PyErr_SetString(PyExc_TypeError
,"null reference");
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22306 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22309 wxTimeSpan
*arg2
= 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "ts", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22323 if (arg2
== NULL
) {
22324 PyErr_SetString(PyExc_TypeError
,"null reference");
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22343 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22346 wxTimeSpan
*arg2
= 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "t", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22360 if (arg2
== NULL
) {
22361 PyErr_SetString(PyExc_TypeError
,"null reference");
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22380 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_FromInt((int)result
);
22406 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_FromInt((int)result
);
22432 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_FromInt((int)result
);
22458 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 resultobj
= SWIG_FromInt((int)result
);
22484 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22505 hi
= PyLong_FromLong( (&result
)->GetHi() );
22506 lo
= PyLong_FromLong( (&result
)->GetLo() );
22507 shifter
= PyLong_FromLong(32);
22508 shifted
= PyNumber_Lshift(hi
, shifter
);
22509 resultobj
= PyNumber_Or(shifted
, lo
);
22512 Py_DECREF(shifter
);
22513 Py_DECREF(shifted
);
22521 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22542 hi
= PyLong_FromLong( (&result
)->GetHi() );
22543 lo
= PyLong_FromLong( (&result
)->GetLo() );
22544 shifter
= PyLong_FromLong(32);
22545 shifted
= PyNumber_Lshift(hi
, shifter
);
22546 resultobj
= PyNumber_Or(shifted
, lo
);
22549 Py_DECREF(shifter
);
22550 Py_DECREF(shifted
);
22558 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22561 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22562 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22564 bool temp2
= False
;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "format", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 arg2
= wxString_in_helper(obj1
);
22577 if (arg2
== NULL
) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22609 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22612 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22614 return Py_BuildValue((char *)"");
22616 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
;
22618 int arg1
= (int) 0 ;
22619 int arg2
= (int) 0 ;
22620 int arg3
= (int) 0 ;
22621 int arg4
= (int) 0 ;
22622 wxDateSpan
*result
;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 PyObject
* obj2
= 0 ;
22626 PyObject
* obj3
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22633 arg1
= (int) SWIG_AsInt(obj0
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22637 arg2
= (int) SWIG_AsInt(obj1
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 arg3
= (int) SWIG_AsInt(obj2
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 arg4
= (int) SWIG_AsInt(obj3
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22662 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 Py_INCREF(Py_None
); resultobj
= Py_None
;
22687 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22691 PyObject
* obj0
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "days", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22697 arg1
= (int) SWIG_AsInt(obj0
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= wxDateSpan::Days(arg1
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 wxDateSpan
* resultptr
;
22708 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22717 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22720 char *kwnames
[] = {
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= wxDateSpan::Day();
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22733 wxDateSpan
* resultptr
;
22734 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22743 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "weeks", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22753 arg1
= (int) SWIG_AsInt(obj0
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= wxDateSpan::Weeks(arg1
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22763 wxDateSpan
* resultptr
;
22764 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22773 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22776 char *kwnames
[] = {
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= wxDateSpan::Week();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 wxDateSpan
* resultptr
;
22790 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22799 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22803 PyObject
* obj0
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "mon", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22809 arg1
= (int) SWIG_AsInt(obj0
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 result
= wxDateSpan::Months(arg1
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22819 wxDateSpan
* resultptr
;
22820 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22829 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22832 char *kwnames
[] = {
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= wxDateSpan::Month();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 wxDateSpan
* resultptr
;
22846 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22855 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "years", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22865 arg1
= (int) SWIG_AsInt(obj0
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= wxDateSpan::Years(arg1
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 wxDateSpan
* resultptr
;
22876 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22885 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22888 char *kwnames
[] = {
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= wxDateSpan::Year();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 wxDateSpan
* resultptr
;
22902 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22911 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
;
22913 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22915 wxDateSpan
*result
;
22916 PyObject
* obj0
= 0 ;
22917 PyObject
* obj1
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self",(char *) "n", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 arg2
= (int) SWIG_AsInt(obj1
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22931 result
= (wxDateSpan
*) &_result_ref
;
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22944 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22948 wxDateSpan
*result
;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self",(char *) "n", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22958 arg2
= (int) SWIG_AsInt(obj1
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22964 result
= (wxDateSpan
*) &_result_ref
;
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22977 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22981 wxDateSpan
*result
;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self",(char *) "n", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 arg2
= (int) SWIG_AsInt(obj1
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22997 result
= (wxDateSpan
*) &_result_ref
;
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23010 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23014 wxDateSpan
*result
;
23015 PyObject
* obj0
= 0 ;
23016 PyObject
* obj1
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self",(char *) "n", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 arg2
= (int) SWIG_AsInt(obj1
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23030 result
= (wxDateSpan
*) &_result_ref
;
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23043 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_FromInt((int)result
);
23069 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_FromInt((int)result
);
23095 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23099 PyObject
* obj0
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_FromInt((int)result
);
23121 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_FromInt((int)result
);
23147 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_FromInt((int)result
);
23173 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23176 wxDateSpan
*arg2
= 0 ;
23177 wxDateSpan
*result
;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self",(char *) "other", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23190 if (arg2
== NULL
) {
23191 PyErr_SetString(PyExc_TypeError
,"null reference");
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23198 result
= (wxDateSpan
*) &_result_ref
;
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23211 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23214 wxDateSpan
*arg2
= 0 ;
23215 wxDateSpan
*result
;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self",(char *) "other", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23228 if (arg2
== NULL
) {
23229 PyErr_SetString(PyExc_TypeError
,"null reference");
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23236 result
= (wxDateSpan
*) &_result_ref
;
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23249 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23252 wxDateSpan
*result
;
23253 PyObject
* obj0
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23265 result
= (wxDateSpan
*) &_result_ref
;
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23278 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23282 wxDateSpan
*result
;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self",(char *) "factor", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 arg2
= (int) SWIG_AsInt(obj1
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23298 result
= (wxDateSpan
*) &_result_ref
;
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23311 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23314 wxDateSpan
*arg2
= 0 ;
23315 wxDateSpan
*result
;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self",(char *) "other", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23328 if (arg2
== NULL
) {
23329 PyErr_SetString(PyExc_TypeError
,"null reference");
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23336 result
= (wxDateSpan
*) &_result_ref
;
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23349 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23352 wxDateSpan
*arg2
= 0 ;
23353 wxDateSpan
*result
;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self",(char *) "other", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23366 if (arg2
== NULL
) {
23367 PyErr_SetString(PyExc_TypeError
,"null reference");
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23374 result
= (wxDateSpan
*) &_result_ref
;
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23387 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23390 wxDateSpan
*result
;
23391 PyObject
* obj0
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23403 result
= (wxDateSpan
*) &_result_ref
;
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23416 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23420 wxDateSpan
*result
;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "factor", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23430 arg2
= (int) SWIG_AsInt(obj1
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23436 result
= (wxDateSpan
*) &_result_ref
;
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23449 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23452 wxDateSpan
*arg2
= 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "other", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23466 if (arg2
== NULL
) {
23467 PyErr_SetString(PyExc_TypeError
,"null reference");
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 wxDateSpan
* resultptr
;
23479 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23488 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23491 wxDateSpan
*arg2
= 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "other", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23505 if (arg2
== NULL
) {
23506 PyErr_SetString(PyExc_TypeError
,"null reference");
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23517 wxDateSpan
* resultptr
;
23518 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23527 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23529 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "n", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 arg2
= (int) SWIG_AsInt(obj1
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= wxDateSpan___mul__(arg1
,arg2
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23551 wxDateSpan
* resultptr
;
23552 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23561 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 PyObject
* obj1
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self",(char *) "n", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23575 arg2
= (int) SWIG_AsInt(obj1
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= wxDateSpan___rmul__(arg1
,arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23585 wxDateSpan
* resultptr
;
23586 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23595 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23598 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self",(char *) "other", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23627 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23630 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "other", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23659 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23662 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23664 return Py_BuildValue((char *)"");
23666 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23669 char *kwnames
[] = {
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (long)wxGetLocalTime();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_FromLong((long)result
);
23688 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23691 char *kwnames
[] = {
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (long)wxGetUTCTime();
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_FromLong((long)result
);
23710 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
;
23713 char *kwnames
[] = {
23717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (long)wxGetCurrentTime();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_FromLong((long)result
);
23732 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23735 char *kwnames
[] = {
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= wxGetLocalTimeMillis();
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23748 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23749 hi
= PyLong_FromLong( (&result
)->GetHi() );
23750 lo
= PyLong_FromLong( (&result
)->GetLo() );
23751 shifter
= PyLong_FromLong(32);
23752 shifted
= PyNumber_Lshift(hi
, shifter
);
23753 resultobj
= PyNumber_Or(shifted
, lo
);
23756 Py_DECREF(shifter
);
23757 Py_DECREF(shifted
);
23765 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23766 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23771 static PyObject
*_wrap_DefaultDateTime_get() {
23774 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23779 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23782 wxDataFormat
*result
;
23783 PyObject
* obj0
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "type", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23789 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23805 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxString
*arg1
= 0 ;
23808 wxDataFormat
*result
;
23809 bool temp1
= False
;
23810 PyObject
* obj0
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "format", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23817 arg1
= wxString_in_helper(obj0
);
23818 if (arg1
== NULL
) SWIG_fail
;
23822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23823 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23843 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23846 PyObject
* obj0
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23869 PyObject
*resultobj
;
23870 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 PyObject
* obj1
= 0 ;
23876 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23897 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23898 PyObject
*resultobj
;
23899 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23905 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23908 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23926 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23927 PyObject
*resultobj
;
23928 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23929 wxDataFormat
*arg2
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23934 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23940 if (arg2
== NULL
) {
23941 PyErr_SetString(PyExc_TypeError
,"null reference");
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23965 argc
= PyObject_Length(args
);
23966 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23983 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23991 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24007 _v
= SWIG_CheckInt(argv
[1]);
24009 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24014 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24019 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24020 PyObject
*resultobj
;
24021 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24022 wxDataFormat
*arg2
= 0 ;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24027 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24033 if (arg2
== NULL
) {
24034 PyErr_SetString(PyExc_TypeError
,"null reference");
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24053 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24058 argc
= PyObject_Length(args
);
24059 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24060 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24084 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24092 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24100 _v
= SWIG_CheckInt(argv
[1]);
24102 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24107 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24112 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self",(char *) "format", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24125 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 (arg1
)->SetType((wxDataFormatId
)arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 Py_INCREF(Py_None
); resultobj
= Py_None
;
24141 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_FromInt((int)result
);
24167 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= ((wxDataFormat
const *)arg1
)->GetId();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24199 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24202 wxString
*arg2
= 0 ;
24203 bool temp2
= False
;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self",(char *) "format", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24214 arg2
= wxString_in_helper(obj1
);
24215 if (arg2
== NULL
) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 (arg1
)->SetId((wxString
const &)*arg2
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 Py_INCREF(Py_None
); resultobj
= Py_None
;
24240 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24243 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24245 return Py_BuildValue((char *)"");
24247 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24248 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24253 static PyObject
*_wrap_FormatInvalid_get() {
24256 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24261 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24289 int arg2
= (int) wxDataObject::Get
;
24290 SwigValueWrapper
< wxDataFormat
> result
;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 char *kwnames
[] = {
24294 (char *) "self",(char *) "dir", NULL
24297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24301 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 wxDataFormat
* resultptr
;
24313 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24322 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24325 int arg2
= (int) wxDataObject::Get
;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self",(char *) "dir", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24337 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24354 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24357 wxDataFormat
*arg2
= 0 ;
24358 int arg3
= (int) wxDataObject::Get
;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 PyObject
* obj2
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "format",(char *) "dir", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24373 if (arg2
== NULL
) {
24374 PyErr_SetString(PyExc_TypeError
,"null reference");
24378 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24397 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24400 wxDataFormat
*arg2
= 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "format", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24414 if (arg2
== NULL
) {
24415 PyErr_SetString(PyExc_TypeError
,"null reference");
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24432 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24435 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24436 int arg3
= (int) wxDataObject::Get
;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "formats",(char *) "dir", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24450 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 Py_INCREF(Py_None
); resultobj
= Py_None
;
24467 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24470 wxDataFormat
*arg2
= 0 ;
24471 void *arg3
= (void *) 0 ;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 PyObject
* obj2
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "format",(char *) "buf", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24486 if (arg2
== NULL
) {
24487 PyErr_SetString(PyExc_TypeError
,"null reference");
24490 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24507 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24510 wxDataFormat
*arg2
= 0 ;
24512 void *arg4
= (void *) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 PyObject
* obj2
= 0 ;
24517 PyObject
* obj3
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24528 if (arg2
== NULL
) {
24529 PyErr_SetString(PyExc_TypeError
,"null reference");
24532 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24534 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24551 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24554 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24556 return Py_BuildValue((char *)"");
24558 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
;
24560 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24561 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24562 wxDataObjectSimple
*result
;
24563 PyObject
* obj0
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "format", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24573 if (arg1
== NULL
) {
24574 PyErr_SetString(PyExc_TypeError
,"null reference");
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24592 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24595 wxDataFormat
*result
;
24596 PyObject
* obj0
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24608 result
= (wxDataFormat
*) &_result_ref
;
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24621 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24624 wxDataFormat
*arg2
= 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "format", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24637 if (arg2
== NULL
) {
24638 PyErr_SetString(PyExc_TypeError
,"null reference");
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24658 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24660 return Py_BuildValue((char *)"");
24662 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24665 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24666 wxPyDataObjectSimple
*result
;
24667 PyObject
* obj0
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "format", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24677 if (arg1
== NULL
) {
24678 PyErr_SetString(PyExc_TypeError
,"null reference");
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24696 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24699 PyObject
*arg2
= (PyObject
*) 0 ;
24700 PyObject
*arg3
= (PyObject
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "self",(char *) "_class", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 Py_INCREF(Py_None
); resultobj
= Py_None
;
24727 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24730 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24732 return Py_BuildValue((char *)"");
24734 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxDataObjectComposite
*result
;
24737 char *kwnames
[] = {
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24756 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24759 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24760 int arg3
= (int) False
;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 PyObject
* obj2
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24772 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24774 arg3
= (int) SWIG_AsInt(obj2
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 (arg1
)->Add(arg2
,arg3
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 Py_INCREF(Py_None
); resultobj
= Py_None
;
24791 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24794 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24796 return Py_BuildValue((char *)"");
24798 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
;
24800 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24801 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24802 wxTextDataObject
*result
;
24803 bool temp1
= False
;
24804 PyObject
* obj0
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "text", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24812 arg1
= wxString_in_helper(obj0
);
24813 if (arg1
== NULL
) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24839 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (size_t)(arg1
)->GetTextLength();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24865 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (arg1
)->GetText();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24897 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24900 wxString
*arg2
= 0 ;
24901 bool temp2
= False
;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "text", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24912 arg2
= wxString_in_helper(obj1
);
24913 if (arg2
== NULL
) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetText((wxString
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24938 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24941 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24943 return Py_BuildValue((char *)"");
24945 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24948 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24949 wxPyTextDataObject
*result
;
24950 bool temp1
= False
;
24951 PyObject
* obj0
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "text", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24959 arg1
= wxString_in_helper(obj0
);
24960 if (arg1
== NULL
) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24986 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24989 PyObject
*arg2
= (PyObject
*) 0 ;
24990 PyObject
*arg3
= (PyObject
*) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "self",(char *) "_class", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 Py_INCREF(Py_None
); resultobj
= Py_None
;
25017 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25020 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25022 return Py_BuildValue((char *)"");
25024 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
;
25026 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25027 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25028 wxBitmapDataObject
*result
;
25029 PyObject
* obj0
= 0 ;
25030 char *kwnames
[] = {
25031 (char *) "bitmap", NULL
25034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25039 if (arg1
== NULL
) {
25040 PyErr_SetString(PyExc_TypeError
,"null reference");
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25058 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25062 PyObject
* obj0
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 wxBitmap
* resultptr
;
25079 resultptr
= new wxBitmap((wxBitmap
&) result
);
25080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25088 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25091 wxBitmap
*arg2
= 0 ;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self",(char *) "bitmap", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25104 if (arg2
== NULL
) {
25105 PyErr_SetString(PyExc_TypeError
,"null reference");
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25125 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25127 return Py_BuildValue((char *)"");
25129 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25132 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25133 wxPyBitmapDataObject
*result
;
25134 PyObject
* obj0
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "bitmap", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25144 if (arg1
== NULL
) {
25145 PyErr_SetString(PyExc_TypeError
,"null reference");
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25163 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25166 PyObject
*arg2
= (PyObject
*) 0 ;
25167 PyObject
*arg3
= (PyObject
*) 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 PyObject
* obj2
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "self",(char *) "_class", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 Py_INCREF(Py_None
); resultobj
= Py_None
;
25194 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25197 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25199 return Py_BuildValue((char *)"");
25201 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxFileDataObject
*result
;
25204 char *kwnames
[] = {
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (wxFileDataObject
*)new wxFileDataObject();
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25223 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25226 wxArrayString
*result
;
25227 PyObject
* obj0
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "self", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25239 result
= (wxArrayString
*) &_result_ref
;
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= wxArrayString2PyList_helper(*result
);
25254 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25257 wxString
*arg2
= 0 ;
25258 bool temp2
= False
;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "filename", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 arg2
= wxString_in_helper(obj1
);
25270 if (arg2
== NULL
) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 (arg1
)->AddFile((wxString
const &)*arg2
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 Py_INCREF(Py_None
); resultobj
= Py_None
;
25295 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25298 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25300 return Py_BuildValue((char *)"");
25302 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25305 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25306 wxCustomDataObject
*result
;
25307 PyObject
* obj0
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "format", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25317 if (arg1
== NULL
) {
25318 PyErr_SetString(PyExc_TypeError
,"null reference");
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25336 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25339 PyObject
*arg2
= (PyObject
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "data", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 wxCustomDataObject_TakeData(arg1
,arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25367 PyObject
*arg2
= (PyObject
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "data", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25395 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25399 PyObject
* obj0
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (size_t)(arg1
)->GetSize();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25421 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= result
;
25447 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25450 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25452 return Py_BuildValue((char *)"");
25454 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxURLDataObject
*result
;
25457 char *kwnames
[] = {
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (wxURLDataObject
*)new wxURLDataObject();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25476 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (arg1
)->GetURL();
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25508 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25511 wxString
*arg2
= 0 ;
25512 bool temp2
= False
;
25513 PyObject
* obj0
= 0 ;
25514 PyObject
* obj1
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "self",(char *) "url", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25523 arg2
= wxString_in_helper(obj1
);
25524 if (arg2
== NULL
) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 (arg1
)->SetURL((wxString
const &)*arg2
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25549 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25552 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25554 return Py_BuildValue((char *)"");
25556 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxMetafileDataObject
*result
;
25559 char *kwnames
[] = {
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25578 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25581 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25583 return Py_BuildValue((char *)"");
25585 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
;
25589 PyObject
* obj0
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "res", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25595 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25613 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
;
25615 wxWindow
*arg1
= (wxWindow
*) 0 ;
25616 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25617 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25618 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25619 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25620 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25621 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25622 wxPyDropSource
*result
;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 PyObject
* obj2
= 0 ;
25626 PyObject
* obj3
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference");
25644 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25647 if (arg3
== NULL
) {
25648 PyErr_SetString(PyExc_TypeError
,"null reference");
25653 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25656 if (arg4
== NULL
) {
25657 PyErr_SetString(PyExc_TypeError
,"null reference");
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25675 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25678 PyObject
*arg2
= (PyObject
*) 0 ;
25679 PyObject
*arg3
= (PyObject
*) 0 ;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 PyObject
* obj2
= 0 ;
25684 PyObject
* obj3
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25694 arg4
= (int) SWIG_AsInt(obj3
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 Py_INCREF(Py_None
); resultobj
= Py_None
;
25710 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 Py_INCREF(Py_None
); resultobj
= Py_None
;
25735 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25738 wxDataObject
*arg2
= 0 ;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self",(char *) "data", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25751 if (arg2
== NULL
) {
25752 PyErr_SetString(PyExc_TypeError
,"null reference");
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 (arg1
)->SetData(*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 Py_INCREF(Py_None
); resultobj
= Py_None
;
25769 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25772 wxDataObject
*result
;
25773 PyObject
* obj0
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25795 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25799 wxCursor
*arg3
= 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 PyObject
* obj2
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "res",(char *) "cursor", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25812 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25815 if (arg3
== NULL
) {
25816 PyErr_SetString(PyExc_TypeError
,"null reference");
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25836 int arg2
= (int) wxDrag_CopyOnly
;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "flags", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25848 arg2
= (int) SWIG_AsInt(obj1
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= (int)(arg1
)->DoDragDrop(arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_FromInt((int)result
);
25865 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "effect", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25897 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25900 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25902 return Py_BuildValue((char *)"");
25904 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25907 wxPyDropTarget
*result
;
25908 PyObject
* obj0
= 0 ;
25909 char *kwnames
[] = {
25910 (char *) "dataObject", NULL
25913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25916 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25932 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25935 PyObject
*arg2
= (PyObject
*) 0 ;
25936 PyObject
*arg3
= (PyObject
*) 0 ;
25937 PyObject
* obj0
= 0 ;
25938 PyObject
* obj1
= 0 ;
25939 PyObject
* obj2
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "self",(char *) "_class", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 Py_INCREF(Py_None
); resultobj
= Py_None
;
25963 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 Py_INCREF(Py_None
); resultobj
= Py_None
;
25988 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25991 wxDataObject
*result
;
25992 PyObject
* obj0
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26014 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26017 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self",(char *) "dataObject", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26028 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 (arg1
)->SetDataObject(arg2
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 PyObject
* obj2
= 0 ;
26053 PyObject
* obj3
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 arg2
= (int) SWIG_AsInt(obj1
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26063 arg3
= (int) SWIG_AsInt(obj2
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26065 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_FromInt((int)result
);
26081 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 PyObject
* obj2
= 0 ;
26091 PyObject
* obj3
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26099 arg2
= (int) SWIG_AsInt(obj1
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26101 arg3
= (int) SWIG_AsInt(obj2
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26103 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= SWIG_FromInt((int)result
);
26119 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26122 PyObject
* obj0
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->base_OnLeave();
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 PyObject
* obj2
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "x",(char *) "y", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 arg2
= (int) SWIG_AsInt(obj1
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26162 arg3
= (int) SWIG_AsInt(obj2
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26180 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26184 PyObject
* obj0
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= (bool)(arg1
)->GetData();
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26208 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26211 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26213 return Py_BuildValue((char *)"");
26215 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxPyTextDropTarget
*result
;
26218 char *kwnames
[] = {
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26237 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26240 PyObject
*arg2
= (PyObject
*) 0 ;
26241 PyObject
*arg3
= (PyObject
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 PyObject
* obj2
= 0 ;
26245 char *kwnames
[] = {
26246 (char *) "self",(char *) "self",(char *) "_class", NULL
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 Py_INCREF(Py_None
); resultobj
= Py_None
;
26268 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 PyObject
* obj2
= 0 ;
26278 PyObject
* obj3
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26286 arg2
= (int) SWIG_AsInt(obj1
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26288 arg3
= (int) SWIG_AsInt(obj2
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26290 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_FromInt((int)result
);
26306 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 PyObject
* obj3
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26324 arg2
= (int) SWIG_AsInt(obj1
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26326 arg3
= (int) SWIG_AsInt(obj2
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26328 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_FromInt((int)result
);
26344 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 (arg1
)->base_OnLeave();
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 Py_INCREF(Py_None
); resultobj
= Py_None
;
26369 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 PyObject
* obj1
= 0 ;
26377 PyObject
* obj2
= 0 ;
26378 char *kwnames
[] = {
26379 (char *) "self",(char *) "x",(char *) "y", NULL
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26385 arg2
= (int) SWIG_AsInt(obj1
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26387 arg3
= (int) SWIG_AsInt(obj2
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26405 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 PyObject
* obj2
= 0 ;
26415 PyObject
* obj3
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26423 arg2
= (int) SWIG_AsInt(obj1
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26425 arg3
= (int) SWIG_AsInt(obj2
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26427 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_FromInt((int)result
);
26443 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26446 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26448 return Py_BuildValue((char *)"");
26450 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxPyFileDropTarget
*result
;
26453 char *kwnames
[] = {
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26472 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26475 PyObject
*arg2
= (PyObject
*) 0 ;
26476 PyObject
*arg3
= (PyObject
*) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 PyObject
* obj1
= 0 ;
26479 PyObject
* obj2
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self",(char *) "self",(char *) "_class", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 Py_INCREF(Py_None
); resultobj
= Py_None
;
26503 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26510 PyObject
* obj0
= 0 ;
26511 PyObject
* obj1
= 0 ;
26512 PyObject
* obj2
= 0 ;
26513 PyObject
* obj3
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26521 arg2
= (int) SWIG_AsInt(obj1
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26523 arg3
= (int) SWIG_AsInt(obj2
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26525 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_FromInt((int)result
);
26541 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26548 PyObject
* obj0
= 0 ;
26549 PyObject
* obj1
= 0 ;
26550 PyObject
* obj2
= 0 ;
26551 PyObject
* obj3
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26559 arg2
= (int) SWIG_AsInt(obj1
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26561 arg3
= (int) SWIG_AsInt(obj2
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26563 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= SWIG_FromInt((int)result
);
26579 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26582 PyObject
* obj0
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 (arg1
)->base_OnLeave();
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 Py_INCREF(Py_None
); resultobj
= Py_None
;
26604 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 PyObject
* obj2
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self",(char *) "x",(char *) "y", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26620 arg2
= (int) SWIG_AsInt(obj1
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26622 arg3
= (int) SWIG_AsInt(obj2
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26640 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 PyObject
* obj2
= 0 ;
26650 PyObject
* obj3
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 arg2
= (int) SWIG_AsInt(obj1
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26660 arg3
= (int) SWIG_AsInt(obj2
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26662 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_FromInt((int)result
);
26678 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26681 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26683 return Py_BuildValue((char *)"");
26685 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
;
26687 wxClipboard
*result
;
26688 char *kwnames
[] = {
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= (wxClipboard
*)new wxClipboard();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26707 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 Py_INCREF(Py_None
); resultobj
= Py_None
;
26732 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
;
26734 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= (bool)(arg1
)->Open();
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26760 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26763 PyObject
* obj0
= 0 ;
26764 char *kwnames
[] = {
26765 (char *) "self", NULL
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 char *kwnames
[] = {
26791 (char *) "self", NULL
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26813 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26816 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26818 PyObject
* obj0
= 0 ;
26819 PyObject
* obj1
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self",(char *) "data", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26828 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)(arg1
)->AddData(arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26845 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26848 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char *kwnames
[] = {
26853 (char *) "self",(char *) "data", NULL
26856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26860 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (bool)(arg1
)->SetData(arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26877 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26880 wxDataFormat
*arg2
= 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self",(char *) "format", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26894 if (arg2
== NULL
) {
26895 PyErr_SetString(PyExc_TypeError
,"null reference");
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26914 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26917 wxDataObject
*arg2
= 0 ;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "data", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26931 if (arg2
== NULL
) {
26932 PyErr_SetString(PyExc_TypeError
,"null reference");
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (bool)(arg1
)->GetData(*arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26951 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 Py_INCREF(Py_None
); resultobj
= Py_None
;
26976 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (bool)(arg1
)->Flush();
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27004 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27007 bool arg2
= (bool) True
;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self",(char *) "primary", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 arg2
= (bool) SWIG_AsBool(obj1
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->UsePrimarySelection(arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27038 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27040 return Py_BuildValue((char *)"");
27042 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27043 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27048 static PyObject
*_wrap_TheClipboard_get() {
27051 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27056 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27059 wxClipboardLocker
*result
;
27060 PyObject
* obj0
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "clipboard", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27084 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 Py_INCREF(Py_None
); resultobj
= Py_None
;
27109 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
;
27111 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27113 PyObject
* obj0
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27137 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27140 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27142 return Py_BuildValue((char *)"");
27144 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 int arg1
= (int) 0 ;
27147 int arg2
= (int) 0 ;
27148 int arg3
= (int) 0 ;
27149 int arg4
= (int) 0 ;
27150 wxVideoMode
*result
;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 PyObject
* obj2
= 0 ;
27154 PyObject
* obj3
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27161 arg1
= (int) SWIG_AsInt(obj0
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27165 arg2
= (int) SWIG_AsInt(obj1
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27169 arg3
= (int) SWIG_AsInt(obj2
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27173 arg4
= (int) SWIG_AsInt(obj3
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27190 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
;
27192 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 Py_INCREF(Py_None
); resultobj
= Py_None
;
27215 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27218 wxVideoMode
*arg2
= 0 ;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "other", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27232 if (arg2
== NULL
) {
27233 PyErr_SetString(PyExc_TypeError
,"null reference");
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27252 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_FromInt((int)result
);
27278 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27282 PyObject
* obj0
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= SWIG_FromInt((int)result
);
27304 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
;
27306 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_FromInt((int)result
);
27330 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
;
27332 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27358 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27361 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self",(char *) "other", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27390 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27393 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27395 PyObject
* obj0
= 0 ;
27396 PyObject
* obj1
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "other", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27422 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 PyObject
* obj1
= 0 ;
27428 char *kwnames
[] = {
27429 (char *) "self",(char *) "w", NULL
27432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27435 arg2
= (int) SWIG_AsInt(obj1
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27437 if (arg1
) (arg1
)->w
= arg2
;
27439 Py_INCREF(Py_None
); resultobj
= Py_None
;
27446 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27458 result
= (int) ((arg1
)->w
);
27460 resultobj
= SWIG_FromInt((int)result
);
27467 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
;
27469 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27471 PyObject
* obj0
= 0 ;
27472 PyObject
* obj1
= 0 ;
27473 char *kwnames
[] = {
27474 (char *) "self",(char *) "h", NULL
27477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27480 arg2
= (int) SWIG_AsInt(obj1
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27482 if (arg1
) (arg1
)->h
= arg2
;
27484 Py_INCREF(Py_None
); resultobj
= Py_None
;
27491 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 result
= (int) ((arg1
)->h
);
27505 resultobj
= SWIG_FromInt((int)result
);
27512 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "bpp", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 arg2
= (int) SWIG_AsInt(obj1
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27527 if (arg1
) (arg1
)->bpp
= arg2
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27536 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 result
= (int) ((arg1
)->bpp
);
27550 resultobj
= SWIG_FromInt((int)result
);
27557 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27561 PyObject
* obj0
= 0 ;
27562 PyObject
* obj1
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self",(char *) "refresh", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27570 arg2
= (int) SWIG_AsInt(obj1
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27572 if (arg1
) (arg1
)->refresh
= arg2
;
27574 Py_INCREF(Py_None
); resultobj
= Py_None
;
27581 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 result
= (int) ((arg1
)->refresh
);
27595 resultobj
= SWIG_FromInt((int)result
);
27602 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27605 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27607 return Py_BuildValue((char *)"");
27609 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27610 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27615 static PyObject
*_wrap_DefaultVideoMode_get() {
27618 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27623 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 size_t arg1
= (size_t) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "index", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27634 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (wxDisplay
*)new wxDisplay(arg1
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27651 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 Py_INCREF(Py_None
); resultobj
= Py_None
;
27676 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27679 char *kwnames
[] = {
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (size_t)wxDisplay::GetCount();
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27698 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxPoint
*arg1
= 0 ;
27703 PyObject
* obj0
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "pt", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27711 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= SWIG_FromInt((int)result
);
27727 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxWindow
*arg1
= (wxWindow
*) 0 ;
27731 PyObject
* obj0
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "window", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (int)Display_GetFromWindow(arg1
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= SWIG_FromInt((int)result
);
27753 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27781 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27801 wxRect
* resultptr
;
27802 resultptr
= new wxRect((wxRect
&) result
);
27803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27811 static PyObject
*_wrap_Display_GetName(PyObject
*self
, 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_GetName",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
= ((wxDisplay
const *)arg1
)->GetName();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27843 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27871 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27874 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27875 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27877 PyObject
* obj0
= 0 ;
27878 PyObject
* obj1
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self",(char *) "mode", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27890 if (arg2
== NULL
) {
27891 PyErr_SetString(PyExc_TypeError
,"null reference");
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= result
;
27909 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27912 wxVideoMode result
;
27913 PyObject
* obj0
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 wxVideoMode
* resultptr
;
27930 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27939 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27942 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27943 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "self",(char *) "mode", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27958 if (arg2
== NULL
) {
27959 PyErr_SetString(PyExc_TypeError
,"null reference");
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27979 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27982 PyObject
* obj0
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 (arg1
)->ResetMode();
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 Py_INCREF(Py_None
); resultobj
= Py_None
;
28004 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28007 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28009 return Py_BuildValue((char *)"");
28011 static PyMethodDef SwigMethods
[] = {
28012 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28019 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28026 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28086 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28094 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28110 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28115 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28118 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28121 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28127 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28141 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28147 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28153 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28156 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28169 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28172 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28173 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28176 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28203 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28205 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28207 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28209 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28216 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28222 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28235 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28240 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28243 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28260 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28268 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28314 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28342 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28343 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28345 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28347 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28348 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28350 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28366 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28382 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28396 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28405 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28448 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28451 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28454 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28458 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28550 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28551 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28552 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28553 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28554 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28555 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28556 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28557 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28558 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28559 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28570 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28615 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28649 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28657 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28658 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28663 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28672 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28676 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28679 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28682 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28687 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28690 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28694 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28697 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28701 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28707 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28711 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28713 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28723 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28734 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28742 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28750 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28763 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28767 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28785 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28803 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28805 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28808 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28809 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28811 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28812 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28814 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28815 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28817 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28818 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28820 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28821 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28823 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28824 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28826 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28827 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28829 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28832 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28833 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28835 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28838 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28839 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28841 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28842 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28844 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28847 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28848 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28850 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28851 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28853 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28854 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28856 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28857 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28859 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28860 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28862 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28863 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28865 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28868 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28871 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28874 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28875 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28877 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28878 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28880 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28881 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28883 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28884 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28886 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28887 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28889 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28890 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28892 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28895 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28896 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28898 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28899 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28901 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28902 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28904 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28905 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28907 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28910 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28911 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28913 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28914 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28916 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28917 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28919 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28920 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28922 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28923 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28925 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28926 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28928 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28929 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28931 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28932 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28934 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28935 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28937 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28938 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28940 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28941 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28943 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28944 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28946 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28947 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28949 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28950 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28952 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28953 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28955 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28956 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28958 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28959 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28961 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28962 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28964 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28965 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28967 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28968 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28970 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28971 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28973 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28974 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28976 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28977 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28979 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28980 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28982 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28983 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28985 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28986 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28988 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28989 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28991 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28992 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28994 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28995 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28997 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29000 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29001 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29003 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29004 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29006 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29007 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29009 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29010 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29012 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29013 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29015 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29016 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29018 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29019 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29021 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29022 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29024 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29027 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29030 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29033 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29036 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29039 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29042 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29045 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) ((wxSizer
*) x
));
29048 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29051 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29054 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29057 static void *_p_wxEventTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) ((wxEvent
*) x
));
29060 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29063 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29066 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29069 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29072 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29075 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29078 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29081 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29084 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29087 static void *_p_wxControlTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29090 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29093 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29096 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29099 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29102 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29105 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29108 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29111 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29114 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29117 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29120 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29123 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29126 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29129 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29132 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29135 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29138 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29141 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29144 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29147 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29150 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29153 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29156 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29159 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29162 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29165 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29168 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29171 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29174 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29177 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29180 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29183 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29186 static void *_p_wxImageTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) ((wxImage
*) x
));
29189 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29192 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29195 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29198 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29201 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29204 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29207 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29210 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29213 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29216 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29219 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29222 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29225 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29228 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29229 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29231 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29232 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29234 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29235 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29237 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29238 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29240 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29241 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29243 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29246 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29247 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29249 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29250 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29252 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29253 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29255 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29258 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29261 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29264 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29267 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29270 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29273 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29274 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29276 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29277 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29279 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29280 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29282 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29283 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29285 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29286 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29288 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29289 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29291 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29292 return (void *)((wxWindow
*) ((wxControl
*) x
));
29294 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29295 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29297 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29298 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29300 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29301 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29303 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29304 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29393 static swig_type_info
*swig_types_initial
[] = {
29394 _swigt__p_wxLogChain
,
29395 _swigt__p_wxMutexGuiLocker
,
29396 _swigt__p_wxFileHistory
,
29398 _swigt__p_wxDateTime__TimeZone
,
29401 _swigt__p_wxConfigBase
,
29402 _swigt__p_wxDisplay
,
29403 _swigt__p_wxFileType
,
29404 _swigt__p_wxLogGui
,
29406 _swigt__p_wxDataFormat
,
29407 _swigt__p_wxTimerEvent
,
29411 _swigt__p_wxClipboard
,
29412 _swigt__p_wxStopWatch
,
29414 _swigt__p_wxClipboardLocker
,
29416 _swigt__p_wxLogStderr
,
29417 _swigt__p_wxLogTextCtrl
,
29418 _swigt__p_wxTextCtrl
,
29419 _swigt__p_wxBusyCursor
,
29420 _swigt__p_wxPyTextDataObject
,
29421 _swigt__p_wxBitmapDataObject
,
29422 _swigt__p_wxTextDataObject
,
29423 _swigt__p_wxDataObject
,
29424 _swigt__p_wxPyBitmapDataObject
,
29425 _swigt__p_wxFileDataObject
,
29426 _swigt__p_wxCustomDataObject
,
29427 _swigt__p_wxURLDataObject
,
29428 _swigt__p_wxMetafileDataObject
,
29430 _swigt__p_wxTimerRunner
,
29431 _swigt__p_wxLogWindow
,
29432 _swigt__p_wxTimeSpan
,
29433 _swigt__p_wxArrayString
,
29434 _swigt__p_wxWindowDisabler
,
29435 _swigt__p_wxToolTip
,
29436 _swigt__p_wxDataObjectComposite
,
29437 _swigt__p_wxFileConfig
,
29438 _swigt__p_wxSystemSettings
,
29439 _swigt__p_wxVideoMode
,
29440 _swigt__p_wxPyDataObjectSimple
,
29441 _swigt__p_wxDataObjectSimple
,
29442 _swigt__p_wxEvtHandler
,
29445 _swigt__p_wxSingleInstanceChecker
,
29446 _swigt__p_wxFileTypeInfo
,
29449 _swigt__p_wxMimeTypesManager
,
29450 _swigt__p_wxPyArtProvider
,
29451 _swigt__p_wxPyTipProvider
,
29452 _swigt__p_wxTipProvider
,
29453 _swigt__p_wxJoystick
,
29454 _swigt__p_wxSystemOptions
,
29456 _swigt__p_wxJoystickEvent
,
29457 _swigt__p_wxCursor
,
29458 _swigt__p_wxObject
,
29459 _swigt__p_wxOutputStream
,
29460 _swigt__p_wxDateTime
,
29461 _swigt__p_wxPyDropSource
,
29462 _swigt__p_wxWindow
,
29463 _swigt__p_wxString
,
29464 _swigt__p_wxPyProcess
,
29465 _swigt__p_wxBitmap
,
29466 _swigt__p_wxConfig
,
29468 _swigt__p_wxBusyInfo
,
29469 _swigt__p_wxPyDropTarget
,
29470 _swigt__p_wxPyTextDropTarget
,
29471 _swigt__p_wxPyFileDropTarget
,
29472 _swigt__p_wxProcessEvent
,
29474 _swigt__p_wxLogNull
,
29475 _swigt__p_wxColour
,
29477 _swigt__p_wxConfigPathChanger
,
29478 _swigt__p_wxPyTimer
,
29479 _swigt__p_wxDateSpan
,
29484 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29486 static swig_const_info swig_const_table
[] = {
29487 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29488 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29489 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29490 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29491 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29501 SWIGEXPORT(void) SWIG_init(void) {
29502 static PyObject
*SWIG_globals
= 0;
29503 static int typeinit
= 0;
29506 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29507 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29508 d
= PyModule_GetDict(m
);
29511 for (i
= 0; swig_types_initial
[i
]; i
++) {
29512 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29516 SWIG_InstallConstants(d
,swig_const_table
);
29518 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29519 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29520 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29521 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29522 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29523 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29524 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29525 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29526 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29527 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29528 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29529 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29530 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29531 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29532 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29533 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29534 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29540 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29541 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29542 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29543 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29544 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29545 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29546 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29547 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29548 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29549 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29550 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29551 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29552 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29553 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29554 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29555 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29556 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29557 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29558 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29559 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29560 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29561 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29562 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29563 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29564 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29565 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29566 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29567 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29568 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29569 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29570 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29571 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29572 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29573 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29574 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29575 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29576 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29577 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29578 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29579 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29580 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29581 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29582 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29583 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29584 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29585 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29586 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29587 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29588 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29589 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29590 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29591 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29592 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29593 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29594 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29595 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29596 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29597 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29598 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29599 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29600 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29601 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29602 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29603 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29604 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29605 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29606 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29607 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29608 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29609 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29610 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29611 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29612 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29613 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29614 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29615 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29616 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29617 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29618 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29619 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29620 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29621 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29622 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29623 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29624 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29625 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29626 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29627 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29628 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29629 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29630 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29631 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29632 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29633 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29634 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29635 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29636 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29637 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29638 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29639 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29640 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29641 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29642 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29643 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29644 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29645 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29646 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29647 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29648 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29649 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29650 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29651 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29652 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29653 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29654 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29655 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29656 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29657 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29658 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29659 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29660 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29661 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29662 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29663 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29664 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29665 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29666 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29667 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29669 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29671 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29672 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29673 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29674 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29675 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29676 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29677 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29678 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29679 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29680 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29681 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29682 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29683 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29684 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29685 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29686 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29687 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29688 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29689 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29690 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29691 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29692 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29693 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29694 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29730 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29732 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29733 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29734 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29735 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29736 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29737 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29738 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29739 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29740 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29741 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29742 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29743 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29744 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29745 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29746 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29747 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29748 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29749 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29750 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29751 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29752 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29753 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29754 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29755 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29756 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29757 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29758 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29759 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29760 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29761 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29762 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29763 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29764 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29765 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29766 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29767 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29768 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29769 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29770 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29771 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29772 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29773 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29774 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29775 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29776 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29777 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29778 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29779 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29780 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29781 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29782 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29783 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29784 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29785 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29786 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29787 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29788 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29789 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29790 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29791 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29792 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29793 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29794 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29795 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29796 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29797 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29798 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29799 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29800 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29801 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29802 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29803 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29836 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29837 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29838 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29839 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29840 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29841 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29842 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29843 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29844 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29845 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29846 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29847 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29848 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29849 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29850 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29851 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29852 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29853 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29854 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29855 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29861 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29862 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29863 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29864 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29865 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29866 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29867 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29868 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29869 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29870 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29871 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29872 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29873 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29874 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29875 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29876 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29877 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29878 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29879 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29880 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29881 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29882 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29883 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29884 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29885 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29886 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29887 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29888 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29889 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29890 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29891 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29892 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29893 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29894 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29895 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29896 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29897 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29898 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29899 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29900 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29901 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29902 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29903 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29904 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29905 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29906 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29907 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29908 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29909 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29910 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29911 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29912 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29913 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29914 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29915 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29916 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29917 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29918 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29919 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29920 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29921 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29922 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29923 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29924 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29925 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29926 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29927 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29928 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29929 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29930 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29931 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29933 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29934 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29935 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29936 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29938 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29939 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);