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 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
426 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
427 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
428 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
430 SWIGSTATICINLINE(int)
431 SWIG_CheckLong(PyObject
* obj
)
434 if (PyErr_Occurred()) {
443 SWIGSTATICINLINE(bool)
444 SWIG_AsBool(PyObject
*obj
)
446 return PyObject_IsTrue(obj
) ? true : false;
450 SWIGSTATICINLINE(int)
451 SWIG_CheckBool(PyObject
* obj
)
454 if (PyErr_Occurred()) {
463 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
469 } else if (target
== Py_None
) {
473 if (!PyTuple_Check(target
)) {
475 target
= PyTuple_New(1);
476 PyTuple_SetItem(target
, 0, o2
);
479 PyTuple_SetItem(o3
, 0, o
);
482 target
= PySequence_Concat(o2
, o3
);
490 long wxGetFreeMemory()
491 { wxPyRaiseNotImplemented(); return 0; }
494 SWIGSTATICINLINE(unsigned long)
495 SWIG_AsUnsignedLong(PyObject
* obj
)
497 if (PyLong_Check(obj
)) {
498 return PyLong_AsUnsignedLong(obj
);
500 long i
= SWIG_AsLong(obj
);
501 if ( !PyErr_Occurred() && (i
< 0)) {
502 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
509 SWIGSTATICINLINE(int)
510 SWIG_CheckUnsignedLong(PyObject
* obj
)
512 SWIG_AsUnsignedLong(obj
);
513 if (PyErr_Occurred()) {
522 SWIGSTATICINLINE(PyObject
* )
523 SWIG_FromUnsignedLong(unsigned long value
)
525 return (value
> LONG_MAX
) ?
526 PyLong_FromUnsignedLong(value
)
527 : PyInt_FromLong(swig_numeric_cast(long,value
));
531 bool wxGetKeyState(wxKeyCode key
)
532 { wxPyRaiseNotImplemented(); return False
; }
535 void wxWakeUpMainThread() {}
538 bool wxThread_IsMain() {
539 #ifdef WXP_WITH_THREAD
540 return wxThread::IsMain();
547 int wxCaret_GetBlinkTime() {
548 return wxCaret::GetBlinkTime();
551 void wxCaret_SetBlinkTime(int milliseconds
) {
552 wxCaret::SetBlinkTime(milliseconds
);
556 #include <wx/snglinst.h>
560 #include <wx/msw/private.h>
561 #include <wx/dynload.h>
566 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
573 // This one only partially works. Appears to be an undocumented
574 // "standard" convention that not all widgets adhear to. For
575 // example, for some widgets backgrounds or non-client areas may
577 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
581 // This one works much better, except for on XP. On Win2k nearly
582 // all widgets and their children are captured correctly[**]. On
583 // XP with Themes activated most native widgets draw only
584 // partially, if at all. Without themes it works just like on
587 // ** For example the radio buttons in a wxRadioBox are not its
588 // children by default, but you can capture it via the panel
589 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
590 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
591 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
592 PRF_ERASEBKGND
| PRF_OWNED
);
596 // This one is only defined in the latest SDK and is only
597 // available on XP. MSDN says it is similar to sending WM_PRINT
598 // so I expect that it will work similar to the above. Since it
599 // is avaialble only on XP, it can't be compiled like this and
600 // will have to be loaded dynamically.
601 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
606 // Use PrintWindow if available, or fallback to WM_PRINT
607 // otherwise. Unfortunately using PrintWindow is even worse than
608 // WM_PRINT. For most native widgets nothing is drawn to the dc
609 // at all, with or without Themes.
610 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
611 static bool s_triedToLoad
= False
;
612 static PrintWindow_t pfnPrintWindow
= NULL
;
613 if ( !s_triedToLoad
)
616 s_triedToLoad
= True
;
617 wxDynamicLibrary
dllUser32(_T("user32.dll"));
618 if ( dllUser32
.IsLoaded() )
620 wxLogNull nolog
; // Don't report errors here
621 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
626 printf("Using PrintWindow\n");
627 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
631 printf("Using WM_PRINT\n");
632 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
633 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
641 #include <wx/tipdlg.h>
644 class wxPyTipProvider
: public wxTipProvider
{
646 wxPyTipProvider(size_t currentTip
)
647 : wxTipProvider(currentTip
) {}
649 DEC_PYCALLBACK_STRING__pure(GetTip
);
650 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
654 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
655 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
658 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
660 void wxPyTimer::Notify() {
662 bool blocked
= wxPyBeginBlockThreads();
663 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
664 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
665 wxPyEndBlockThreads(blocked
);
669 void wxPyTimer::base_Notify() {
675 SWIGSTATICINLINE(PyObject
*)
676 SWIG_FromCharPtr(const char* cptr
)
678 size_t size
= cptr
? strlen(cptr
) : 0;
680 if (size
> INT_MAX
) {
681 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
682 SWIG_TypeQuery("char *"), 0);
684 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
693 SWIGSTATICINLINE(unsigned long)
694 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
695 unsigned long max_value
)
697 if (!PyErr_Occurred()) {
698 if (value
> max_value
) {
700 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
701 value
, type
, max_value
);
702 PyErr_SetObject(PyExc_OverflowError
, err
);
710 #if UINT_MAX != ULONG_MAX
711 SWIGSTATICINLINE(unsigned int)
712 SWIG_AsUnsignedInt(PyObject
*obj
)
714 return swig_numeric_cast(unsigned int,
715 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
716 "unsigned int", UINT_MAX
));
719 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
723 SWIGSTATICINLINE(int)
724 SWIG_CheckUnsignedInt(PyObject
* obj
)
726 SWIG_AsUnsignedInt(obj
);
727 if (PyErr_Occurred()) {
735 wxString
Log_TimeStamp(){
737 wxLog::TimeStamp(&msg
);
740 void wxLog_Destroy(wxLog
*self
){ delete self
; }
742 // A wxLog class that can be derived from in wxPython
743 class wxPyLog
: public wxLog
{
745 wxPyLog() : wxLog() {}
747 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
749 bool blocked
= wxPyBeginBlockThreads();
750 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
751 PyObject
* s
= wx2PyString(szString
);
752 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
755 wxPyEndBlockThreads(blocked
);
757 wxLog::DoLog(level
, szString
, t
);
760 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
762 bool blocked
= wxPyBeginBlockThreads();
763 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
764 PyObject
* s
= wx2PyString(szString
);
765 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
768 wxPyEndBlockThreads(blocked
);
770 wxLog::DoLogString(szString
, t
);
779 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
782 #include <wx/joystick.h>
785 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
786 // A C++ stub class for wxJoystick for platforms that don't have it.
787 class wxJoystick
: public wxObject
{
789 wxJoystick(int joystick
= wxJOYSTICK1
) {
790 bool blocked
= wxPyBeginBlockThreads();
791 PyErr_SetString(PyExc_NotImplementedError
,
792 "wxJoystick is not available on this platform.");
793 wxPyEndBlockThreads(blocked
);
795 wxPoint
GetPosition() { return wxPoint(-1,-1); }
796 int GetZPosition() { return -1; }
797 int GetButtonState() { return -1; }
798 int GetPOVPosition() { return -1; }
799 int GetPOVCTSPosition() { return -1; }
800 int GetRudderPosition() { return -1; }
801 int GetUPosition() { return -1; }
802 int GetVPosition() { return -1; }
803 int GetMovementThreshold() { return -1; }
804 void SetMovementThreshold(int threshold
) {}
806 bool IsOk(void) { return False
; }
807 int GetNumberJoysticks() { return -1; }
808 int GetManufacturerId() { return -1; }
809 int GetProductId() { return -1; }
810 wxString
GetProductName() { return ""; }
811 int GetXMin() { return -1; }
812 int GetYMin() { return -1; }
813 int GetZMin() { return -1; }
814 int GetXMax() { return -1; }
815 int GetYMax() { return -1; }
816 int GetZMax() { return -1; }
817 int GetNumberButtons() { return -1; }
818 int GetNumberAxes() { return -1; }
819 int GetMaxButtons() { return -1; }
820 int GetMaxAxes() { return -1; }
821 int GetPollingMin() { return -1; }
822 int GetPollingMax() { return -1; }
823 int GetRudderMin() { return -1; }
824 int GetRudderMax() { return -1; }
825 int GetUMin() { return -1; }
826 int GetUMax() { return -1; }
827 int GetVMin() { return -1; }
828 int GetVMax() { return -1; }
830 bool HasRudder() { return False
; }
831 bool HasZ() { return False
; }
832 bool HasU() { return False
; }
833 bool HasV() { return False
; }
834 bool HasPOV() { return False
; }
835 bool HasPOV4Dir() { return False
; }
836 bool HasPOVCTS() { return False
; }
838 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
839 bool ReleaseCapture() { return False
; }
844 #include <wx/sound.h>
848 // A C++ stub class for wxWave for platforms that don't have it.
849 class wxSound
: public wxObject
853 bool blocked
= wxPyBeginBlockThreads();
854 PyErr_SetString(PyExc_NotImplementedError
,
855 "wxSound is not available on this platform.");
856 wxPyEndBlockThreads(blocked
);
858 wxSound(const wxString
&, bool) {
859 bool blocked
= wxPyBeginBlockThreads();
860 PyErr_SetString(PyExc_NotImplementedError
,
861 "wxSound is not available on this platform.");
862 wxPyEndBlockThreads(blocked
);
864 wxSound(int, const wxByte
*) {
865 bool blocked
= wxPyBeginBlockThreads();
866 PyErr_SetString(PyExc_NotImplementedError
,
867 "wxSound is not available on this platform.");
868 wxPyEndBlockThreads(blocked
);
873 bool Create(const wxString
&, bool) { return false; }
874 bool Create(int, const wxByte
*) { return false; };
875 bool IsOk() { return false; };
876 bool Play(unsigned) const { return false; }
877 static bool Play(const wxString
&, unsigned) { return false; }
878 static void Stop() {}
884 #include <wx/mimetype.h>
886 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
888 if (self
->GetMimeType(&str
))
889 return wx2PyString(str
);
893 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
895 if (self
->GetMimeTypes(arr
))
896 return wxArrayString2PyList_helper(arr
);
900 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
902 if (self
->GetExtensions(arr
))
903 return wxArrayString2PyList_helper(arr
);
907 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
909 if (self
->GetIcon(&loc
))
910 return new wxIcon(loc
);
914 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
916 if (self
->GetIcon(&loc
)) {
917 wxString iconFile
= loc
.GetFileName();
922 // Make a tuple and put the values in it
923 bool blocked
= wxPyBeginBlockThreads();
924 PyObject
* tuple
= PyTuple_New(3);
925 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
926 wxT("wxIcon"), True
));
927 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
928 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
929 wxPyEndBlockThreads(blocked
);
935 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
937 if (self
->GetDescription(&str
))
938 return wx2PyString(str
);
942 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
944 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
945 return wx2PyString(str
);
949 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
951 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
952 return wx2PyString(str
);
956 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
958 wxArrayString commands
;
959 if (self
->GetAllCommands(&verbs
, &commands
,
960 wxFileType::MessageParameters(filename
, mimetype
))) {
961 bool blocked
= wxPyBeginBlockThreads();
962 PyObject
* tuple
= PyTuple_New(2);
963 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
964 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
965 wxPyEndBlockThreads(blocked
);
971 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
972 return wxFileType::ExpandCommand(command
,
973 wxFileType::MessageParameters(filename
, mimetype
));
975 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
977 self
->EnumAllFileTypes(arr
);
978 return wxArrayString2PyList_helper(arr
);
981 #include <wx/artprov.h>
983 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
984 static const wxString
wxPyART_MENU(wxART_MENU
);
985 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
986 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
987 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
988 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
989 static const wxString
wxPyART_OTHER(wxART_OTHER
);
990 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
991 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
992 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
993 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
994 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
995 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
996 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
997 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
998 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
999 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1000 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1001 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1002 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1003 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1004 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1005 static const wxString
wxPyART_HELP(wxART_HELP
);
1006 static const wxString
wxPyART_TIP(wxART_TIP
);
1007 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1008 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1009 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1010 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1011 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1012 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1013 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1014 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1015 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1016 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1017 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1018 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1019 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1020 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1021 // Python aware wxArtProvider
1022 class wxPyArtProvider
: public wxArtProvider
{
1025 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1026 const wxArtClient
& client
,
1027 const wxSize
& size
) {
1028 wxBitmap rval
= wxNullBitmap
;
1029 bool blocked
= wxPyBeginBlockThreads();
1030 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1031 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1035 s1
= wx2PyString(id
);
1036 s2
= wx2PyString(client
);
1037 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1042 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1047 wxPyEndBlockThreads(blocked
);
1054 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1058 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1059 PyObject
* ret
= PyTuple_New(3);
1061 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1062 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1063 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1068 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1073 cont
= self
->GetFirstGroup(value
, index
);
1074 return __EnumerationHelper(cont
, value
, index
);
1076 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1080 cont
= self
->GetNextGroup(value
, index
);
1081 return __EnumerationHelper(cont
, value
, index
);
1083 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1088 cont
= self
->GetFirstEntry(value
, index
);
1089 return __EnumerationHelper(cont
, value
, index
);
1091 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1095 cont
= self
->GetNextEntry(value
, index
);
1096 return __EnumerationHelper(cont
, value
, index
);
1098 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1100 self
->Read(key
, &rv
, defaultVal
);
1104 SWIGSTATICINLINE(double)
1105 SWIG_AsDouble(PyObject
*obj
)
1107 if (PyNumber_Check(obj
))
1108 return PyFloat_AsDouble(obj
);
1110 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1111 obj
->ob_type
->tp_name
);
1112 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1119 SWIGSTATICINLINE(int)
1120 SWIG_CheckDouble(PyObject
* obj
)
1123 if (PyErr_Occurred()) {
1131 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1133 self
->Read(key
, &rv
, defaultVal
);
1136 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1138 self
->Read(key
, &rv
, defaultVal
);
1142 #include <wx/datetime.h>
1145 static const wxString
wxPyDateFormatStr(wxT("%c"));
1146 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1148 #define LOCAL_TZ wxDateTime::Local
1151 #if UINT_MAX < LONG_MAX
1152 #define SWIG_FromUnsignedInt SWIG_FromLong
1154 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1157 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1158 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1159 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1160 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1161 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1162 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1163 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1164 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1165 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1166 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1167 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1168 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1170 const wxChar
* _date
= date
;
1171 rv
= self
->ParseRfc822Date(_date
);
1172 if (rv
== NULL
) return -1;
1175 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1177 const wxChar
* _date
= date
;
1178 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1179 if (rv
== NULL
) return -1;
1182 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1184 const wxChar
* _datetime
= datetime
;
1185 rv
= self
->ParseDateTime(_datetime
);
1186 if (rv
== NULL
) return -1;
1187 return rv
- _datetime
;
1189 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1191 const wxChar
* _date
= date
;
1192 rv
= self
->ParseDate(_date
);
1193 if (rv
== NULL
) return -1;
1196 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1198 const wxChar
* _time
= time
;
1199 rv
= self
->ParseTime(_time
);
1200 if (rv
== NULL
) return -1;
1203 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1204 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1205 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1206 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1207 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1208 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1209 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1210 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1211 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1212 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1213 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1214 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1215 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1216 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1217 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1218 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1220 #include <wx/dataobj.h>
1222 // Create a new class for wxPython to use
1223 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1225 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1226 : wxDataObjectSimple(format
) {}
1228 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1229 bool GetDataHere(void *buf
) const;
1230 bool SetData(size_t len
, const void *buf
) const;
1234 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1236 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1237 // We need to get the data for this object and write it to buf. I think
1238 // the best way to do this for wxPython is to have the Python method
1239 // return either a string or None and then act appropriately with the
1243 bool blocked
= wxPyBeginBlockThreads();
1244 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1246 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1248 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1250 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1254 wxPyEndBlockThreads(blocked
);
1258 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1259 // For this one we simply need to make a string from buf and len
1260 // and send it to the Python method.
1262 bool blocked
= wxPyBeginBlockThreads();
1263 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1264 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1265 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1268 wxPyEndBlockThreads(blocked
);
1272 // Create a new class for wxPython to use
1273 class wxPyTextDataObject
: public wxTextDataObject
{
1275 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1276 : wxTextDataObject(text
) {}
1278 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1279 DEC_PYCALLBACK_STRING__const(GetText
);
1280 DEC_PYCALLBACK__STRING(SetText
);
1284 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1285 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1286 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1289 // Create a new class for wxPython to use
1290 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1292 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1293 : wxBitmapDataObject(bitmap
) {}
1295 wxBitmap
GetBitmap() const;
1296 void SetBitmap(const wxBitmap
& bitmap
);
1300 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1301 wxBitmap
* rval
= &wxNullBitmap
;
1302 bool blocked
= wxPyBeginBlockThreads();
1303 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1306 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1308 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1313 wxPyEndBlockThreads(blocked
);
1317 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1318 bool blocked
= wxPyBeginBlockThreads();
1319 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1320 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1321 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1324 wxPyEndBlockThreads(blocked
);
1327 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1328 if (PyString_Check(data
)) {
1329 // for Python we just call SetData here since we always need it to make a copy.
1330 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1333 // raise a TypeError if not a string
1334 PyErr_SetString(PyExc_TypeError
, "String expected.");
1337 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1338 if (PyString_Check(data
)) {
1339 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError
, "String expected.");
1347 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1348 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1351 class wxMetafileDataObject
: public wxDataObjectSimple
1354 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1358 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1361 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1362 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1363 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1364 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1365 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1368 class wxPyTextDropTarget
: public wxTextDropTarget
{
1370 wxPyTextDropTarget() {}
1372 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1374 DEC_PYCALLBACK__(OnLeave
);
1375 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1376 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1377 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1378 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1383 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1384 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1385 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1386 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1387 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1388 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1392 class wxPyFileDropTarget
: public wxFileDropTarget
{
1394 wxPyFileDropTarget() {}
1396 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1398 DEC_PYCALLBACK__(OnLeave
);
1399 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1400 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1401 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1402 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1407 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1408 const wxArrayString
& filenames
) {
1410 bool blocked
= wxPyBeginBlockThreads();
1411 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1412 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1413 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1416 wxPyEndBlockThreads(blocked
);
1422 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1423 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1424 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1425 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1426 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1431 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1433 #include "wx/display.h"
1435 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1436 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1437 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1438 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1439 PyObject
* pyList
= NULL
;
1440 wxArrayVideoModes arr
= self
->GetModes(mode
);
1441 bool blocked
= wxPyBeginBlockThreads();
1442 pyList
= PyList_New(0);
1443 for (int i
=0; i
< arr
.GetCount(); i
++) {
1444 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1445 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1446 PyList_Append(pyList
, pyObj
);
1448 wxPyEndBlockThreads(blocked
);
1454 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "index", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1464 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1474 wxColour
* resultptr
;
1475 resultptr
= new wxColour((wxColour
&) result
);
1476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1484 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1488 PyObject
* obj0
= 0 ;
1490 (char *) "index", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1494 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1505 resultptr
= new wxFont((wxFont
&) result
);
1506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1514 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
*resultobj
;
1518 PyObject
* obj0
= 0 ;
1520 (char *) "index", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1524 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1533 resultobj
= SWIG_FromInt((int)result
);
1540 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "index", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1550 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1568 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 result
= (int)wxSystemSettings::GetScreenType();
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 resultobj
= SWIG_FromInt((int)result
);
1590 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "screen", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1599 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 Py_INCREF(Py_None
); resultobj
= Py_None
;
1615 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1618 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1620 return Py_BuildValue((char *)"");
1622 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxSystemOptions
*result
;
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (wxSystemOptions
*)new wxSystemOptions();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1644 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 wxString
*arg1
= 0 ;
1647 wxString
*arg2
= 0 ;
1648 bool temp1
= False
;
1649 bool temp2
= False
;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1653 (char *) "name",(char *) "value", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1658 arg1
= wxString_in_helper(obj0
);
1659 if (arg1
== NULL
) SWIG_fail
;
1663 arg2
= wxString_in_helper(obj1
);
1664 if (arg2
== NULL
) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1697 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxString
*arg1
= 0 ;
1701 bool temp1
= False
;
1702 PyObject
* obj0
= 0 ;
1703 PyObject
* obj1
= 0 ;
1705 (char *) "name",(char *) "value", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1710 arg1
= wxString_in_helper(obj0
);
1711 if (arg1
== NULL
) SWIG_fail
;
1714 arg2
= (int) SWIG_AsInt(obj1
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxString
*arg1
= 0 ;
1742 bool temp1
= False
;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "name", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1750 arg1
= wxString_in_helper(obj0
);
1751 if (arg1
== NULL
) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1782 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxString
*arg1
= 0 ;
1786 bool temp1
= False
;
1787 PyObject
* obj0
= 0 ;
1789 (char *) "name", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1794 arg1
= wxString_in_helper(obj0
);
1795 if (arg1
== NULL
) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= SWIG_FromInt((int)result
);
1820 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxString
*arg1
= 0 ;
1824 bool temp1
= False
;
1825 PyObject
* obj0
= 0 ;
1827 (char *) "name", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1832 arg1
= wxString_in_helper(obj0
);
1833 if (arg1
== NULL
) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1860 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1863 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1865 return Py_BuildValue((char *)"");
1867 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1868 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1873 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1878 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1880 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1887 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1888 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1893 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1898 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1900 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1907 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1908 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1913 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1918 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1920 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1927 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 result
= (long)wxNewId();
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 resultobj
= SWIG_FromLong((long)result
);
1949 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1952 PyObject
* obj0
= 0 ;
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1958 arg1
= (long) SWIG_AsLong(obj0
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 Py_INCREF(Py_None
); resultobj
= Py_None
;
1974 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= (long)wxGetCurrentId();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 resultobj
= SWIG_FromLong((long)result
);
1996 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 bool arg1
= (bool) True
;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "resetTimer", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2049 arg1
= (bool) SWIG_AsBool(obj0
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (long)wxGetElapsedTime(arg1
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= SWIG_FromLong((long)result
);
2066 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 int *arg1
= (int *) 0 ;
2069 int *arg2
= (int *) 0 ;
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 wxGetMousePosition(arg1
,arg2
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 Py_INCREF(Py_None
); resultobj
= Py_None
;
2088 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2089 resultobj
= t_output_helper(resultobj
,o
);
2092 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2093 resultobj
= t_output_helper(resultobj
,o
);
2101 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (bool)wxIsBusy();
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2125 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2153 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2156 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2158 bool temp1
= False
;
2159 PyObject
* obj0
= 0 ;
2161 (char *) "command", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2167 arg1
= wxString_in_helper(obj0
);
2168 if (arg1
== NULL
) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 result
= (bool)wxShell((wxString
const &)*arg1
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2196 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 int *arg1
= (int *) 0 ;
2220 int *arg2
= (int *) 0 ;
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (int)wxGetOsVersion(arg1
,arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= SWIG_FromInt((int)result
);
2240 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2241 resultobj
= t_output_helper(resultobj
,o
);
2244 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2245 resultobj
= t_output_helper(resultobj
,o
);
2253 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= wxGetOsDescription();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2281 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 result
= (long)wxGetFreeMemory();
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= SWIG_FromLong((long)result
);
2303 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2307 PyObject
* obj0
= 0 ;
2309 (char *) "wFlags", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2313 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2331 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2334 PyObject
* obj0
= 0 ;
2336 (char *) "secs", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2340 arg1
= (int) SWIG_AsInt(obj0
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 Py_INCREF(Py_None
); resultobj
= Py_None
;
2356 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 unsigned long arg1
;
2359 PyObject
* obj0
= 0 ;
2361 (char *) "milliseconds", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2365 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2384 PyObject
* obj0
= 0 ;
2386 (char *) "enable", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2390 arg1
= (bool) SWIG_AsBool(obj0
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxEnableTopLevelWindows(arg1
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 Py_INCREF(Py_None
); resultobj
= Py_None
;
2406 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
*resultobj
;
2408 wxString
*arg1
= 0 ;
2410 bool temp1
= False
;
2411 PyObject
* obj0
= 0 ;
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2418 arg1
= wxString_in_helper(obj0
);
2419 if (arg1
== NULL
) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2450 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= wxGetEmailAddress();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2478 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 result
= wxGetHostName();
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2506 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 result
= wxGetFullHostName();
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2534 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 result
= wxGetUserId();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2562 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= wxGetUserName();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2590 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= wxGetHomeDir();
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2618 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2621 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2623 bool temp1
= False
;
2624 PyObject
* obj0
= 0 ;
2626 (char *) "user", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2632 arg1
= wxString_in_helper(obj0
);
2633 if (arg1
== NULL
) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= wxGetUserHome((wxString
const &)*arg1
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2665 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 unsigned long result
;
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (unsigned long)wxGetProcessId();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2687 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 Py_INCREF(Py_None
); resultobj
= Py_None
;
2708 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2711 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2712 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2713 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2714 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2715 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2716 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2718 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2719 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2720 int arg6
= (int) 0 ;
2721 wxWindow
*arg7
= (wxWindow
*) NULL
;
2722 int arg8
= (int) -1 ;
2723 int arg9
= (int) -1 ;
2725 bool temp1
= False
;
2726 bool temp2
= False
;
2727 bool temp3
= False
;
2728 bool temp4
= False
;
2729 bool temp5
= False
;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2732 PyObject
* obj2
= 0 ;
2733 PyObject
* obj3
= 0 ;
2734 PyObject
* obj4
= 0 ;
2735 PyObject
* obj5
= 0 ;
2736 PyObject
* obj6
= 0 ;
2737 PyObject
* obj7
= 0 ;
2738 PyObject
* obj8
= 0 ;
2740 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2746 arg1
= wxString_in_helper(obj0
);
2747 if (arg1
== NULL
) SWIG_fail
;
2753 arg2
= wxString_in_helper(obj1
);
2754 if (arg2
== NULL
) SWIG_fail
;
2760 arg3
= wxString_in_helper(obj2
);
2761 if (arg3
== NULL
) SWIG_fail
;
2767 arg4
= wxString_in_helper(obj3
);
2768 if (arg4
== NULL
) SWIG_fail
;
2774 arg5
= wxString_in_helper(obj4
);
2775 if (arg5
== NULL
) SWIG_fail
;
2780 arg6
= (int) SWIG_AsInt(obj5
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2784 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2788 arg8
= (int) SWIG_AsInt(obj7
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2792 arg9
= (int) SWIG_AsInt(obj8
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2855 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxString
*arg1
= 0 ;
2858 wxString
*arg2
= 0 ;
2859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2861 wxWindow
*arg4
= (wxWindow
*) NULL
;
2863 bool temp1
= False
;
2864 bool temp2
= False
;
2865 bool temp3
= False
;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2868 PyObject
* obj2
= 0 ;
2869 PyObject
* obj3
= 0 ;
2871 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2876 arg1
= wxString_in_helper(obj0
);
2877 if (arg1
== NULL
) SWIG_fail
;
2881 arg2
= wxString_in_helper(obj1
);
2882 if (arg2
== NULL
) SWIG_fail
;
2887 arg3
= wxString_in_helper(obj2
);
2888 if (arg3
== NULL
) SWIG_fail
;
2893 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2940 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxString
*arg1
= 0 ;
2943 wxString
*arg2
= 0 ;
2944 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2945 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2946 wxWindow
*arg4
= (wxWindow
*) NULL
;
2948 bool temp1
= False
;
2949 bool temp2
= False
;
2950 bool temp3
= False
;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2953 PyObject
* obj2
= 0 ;
2954 PyObject
* obj3
= 0 ;
2956 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2961 arg1
= wxString_in_helper(obj0
);
2962 if (arg1
== NULL
) SWIG_fail
;
2966 arg2
= wxString_in_helper(obj1
);
2967 if (arg2
== NULL
) SWIG_fail
;
2972 arg3
= wxString_in_helper(obj2
);
2973 if (arg3
== NULL
) SWIG_fail
;
2978 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3025 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3028 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3029 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3031 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3034 wxWindow
*arg5
= (wxWindow
*) NULL
;
3036 bool temp1
= False
;
3037 bool temp2
= False
;
3039 PyObject
* obj0
= 0 ;
3040 PyObject
* obj1
= 0 ;
3041 PyObject
* obj2
= 0 ;
3042 PyObject
* obj3
= 0 ;
3043 PyObject
* obj4
= 0 ;
3045 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3051 arg1
= wxString_in_helper(obj0
);
3052 if (arg1
== NULL
) SWIG_fail
;
3058 arg2
= wxString_in_helper(obj1
);
3059 if (arg2
== NULL
) SWIG_fail
;
3064 arg3
= (long) SWIG_AsLong(obj2
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3074 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3113 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxString
*arg1
= 0 ;
3116 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3117 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3120 wxWindow
*arg4
= (wxWindow
*) NULL
;
3121 int arg5
= (int) -1 ;
3122 int arg6
= (int) -1 ;
3123 bool arg7
= (bool) True
;
3125 bool temp1
= False
;
3126 bool temp2
= False
;
3127 bool temp3
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3132 PyObject
* obj4
= 0 ;
3133 PyObject
* obj5
= 0 ;
3134 PyObject
* obj6
= 0 ;
3136 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3141 arg1
= wxString_in_helper(obj0
);
3142 if (arg1
== NULL
) SWIG_fail
;
3147 arg2
= wxString_in_helper(obj1
);
3148 if (arg2
== NULL
) SWIG_fail
;
3154 arg3
= wxString_in_helper(obj2
);
3155 if (arg3
== NULL
) SWIG_fail
;
3160 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 arg5
= (int) SWIG_AsInt(obj4
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 arg6
= (int) SWIG_AsInt(obj5
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 arg7
= (bool) SWIG_AsBool(obj6
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3219 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxString
*arg1
= 0 ;
3222 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3223 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3224 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3226 wxWindow
*arg4
= (wxWindow
*) NULL
;
3228 bool temp1
= False
;
3229 bool temp2
= False
;
3230 bool temp3
= False
;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3233 PyObject
* obj2
= 0 ;
3234 PyObject
* obj3
= 0 ;
3236 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3241 arg1
= wxString_in_helper(obj0
);
3242 if (arg1
== NULL
) SWIG_fail
;
3247 arg2
= wxString_in_helper(obj1
);
3248 if (arg2
== NULL
) SWIG_fail
;
3254 arg3
= wxString_in_helper(obj2
);
3255 if (arg3
== NULL
) SWIG_fail
;
3260 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3307 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxString
*arg1
= 0 ;
3310 wxString
*arg2
= 0 ;
3312 wxString
*arg4
= (wxString
*) 0 ;
3313 wxWindow
*arg5
= (wxWindow
*) NULL
;
3314 int arg6
= (int) -1 ;
3315 int arg7
= (int) -1 ;
3316 bool arg8
= (bool) True
;
3317 int arg9
= (int) 150 ;
3318 int arg10
= (int) 200 ;
3320 bool temp1
= False
;
3321 bool temp2
= False
;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3325 PyObject
* obj3
= 0 ;
3326 PyObject
* obj4
= 0 ;
3327 PyObject
* obj5
= 0 ;
3328 PyObject
* obj6
= 0 ;
3329 PyObject
* obj7
= 0 ;
3330 PyObject
* obj8
= 0 ;
3332 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3337 arg1
= wxString_in_helper(obj0
);
3338 if (arg1
== NULL
) SWIG_fail
;
3342 arg2
= wxString_in_helper(obj1
);
3343 if (arg2
== NULL
) SWIG_fail
;
3347 arg3
= PyList_Size(obj2
);
3348 arg4
= wxString_LIST_helper(obj2
);
3349 if (arg4
== NULL
) SWIG_fail
;
3352 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg6
= (int) SWIG_AsInt(obj4
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 arg7
= (int) SWIG_AsInt(obj5
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 arg8
= (bool) SWIG_AsBool(obj6
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3368 arg9
= (int) SWIG_AsInt(obj7
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 arg10
= (int) SWIG_AsInt(obj8
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3398 if (arg4
) delete [] arg4
;
3411 if (arg4
) delete [] arg4
;
3417 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxString
*arg1
= 0 ;
3420 wxString
*arg2
= 0 ;
3422 wxString
*arg4
= (wxString
*) 0 ;
3423 wxWindow
*arg5
= (wxWindow
*) NULL
;
3424 int arg6
= (int) -1 ;
3425 int arg7
= (int) -1 ;
3426 bool arg8
= (bool) True
;
3427 int arg9
= (int) 150 ;
3428 int arg10
= (int) 200 ;
3430 bool temp1
= False
;
3431 bool temp2
= False
;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3434 PyObject
* obj2
= 0 ;
3435 PyObject
* obj3
= 0 ;
3436 PyObject
* obj4
= 0 ;
3437 PyObject
* obj5
= 0 ;
3438 PyObject
* obj6
= 0 ;
3439 PyObject
* obj7
= 0 ;
3440 PyObject
* obj8
= 0 ;
3442 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3447 arg1
= wxString_in_helper(obj0
);
3448 if (arg1
== NULL
) SWIG_fail
;
3452 arg2
= wxString_in_helper(obj1
);
3453 if (arg2
== NULL
) SWIG_fail
;
3457 arg3
= PyList_Size(obj2
);
3458 arg4
= wxString_LIST_helper(obj2
);
3459 if (arg4
== NULL
) SWIG_fail
;
3462 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 arg6
= (int) SWIG_AsInt(obj4
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3470 arg7
= (int) SWIG_AsInt(obj5
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3474 arg8
= (bool) SWIG_AsBool(obj6
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 arg9
= (int) SWIG_AsInt(obj7
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 arg10
= (int) SWIG_AsInt(obj8
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 resultobj
= SWIG_FromInt((int)result
);
3502 if (arg4
) delete [] arg4
;
3515 if (arg4
) delete [] arg4
;
3521 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxString
*arg1
= 0 ;
3524 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3525 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3526 int arg3
= (int) wxOK
|wxCENTRE
;
3527 wxWindow
*arg4
= (wxWindow
*) NULL
;
3528 int arg5
= (int) -1 ;
3529 int arg6
= (int) -1 ;
3531 bool temp1
= False
;
3532 bool temp2
= False
;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3535 PyObject
* obj2
= 0 ;
3536 PyObject
* obj3
= 0 ;
3537 PyObject
* obj4
= 0 ;
3538 PyObject
* obj5
= 0 ;
3540 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3545 arg1
= wxString_in_helper(obj0
);
3546 if (arg1
== NULL
) SWIG_fail
;
3551 arg2
= wxString_in_helper(obj1
);
3552 if (arg2
== NULL
) SWIG_fail
;
3557 arg3
= (int) SWIG_AsInt(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg5
= (int) SWIG_AsInt(obj4
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 arg6
= (int) SWIG_AsInt(obj5
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= SWIG_FromInt((int)result
);
3602 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3604 wxString
*arg1
= 0 ;
3605 wxString
*arg2
= 0 ;
3606 wxString
*arg3
= 0 ;
3608 long arg5
= (long) 0 ;
3609 long arg6
= (long) 100 ;
3610 wxWindow
*arg7
= (wxWindow
*) NULL
;
3611 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3612 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3614 bool temp1
= False
;
3615 bool temp2
= False
;
3616 bool temp3
= False
;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3620 PyObject
* obj2
= 0 ;
3621 PyObject
* obj3
= 0 ;
3622 PyObject
* obj4
= 0 ;
3623 PyObject
* obj5
= 0 ;
3624 PyObject
* obj6
= 0 ;
3625 PyObject
* obj7
= 0 ;
3627 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3632 arg1
= wxString_in_helper(obj0
);
3633 if (arg1
== NULL
) SWIG_fail
;
3637 arg2
= wxString_in_helper(obj1
);
3638 if (arg2
== NULL
) SWIG_fail
;
3642 arg3
= wxString_in_helper(obj2
);
3643 if (arg3
== NULL
) SWIG_fail
;
3646 arg4
= (long) SWIG_AsLong(obj3
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 arg5
= (long) SWIG_AsLong(obj4
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3653 arg6
= (long) SWIG_AsLong(obj5
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3663 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_FromLong((long)result
);
3704 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (bool)wxColourDisplay();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3728 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (int)wxDisplayDepth();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_FromInt((int)result
);
3750 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (int)wxGetDisplayDepth();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_FromInt((int)result
);
3772 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 int *arg1
= (int *) 0 ;
3775 int *arg2
= (int *) 0 ;
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 wxDisplaySize(arg1
,arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3794 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3795 resultobj
= t_output_helper(resultobj
,o
);
3798 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3799 resultobj
= t_output_helper(resultobj
,o
);
3807 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= wxGetDisplaySize();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3824 resultptr
= new wxSize((wxSize
&) result
);
3825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3833 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 int *arg1
= (int *) 0 ;
3836 int *arg2
= (int *) 0 ;
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 wxDisplaySizeMM(arg1
,arg2
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3856 resultobj
= t_output_helper(resultobj
,o
);
3859 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3860 resultobj
= t_output_helper(resultobj
,o
);
3868 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= wxGetDisplaySizeMM();
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3885 resultptr
= new wxSize((wxSize
&) result
);
3886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3894 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 int *arg1
= (int *) 0 ;
3897 int *arg2
= (int *) 0 ;
3898 int *arg3
= (int *) 0 ;
3899 int *arg4
= (int *) 0 ;
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3922 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3923 resultobj
= t_output_helper(resultobj
,o
);
3926 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3927 resultobj
= t_output_helper(resultobj
,o
);
3930 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3931 resultobj
= t_output_helper(resultobj
,o
);
3934 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3935 resultobj
= t_output_helper(resultobj
,o
);
3943 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= wxGetClientDisplayRect();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3960 resultptr
= new wxRect((wxRect
&) result
);
3961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3969 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxCursor
*arg1
= 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "cursor", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3982 PyErr_SetString(PyExc_TypeError
,"null reference");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4002 PyObject
* obj0
= 0 ;
4004 (char *) "cursor", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 wxBeginBusyCursor(arg1
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxWindow
*)wxGetActiveWindow();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= wxPyMake_wxObject(result
);
4050 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4055 PyObject
* obj0
= 0 ;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4063 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= wxPyMake_wxObject(result
);
4081 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4086 PyObject
* obj0
= 0 ;
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4094 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= wxPyMake_wxObject(result
);
4112 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxWindow
*arg1
= (wxWindow
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4118 (char *) "win", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= wxPyMake_wxObject(result
);
4140 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "key", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4150 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4168 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 wxWakeUpMainThread();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 Py_INCREF(Py_None
); resultobj
= Py_None
;
4210 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4231 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxMutexGuiLocker
*result
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4253 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "self", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (bool)wxThread_IsMain();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4309 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxString
*arg1
= 0 ;
4313 bool temp1
= False
;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "tip", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4321 arg1
= wxString_in_helper(obj0
);
4322 if (arg1
== NULL
) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= wxPyMake_wxObject(result
);
4349 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4352 wxString
*arg2
= 0 ;
4353 bool temp2
= False
;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "tip", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4364 arg2
= wxString_in_helper(obj1
);
4365 if (arg2
== NULL
) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 (arg1
)->SetTip((wxString
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (arg1
)->GetTip();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4422 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "self", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (wxWindow
*)(arg1
)->GetWindow();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= wxPyMake_wxObject(result
);
4450 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "flag", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4459 arg1
= (bool) SWIG_AsBool(obj0
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxToolTip::Enable(arg1
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 Py_INCREF(Py_None
); resultobj
= Py_None
;
4475 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "milliseconds", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4484 arg1
= (long) SWIG_AsLong(obj0
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxToolTip::SetDelay(arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 Py_INCREF(Py_None
); resultobj
= Py_None
;
4500 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4503 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4505 return Py_BuildValue((char *)"");
4507 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxWindow
*arg1
= (wxWindow
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "window",(char *) "size", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4540 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxCaret
*arg1
= (wxCaret
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4545 (char *) "self", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4565 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxCaret
*arg1
= (wxCaret
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)(arg1
)->IsOk();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4593 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxCaret
*arg1
= (wxCaret
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (bool)(arg1
)->IsVisible();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4621 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxCaret
*arg1
= (wxCaret
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (arg1
)->GetPosition();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 wxPoint
* resultptr
;
4642 resultptr
= new wxPoint((wxPoint
&) result
);
4643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4651 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxCaret
*arg1
= (wxCaret
*) 0 ;
4654 int *arg2
= (int *) 0 ;
4655 int *arg3
= (int *) 0 ;
4658 PyObject
* obj0
= 0 ;
4660 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 (arg1
)->GetPosition(arg2
,arg3
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4677 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4678 resultobj
= t_output_helper(resultobj
,o
);
4681 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4682 resultobj
= t_output_helper(resultobj
,o
);
4690 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxCaret
*arg1
= (wxCaret
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4696 (char *) "self", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (arg1
)->GetSize();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4711 resultptr
= new wxSize((wxSize
&) result
);
4712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4720 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxCaret
*arg1
= (wxCaret
*) 0 ;
4723 int *arg2
= (int *) 0 ;
4724 int *arg3
= (int *) 0 ;
4727 PyObject
* obj0
= 0 ;
4729 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 (arg1
)->GetSize(arg2
,arg3
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4747 resultobj
= t_output_helper(resultobj
,o
);
4750 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4751 resultobj
= t_output_helper(resultobj
,o
);
4759 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxCaret
*arg1
= (wxCaret
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (wxWindow
*)(arg1
)->GetWindow();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= wxPyMake_wxObject(result
);
4787 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxCaret
*arg1
= (wxCaret
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 PyObject
* obj2
= 0 ;
4796 (char *) "self",(char *) "x",(char *) "y", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 arg2
= (int) SWIG_AsInt(obj1
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4804 arg3
= (int) SWIG_AsInt(obj2
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->Move(arg2
,arg3
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4820 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxCaret
*arg1
= (wxCaret
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "self",(char *) "pt", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 (arg1
)->Move((wxPoint
const &)*arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxCaret
*arg1
= (wxCaret
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4861 (char *) "self",(char *) "width",(char *) "height", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4867 arg2
= (int) SWIG_AsInt(obj1
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4869 arg3
= (int) SWIG_AsInt(obj2
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 (arg1
)->SetSize(arg2
,arg3
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxCaret
*arg1
= (wxCaret
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4891 PyObject
* obj1
= 0 ;
4893 (char *) "self",(char *) "size", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 (arg1
)->SetSize((wxSize
const &)*arg2
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxCaret
*arg1
= (wxCaret
*) 0 ;
4920 int arg2
= (int) True
;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "self",(char *) "show", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 arg2
= (int) SWIG_AsInt(obj1
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 Py_INCREF(Py_None
); resultobj
= Py_None
;
4948 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxCaret
*arg1
= (wxCaret
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4976 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4978 return Py_BuildValue((char *)"");
4980 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (int)wxCaret_GetBlinkTime();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_FromInt((int)result
);
5002 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "milliseconds", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5011 arg1
= (int) SWIG_AsInt(obj0
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxCaret_SetBlinkTime(arg1
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5030 wxBusyCursor
*result
;
5031 PyObject
* obj0
= 0 ;
5033 (char *) "cursor", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5055 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "self", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5083 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5085 return Py_BuildValue((char *)"");
5087 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxWindow
*arg1
= (wxWindow
*) NULL
;
5090 wxWindowDisabler
*result
;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "winToSkip", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5115 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 Py_INCREF(Py_None
); resultobj
= Py_None
;
5140 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5143 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5145 return Py_BuildValue((char *)"");
5147 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxString
*arg1
= 0 ;
5151 bool temp1
= False
;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "message", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5159 arg1
= wxString_in_helper(obj0
);
5160 if (arg1
== NULL
) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5185 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 Py_INCREF(Py_None
); resultobj
= Py_None
;
5210 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5213 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5215 return Py_BuildValue((char *)"");
5217 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxStopWatch
*result
;
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (wxStopWatch
*)new wxStopWatch();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5239 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5242 long arg2
= (long) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "t0", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 arg2
= (long) SWIG_AsLong(obj1
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->Start(arg2
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5275 (char *) "self", NULL
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5295 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5300 (char *) "self", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_FromLong((long)result
);
5346 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5349 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5351 return Py_BuildValue((char *)"");
5353 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 int arg1
= (int) 9 ;
5356 wxFileHistory
*result
;
5357 PyObject
* obj0
= 0 ;
5359 (char *) "maxFiles", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5364 arg1
= (int) SWIG_AsInt(obj0
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5381 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5386 (char *) "self", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5409 wxString
*arg2
= 0 ;
5410 bool temp2
= False
;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5414 (char *) "self",(char *) "file", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 arg2
= wxString_in_helper(obj1
);
5422 if (arg2
== NULL
) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5447 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5454 (char *) "self",(char *) "i", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5460 arg2
= (int) SWIG_AsInt(obj1
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->RemoveFileFromHistory(arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_FromInt((int)result
);
5502 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5505 wxMenu
*arg2
= (wxMenu
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "menu", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 (arg1
)->UseMenu(arg2
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5534 wxMenu
*arg2
= (wxMenu
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5538 (char *) "self",(char *) "menu", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->RemoveMenu(arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5560 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5563 wxConfigBase
*arg2
= 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "config", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5577 PyErr_SetString(PyExc_TypeError
,"null reference");
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 (arg1
)->Load(*arg2
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 Py_INCREF(Py_None
); resultobj
= Py_None
;
5594 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5597 wxConfigBase
*arg2
= 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5601 (char *) "self",(char *) "config", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5611 PyErr_SetString(PyExc_TypeError
,"null reference");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->Save(*arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->AddFilesToMenu();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5653 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5656 wxMenu
*arg2
= (wxMenu
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "menu", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->AddFilesToMenu(arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5690 (char *) "self",(char *) "i", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 arg2
= (int) SWIG_AsInt(obj1
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5718 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5724 (char *) "self", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_FromInt((int)result
);
5744 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5747 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5749 return Py_BuildValue((char *)"");
5751 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxString
*arg1
= 0 ;
5754 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5755 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5756 wxSingleInstanceChecker
*result
;
5757 bool temp1
= False
;
5758 bool temp2
= False
;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "name",(char *) "path", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5767 arg1
= wxString_in_helper(obj0
);
5768 if (arg1
== NULL
) SWIG_fail
;
5773 arg2
= wxString_in_helper(obj1
);
5774 if (arg2
== NULL
) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5808 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxSingleInstanceChecker
*result
;
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5830 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5835 (char *) "self", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5858 wxString
*arg2
= 0 ;
5859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5862 bool temp2
= False
;
5863 bool temp3
= False
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 PyObject
* obj2
= 0 ;
5868 (char *) "self",(char *) "name",(char *) "path", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5881 arg3
= wxString_in_helper(obj2
);
5882 if (arg3
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5918 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5949 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5951 return Py_BuildValue((char *)"");
5953 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxWindow
*arg1
= (wxWindow
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 PyObject
* obj2
= 0 ;
5962 (char *) "window",(char *) "dc",(char *) "method", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5972 PyErr_SetString(PyExc_TypeError
,"null reference");
5975 arg3
= (int) SWIG_AsInt(obj2
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 Py_INCREF(Py_None
); resultobj
= Py_None
;
5991 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (arg1
)->GetTip();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6048 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (size_t)(arg1
)->GetCurrentTip();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6074 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6077 wxString
*arg2
= 0 ;
6079 bool temp2
= False
;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "tip", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 arg2
= wxString_in_helper(obj1
);
6091 if (arg2
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6122 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6125 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6127 return Py_BuildValue((char *)"");
6129 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6132 wxPyTipProvider
*result
;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "currentTip", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6139 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6155 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6158 PyObject
*arg2
= (PyObject
*) 0 ;
6159 PyObject
*arg3
= (PyObject
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6162 PyObject
* obj2
= 0 ;
6164 (char *) "self",(char *) "self",(char *) "_class", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6186 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6189 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6191 return Py_BuildValue((char *)"");
6193 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxWindow
*arg1
= (wxWindow
*) 0 ;
6196 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6197 bool arg3
= (bool) True
;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 PyObject
* obj2
= 0 ;
6203 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 arg3
= (bool) SWIG_AsBool(obj2
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxString
*arg1
= 0 ;
6235 wxTipProvider
*result
;
6236 bool temp1
= False
;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "filename",(char *) "currentTip", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 arg1
= wxString_in_helper(obj0
);
6246 if (arg1
== NULL
) SWIG_fail
;
6249 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6273 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6276 int arg2
= (int) -1 ;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6281 (char *) "owner",(char *) "id", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6290 arg2
= (int) SWIG_AsInt(obj1
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6307 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6312 (char *) "self", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6335 PyObject
*arg2
= (PyObject
*) 0 ;
6336 PyObject
*arg3
= (PyObject
*) 0 ;
6337 int arg4
= (int) 1 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6343 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 arg4
= (int) SWIG_AsInt(obj3
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6372 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6373 int arg3
= (int) -1 ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6378 (char *) "self",(char *) "owner",(char *) "id", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 arg3
= (int) SWIG_AsInt(obj2
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetOwner(arg2
,arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6407 int arg2
= (int) -1 ;
6408 bool arg3
= (bool) False
;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6412 PyObject
* obj2
= 0 ;
6414 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 arg2
= (int) SWIG_AsInt(obj1
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 arg3
= (bool) SWIG_AsBool(obj2
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_FromInt((int)result
);
6523 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6551 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_FromInt((int)result
);
6577 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6580 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6582 return Py_BuildValue((char *)"");
6584 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 int arg1
= (int) 0 ;
6587 int arg2
= (int) 0 ;
6588 wxTimerEvent
*result
;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6592 (char *) "timerid",(char *) "interval", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6597 arg1
= (int) SWIG_AsInt(obj0
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6601 arg2
= (int) SWIG_AsInt(obj1
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6618 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "self", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_FromInt((int)result
);
6644 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6647 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6649 return Py_BuildValue((char *)"");
6651 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6652 PyObject
*resultobj
;
6654 wxTimerRunner
*result
;
6655 PyObject
* obj0
= 0 ;
6657 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6662 PyErr_SetString(PyExc_TypeError
,"null reference");
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6679 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6680 PyObject
*resultobj
;
6683 bool arg3
= (bool) False
;
6684 wxTimerRunner
*result
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6689 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6694 PyErr_SetString(PyExc_TypeError
,"null reference");
6697 arg2
= (int) SWIG_AsInt(obj1
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 arg3
= (bool) SWIG_AsBool(obj2
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6717 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6722 argc
= PyObject_Length(args
);
6723 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6724 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6738 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6741 if ((argc
>= 2) && (argc
<= 3)) {
6745 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6753 _v
= SWIG_CheckInt(argv
[1]);
6756 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6758 _v
= SWIG_CheckBool(argv
[2]);
6760 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6766 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6771 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6800 bool arg3
= (bool) False
;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6805 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= (int) SWIG_AsInt(obj1
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 arg3
= (bool) SWIG_AsBool(obj2
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 (arg1
)->Start(arg2
,arg3
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6836 return Py_BuildValue((char *)"");
6838 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (wxLog
*)new wxLog();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6860 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (bool)wxLog::IsEnabled();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6884 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 bool arg1
= (bool) True
;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "doIt", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6895 arg1
= (bool) SWIG_AsBool(obj0
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)wxLog::EnableLogging(arg1
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6917 wxChar
*arg2
= (wxChar
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6923 (char *) "level",(char *) "szString",(char *) "t", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6927 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxLog
*arg1
= (wxLog
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6952 (char *) "self", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxLog::FlushActive();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 Py_INCREF(Py_None
); resultobj
= Py_None
;
6993 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (wxLog
*)wxLog::GetActiveTarget();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7015 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxLog
*arg1
= (wxLog
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "pLogger", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7041 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 bool arg1
= (bool) True
;
7086 PyObject
* obj0
= 0 ;
7088 (char *) "bVerbose", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7093 arg1
= (bool) SWIG_AsBool(obj0
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 wxLog::SetVerbose(arg1
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7113 PyObject
* obj0
= 0 ;
7115 (char *) "logLevel", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7119 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 wxLog::SetLogLevel(arg1
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 wxLog::DontCreateOnDemand();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7156 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "ulMask", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7165 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxLog::SetTraceMask(arg1
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxString
*arg1
= 0 ;
7184 bool temp1
= False
;
7185 PyObject
* obj0
= 0 ;
7187 (char *) "str", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7192 arg1
= wxString_in_helper(obj0
);
7193 if (arg1
== NULL
) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 wxLog::AddTraceMask((wxString
const &)*arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxString
*arg1
= 0 ;
7221 bool temp1
= False
;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "str", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7229 arg1
= wxString_in_helper(obj0
);
7230 if (arg1
== NULL
) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 wxLog::ClearTraceMasks();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxArrayString
*result
;
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7288 result
= (wxArrayString
*) &_result_ref
;
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= wxArrayString2PyList_helper(*result
);
7303 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxChar
*arg1
= (wxChar
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 wxLog::SetTimestamp((wxChar
const *)arg1
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)wxLog::GetVerbose();
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7352 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (wxTraceMask
)wxLog::GetTraceMask();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7374 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxChar
*arg1
= (wxChar
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "mask", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (wxLogLevel
)wxLog::GetLogLevel();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7424 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxChar
*)wxLog::GetTimestamp();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7446 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= Log_TimeStamp();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7474 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxLog
*arg1
= (wxLog
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 wxLog_Destroy(arg1
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7502 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7504 return Py_BuildValue((char *)"");
7506 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxLogStderr
*result
;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (wxLogStderr
*)new wxLogStderr();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7528 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7531 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7533 return Py_BuildValue((char *)"");
7535 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7538 wxLogTextCtrl
*result
;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "pTextCtrl", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7561 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7564 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7566 return Py_BuildValue((char *)"");
7568 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (wxLogGui
*)new wxLogGui();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7590 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7593 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7595 return Py_BuildValue((char *)"");
7597 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxFrame
*arg1
= (wxFrame
*) 0 ;
7600 wxString
*arg2
= 0 ;
7601 bool arg3
= (bool) True
;
7602 bool arg4
= (bool) True
;
7603 wxLogWindow
*result
;
7604 bool temp2
= False
;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 PyObject
* obj3
= 0 ;
7610 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 arg2
= wxString_in_helper(obj1
);
7618 if (arg2
== NULL
) SWIG_fail
;
7622 arg3
= (bool) SWIG_AsBool(obj2
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 arg4
= (bool) SWIG_AsBool(obj3
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7651 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7654 bool arg2
= (bool) True
;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "bShow", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7665 arg2
= (bool) SWIG_AsBool(obj1
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 Py_INCREF(Py_None
); resultobj
= Py_None
;
7682 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7688 (char *) "self", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= wxPyMake_wxObject(result
);
7710 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7736 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7742 (char *) "self", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7771 (char *) "self",(char *) "bDoPass", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 arg2
= (bool) SWIG_AsBool(obj1
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 (arg1
)->PassMessages(arg2
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 Py_INCREF(Py_None
); resultobj
= Py_None
;
7793 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7796 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7798 return Py_BuildValue((char *)"");
7800 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxLog
*arg1
= (wxLog
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "logger", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (wxLogChain
*)new wxLogChain(arg1
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7826 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7829 wxLog
*arg2
= (wxLog
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7833 (char *) "self",(char *) "logger", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 (arg1
)->SetLog(arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "bDoPass", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7868 arg2
= (bool) SWIG_AsBool(obj1
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 (arg1
)->PassMessages(arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (bool)(arg1
)->IsPassingMessages();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (wxLog
*)(arg1
)->GetOldLog();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7938 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7943 return Py_BuildValue((char *)"");
7945 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 unsigned long result
;
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (unsigned long)wxSysErrorCode();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7967 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 unsigned long arg1
= (unsigned long) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "nErrCode", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7978 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= wxSysErrorMsg(arg1
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8001 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxString
*arg1
= 0 ;
8004 bool temp1
= False
;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "msg", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8012 arg1
= wxString_in_helper(obj0
);
8013 if (arg1
== NULL
) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 wxLogFatalError((wxString
const &)*arg1
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8038 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxString
*arg1
= 0 ;
8041 bool temp1
= False
;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "msg", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8049 arg1
= wxString_in_helper(obj0
);
8050 if (arg1
== NULL
) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 wxLogError((wxString
const &)*arg1
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxString
*arg1
= 0 ;
8078 bool temp1
= False
;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "msg", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8086 arg1
= wxString_in_helper(obj0
);
8087 if (arg1
== NULL
) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 wxLogWarning((wxString
const &)*arg1
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxString
*arg1
= 0 ;
8115 bool temp1
= False
;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "msg", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8123 arg1
= wxString_in_helper(obj0
);
8124 if (arg1
== NULL
) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxLogMessage((wxString
const &)*arg1
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxString
*arg1
= 0 ;
8152 bool temp1
= False
;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "msg", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8160 arg1
= wxString_in_helper(obj0
);
8161 if (arg1
== NULL
) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxLogInfo((wxString
const &)*arg1
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxString
*arg1
= 0 ;
8189 bool temp1
= False
;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "msg", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8197 arg1
= wxString_in_helper(obj0
);
8198 if (arg1
== NULL
) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 wxLogDebug((wxString
const &)*arg1
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxString
*arg1
= 0 ;
8226 bool temp1
= False
;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "msg", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8234 arg1
= wxString_in_helper(obj0
);
8235 if (arg1
== NULL
) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 wxLogVerbose((wxString
const &)*arg1
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxString
*arg1
= 0 ;
8263 bool temp1
= False
;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "msg", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8271 arg1
= wxString_in_helper(obj0
);
8272 if (arg1
== NULL
) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 wxLogStatus((wxString
const &)*arg1
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 Py_INCREF(Py_None
); resultobj
= Py_None
;
8297 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxFrame
*arg1
= (wxFrame
*) 0 ;
8300 wxString
*arg2
= 0 ;
8301 bool temp2
= False
;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "pFrame",(char *) "msg", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8312 arg2
= wxString_in_helper(obj1
);
8313 if (arg2
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxString
*arg1
= 0 ;
8341 bool temp1
= False
;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "msg", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8349 arg1
= wxString_in_helper(obj0
);
8350 if (arg1
== NULL
) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 wxLogSysError((wxString
const &)*arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 Py_INCREF(Py_None
); resultobj
= Py_None
;
8375 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8376 PyObject
*resultobj
;
8377 unsigned long arg1
;
8378 wxString
*arg2
= 0 ;
8379 bool temp2
= False
;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8383 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8384 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 arg2
= wxString_in_helper(obj1
);
8388 if (arg2
== NULL
) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 Py_INCREF(Py_None
); resultobj
= Py_None
;
8413 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8414 PyObject
*resultobj
;
8415 wxString
*arg1
= 0 ;
8416 wxString
*arg2
= 0 ;
8417 bool temp1
= False
;
8418 bool temp2
= False
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8422 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8424 arg1
= wxString_in_helper(obj0
);
8425 if (arg1
== NULL
) SWIG_fail
;
8429 arg2
= wxString_in_helper(obj1
);
8430 if (arg2
== NULL
) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8468 argc
= PyObject_Length(args
);
8469 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8475 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8479 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8482 return _wrap_LogTrace__SWIG_1(self
,args
);
8488 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8491 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8494 return _wrap_LogTrace__SWIG_0(self
,args
);
8499 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8504 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 unsigned long arg1
;
8507 wxString
*arg2
= 0 ;
8508 bool temp2
= False
;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "level",(char *) "msg", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 arg2
= wxString_in_helper(obj1
);
8520 if (arg2
== NULL
) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxString
*arg1
= 0 ;
8548 wxString
*arg2
= 0 ;
8549 bool temp1
= False
;
8550 bool temp2
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "title",(char *) "text", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 arg1
= wxString_in_helper(obj0
);
8560 if (arg1
== NULL
) SWIG_fail
;
8564 arg2
= wxString_in_helper(obj1
);
8565 if (arg2
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8598 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (wxLogNull
*)new wxLogNull();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8620 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "self", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8648 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8650 return Py_BuildValue((char *)"");
8652 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (wxPyLog
*)new wxPyLog();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8674 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8677 PyObject
*arg2
= (PyObject
*) 0 ;
8678 PyObject
*arg3
= (PyObject
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8683 (char *) "self",(char *) "self",(char *) "_class", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 Py_INCREF(Py_None
); resultobj
= Py_None
;
8705 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8708 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8710 return Py_BuildValue((char *)"");
8712 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8715 int arg2
= (int) wxSIGTERM
;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8720 (char *) "pid",(char *) "sig", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8724 arg1
= (int) SWIG_AsInt(obj0
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_FromInt((int)result
);
8744 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8748 PyObject
* obj0
= 0 ;
8750 (char *) "pid", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8754 arg1
= (int) SWIG_AsInt(obj0
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (bool)wxPyProcess::Exists(arg1
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8772 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxString
*arg1
= 0 ;
8775 int arg2
= (int) wxEXEC_ASYNC
;
8776 wxPyProcess
*result
;
8777 bool temp1
= False
;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "cmd",(char *) "flags", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8786 arg1
= wxString_in_helper(obj0
);
8787 if (arg1
== NULL
) SWIG_fail
;
8791 arg2
= (int) SWIG_AsInt(obj1
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8816 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8819 int arg2
= (int) -1 ;
8820 wxPyProcess
*result
;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8824 (char *) "parent",(char *) "id", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 arg2
= (int) SWIG_AsInt(obj1
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8850 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8853 PyObject
*arg2
= (PyObject
*) 0 ;
8854 PyObject
*arg3
= (PyObject
*) 0 ;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8857 PyObject
* obj2
= 0 ;
8859 (char *) "self",(char *) "self",(char *) "_class", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "self",(char *) "pid",(char *) "status", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 arg2
= (int) SWIG_AsInt(obj1
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 arg3
= (int) SWIG_AsInt(obj2
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->base_OnTerminate(arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8945 (char *) "self", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (bool)(arg1
)->IsRedirected();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8967 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8970 PyObject
* obj0
= 0 ;
8972 (char *) "self", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8995 wxInputStream
*result
;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9012 wxPyInputStream
* _ptr
= NULL
;
9015 _ptr
= new wxPyInputStream(result
);
9017 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9025 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9028 wxInputStream
*result
;
9029 PyObject
* obj0
= 0 ;
9031 (char *) "self", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 wxPyInputStream
* _ptr
= NULL
;
9048 _ptr
= new wxPyInputStream(result
);
9050 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9058 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9061 wxOutputStream
*result
;
9062 PyObject
* obj0
= 0 ;
9064 (char *) "self", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9084 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->CloseOutput();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9137 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9196 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9198 return Py_BuildValue((char *)"");
9200 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 int arg1
= (int) 0 ;
9203 int arg2
= (int) 0 ;
9204 int arg3
= (int) 0 ;
9205 wxProcessEvent
*result
;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9210 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9215 arg1
= (int) SWIG_AsInt(obj0
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 arg2
= (int) SWIG_AsInt(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 arg3
= (int) SWIG_AsInt(obj2
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9240 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (int)(arg1
)->GetPid();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_FromInt((int)result
);
9266 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (int)(arg1
)->GetExitCode();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_FromInt((int)result
);
9292 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9299 (char *) "self",(char *) "m_pid", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 arg2
= (int) SWIG_AsInt(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9307 if (arg1
) (arg1
)->m_pid
= arg2
;
9309 Py_INCREF(Py_None
); resultobj
= Py_None
;
9316 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9322 (char *) "self", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 result
= (int) ((arg1
)->m_pid
);
9330 resultobj
= SWIG_FromInt((int)result
);
9337 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9344 (char *) "self",(char *) "m_exitcode", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 arg2
= (int) SWIG_AsInt(obj1
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9352 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9354 Py_INCREF(Py_None
); resultobj
= Py_None
;
9361 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 result
= (int) ((arg1
)->m_exitcode
);
9375 resultobj
= SWIG_FromInt((int)result
);
9382 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9385 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9387 return Py_BuildValue((char *)"");
9389 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxString
*arg1
= 0 ;
9392 int arg2
= (int) wxEXEC_ASYNC
;
9393 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9395 bool temp1
= False
;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "command",(char *) "flags",(char *) "process", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9405 arg1
= wxString_in_helper(obj0
);
9406 if (arg1
== NULL
) SWIG_fail
;
9410 arg2
= (int) SWIG_AsInt(obj1
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_FromLong((long)result
);
9439 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 int arg1
= (int) wxJOYSTICK1
;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "joystick", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9450 arg1
= (int) SWIG_AsInt(obj0
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (wxJoystick
*)new wxJoystick(arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9467 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (arg1
)->GetPosition();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 wxPoint
* resultptr
;
9513 resultptr
= new wxPoint((wxPoint
&) result
);
9514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9522 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (int)(arg1
)->GetZPosition();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_FromInt((int)result
);
9548 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (int)(arg1
)->GetButtonState();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_FromInt((int)result
);
9574 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (int)(arg1
)->GetPOVPosition();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= SWIG_FromInt((int)result
);
9600 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9606 (char *) "self", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (int)(arg1
)->GetPOVCTSPosition();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_FromInt((int)result
);
9626 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (int)(arg1
)->GetRudderPosition();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_FromInt((int)result
);
9652 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "self", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)(arg1
)->GetUPosition();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_FromInt((int)result
);
9678 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (int)(arg1
)->GetVPosition();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_FromInt((int)result
);
9704 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (int)(arg1
)->GetMovementThreshold();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_FromInt((int)result
);
9730 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9737 (char *) "self",(char *) "threshold", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 arg2
= (int) SWIG_AsInt(obj1
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetMovementThreshold(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (bool)(arg1
)->IsOk();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9787 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (int)(arg1
)->GetNumberJoysticks();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_FromInt((int)result
);
9813 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (int)(arg1
)->GetManufacturerId();
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_FromInt((int)result
);
9839 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "self", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (int)(arg1
)->GetProductId();
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_FromInt((int)result
);
9865 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
;
9867 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9869 PyObject
* obj0
= 0 ;
9871 (char *) "self", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 result
= (arg1
)->GetProductName();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9897 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (int)(arg1
)->GetXMin();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_FromInt((int)result
);
9923 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "self", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (int)(arg1
)->GetYMin();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_FromInt((int)result
);
9949 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (int)(arg1
)->GetZMin();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_FromInt((int)result
);
9975 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "self", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (int)(arg1
)->GetXMax();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_FromInt((int)result
);
10001 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)(arg1
)->GetYMax();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_FromInt((int)result
);
10027 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (int)(arg1
)->GetZMax();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_FromInt((int)result
);
10053 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (int)(arg1
)->GetNumberButtons();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_FromInt((int)result
);
10079 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (int)(arg1
)->GetNumberAxes();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_FromInt((int)result
);
10105 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (int)(arg1
)->GetMaxButtons();
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= SWIG_FromInt((int)result
);
10131 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (int)(arg1
)->GetMaxAxes();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_FromInt((int)result
);
10157 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (int)(arg1
)->GetPollingMin();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_FromInt((int)result
);
10183 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (int)(arg1
)->GetPollingMax();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_FromInt((int)result
);
10209 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (int)(arg1
)->GetRudderMin();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_FromInt((int)result
);
10235 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (int)(arg1
)->GetRudderMax();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_FromInt((int)result
);
10261 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (int)(arg1
)->GetUMin();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_FromInt((int)result
);
10287 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (int)(arg1
)->GetUMax();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_FromInt((int)result
);
10313 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (int)(arg1
)->GetVMin();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_FromInt((int)result
);
10339 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (int)(arg1
)->GetVMax();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_FromInt((int)result
);
10365 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (bool)(arg1
)->HasRudder();
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10393 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)(arg1
)->HasZ();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10421 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->HasU();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (bool)(arg1
)->HasV();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (bool)(arg1
)->HasPOV();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (bool)(arg1
)->HasPOV4Dir();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10533 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (bool)(arg1
)->HasPOVCTS();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10561 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10564 wxWindow
*arg2
= (wxWindow
*) 0 ;
10565 int arg3
= (int) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 PyObject
* obj2
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 arg3
= (int) SWIG_AsInt(obj2
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10599 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (bool)(arg1
)->ReleaseCapture();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10632 return Py_BuildValue((char *)"");
10634 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10637 wxPoint
*arg2
= (wxPoint
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "m_pos", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 if (arg1
) (arg1
)->m_pos
= *arg2
;
10651 Py_INCREF(Py_None
); resultobj
= Py_None
;
10658 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10679 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "m_zPosition", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= (int) SWIG_AsInt(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10694 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 result
= (int) ((arg1
)->m_zPosition
);
10717 resultobj
= SWIG_FromInt((int)result
);
10724 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "m_buttonChange", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 arg2
= (int) SWIG_AsInt(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10739 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 result
= (int) ((arg1
)->m_buttonChange
);
10762 resultobj
= SWIG_FromInt((int)result
);
10769 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "m_buttonState", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 arg2
= (int) SWIG_AsInt(obj1
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 result
= (int) ((arg1
)->m_buttonState
);
10807 resultobj
= SWIG_FromInt((int)result
);
10814 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self",(char *) "m_joyStick", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 arg2
= (int) SWIG_AsInt(obj1
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10829 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10831 Py_INCREF(Py_None
); resultobj
= Py_None
;
10838 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 result
= (int) ((arg1
)->m_joyStick
);
10852 resultobj
= SWIG_FromInt((int)result
);
10859 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10862 int arg2
= (int) 0 ;
10863 int arg3
= (int) wxJOYSTICK1
;
10864 int arg4
= (int) 0 ;
10865 wxJoystickEvent
*result
;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 PyObject
* obj3
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10876 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 arg2
= (int) SWIG_AsInt(obj1
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 arg3
= (int) SWIG_AsInt(obj2
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10888 arg4
= (int) SWIG_AsInt(obj3
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10905 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 wxPoint
* resultptr
;
10926 resultptr
= new wxPoint((wxPoint
&) result
);
10927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10935 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_FromInt((int)result
);
10961 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_FromInt((int)result
);
10987 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_FromInt((int)result
);
11013 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= SWIG_FromInt((int)result
);
11039 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "stick", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 arg2
= (int) SWIG_AsInt(obj1
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->SetJoystick(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "state", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (int) SWIG_AsInt(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 (arg1
)->SetButtonState(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11097 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "change", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 arg2
= (int) SWIG_AsInt(obj1
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->SetButtonChange(arg2
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11129 wxPoint
*arg2
= 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self",(char *) "pos", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "zPos", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 arg2
= (int) SWIG_AsInt(obj1
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetZPosition(arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11187 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11215 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11271 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11274 int arg2
= (int) wxJOY_BUTTON_ANY
;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "but", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 arg2
= (int) SWIG_AsInt(obj1
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11308 int arg2
= (int) wxJOY_BUTTON_ANY
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "but", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 arg2
= (int) SWIG_AsInt(obj1
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11342 int arg2
= (int) wxJOY_BUTTON_ANY
;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "but", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11354 arg2
= (int) SWIG_AsInt(obj1
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11373 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11376 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11378 return Py_BuildValue((char *)"");
11380 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11381 PyObject
*resultobj
;
11384 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (wxSound
*)new wxSound();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11399 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11400 PyObject
*resultobj
;
11401 wxString
*arg1
= 0 ;
11402 bool arg2
= (bool) false ;
11404 bool temp1
= False
;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11408 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11410 arg1
= wxString_in_helper(obj0
);
11411 if (arg1
== NULL
) SWIG_fail
;
11415 arg2
= (bool) SWIG_AsBool(obj1
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11440 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11441 PyObject
*resultobj
;
11443 wxByte
*arg2
= (wxByte
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11448 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11449 arg1
= (int) SWIG_AsInt(obj0
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11467 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11472 argc
= PyObject_Length(args
);
11473 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11474 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11477 return _wrap_new_Sound__SWIG_0(self
,args
);
11479 if ((argc
>= 1) && (argc
<= 2)) {
11482 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11486 return _wrap_new_Sound__SWIG_1(self
,args
);
11488 _v
= SWIG_CheckBool(argv
[1]);
11490 return _wrap_new_Sound__SWIG_1(self
,args
);
11496 _v
= SWIG_CheckInt(argv
[0]);
11500 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11508 return _wrap_new_Sound__SWIG_2(self
,args
);
11513 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11518 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxSound
*arg1
= (wxSound
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11544 PyObject
*resultobj
;
11545 wxSound
*arg1
= (wxSound
*) 0 ;
11546 wxString
*arg2
= 0 ;
11547 bool arg3
= (bool) false ;
11549 bool temp2
= False
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11554 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 arg2
= wxString_in_helper(obj1
);
11559 if (arg2
== NULL
) SWIG_fail
;
11563 arg3
= (bool) SWIG_AsBool(obj2
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11590 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11591 PyObject
*resultobj
;
11592 wxSound
*arg1
= (wxSound
*) 0 ;
11594 wxByte
*arg3
= (wxByte
*) 0 ;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 PyObject
* obj2
= 0 ;
11600 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11603 arg2
= (int) SWIG_AsInt(obj1
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11623 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11628 argc
= PyObject_Length(args
);
11629 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11630 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11632 if ((argc
>= 2) && (argc
<= 3)) {
11636 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11645 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11649 return _wrap_Sound_Create__SWIG_0(self
,args
);
11651 _v
= SWIG_CheckBool(argv
[2]);
11653 return _wrap_Sound_Create__SWIG_0(self
,args
);
11662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11670 _v
= SWIG_CheckInt(argv
[1]);
11674 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11682 return _wrap_Sound_Create__SWIG_1(self
,args
);
11688 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11693 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxSound
*arg1
= (wxSound
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)(arg1
)->IsOk();
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11721 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11722 PyObject
*resultobj
;
11723 wxSound
*arg1
= (wxSound
*) 0 ;
11724 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11729 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11733 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11752 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11753 PyObject
*resultobj
;
11754 wxString
*arg1
= 0 ;
11755 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11757 bool temp1
= False
;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11761 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11763 arg1
= wxString_in_helper(obj0
);
11764 if (arg1
== NULL
) SWIG_fail
;
11768 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 char *kwnames
[] = {
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11819 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11821 return Py_BuildValue((char *)"");
11823 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxString
*arg1
= 0 ;
11826 wxString
*arg2
= 0 ;
11827 wxString
*arg3
= 0 ;
11828 wxString
*arg4
= 0 ;
11829 wxFileTypeInfo
*result
;
11830 bool temp1
= False
;
11831 bool temp2
= False
;
11832 bool temp3
= False
;
11833 bool temp4
= False
;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 PyObject
* obj2
= 0 ;
11837 PyObject
* obj3
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11844 arg1
= wxString_in_helper(obj0
);
11845 if (arg1
== NULL
) SWIG_fail
;
11849 arg2
= wxString_in_helper(obj1
);
11850 if (arg2
== NULL
) SWIG_fail
;
11854 arg3
= wxString_in_helper(obj2
);
11855 if (arg3
== NULL
) SWIG_fail
;
11859 arg4
= wxString_in_helper(obj3
);
11860 if (arg4
== NULL
) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11909 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxArrayString
*arg1
= 0 ;
11912 wxFileTypeInfo
*result
;
11913 bool temp1
= False
;
11914 PyObject
* obj0
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "sArray", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11921 if (! PySequence_Check(obj0
)) {
11922 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11925 arg1
= new wxArrayString
;
11927 int i
, len
=PySequence_Length(obj0
);
11928 for (i
=0; i
<len
; i
++) {
11929 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11931 PyObject
* str
= PyObject_Unicode(item
);
11933 PyObject
* str
= PyObject_Str(item
);
11935 arg1
->Add(Py2wxString(str
));
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11949 if (temp1
) delete arg1
;
11954 if (temp1
) delete arg1
;
11960 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxFileTypeInfo
*result
;
11963 char *kwnames
[] = {
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11982 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12013 wxString
*arg2
= 0 ;
12014 int arg3
= (int) 0 ;
12015 bool temp2
= False
;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 PyObject
* obj2
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 arg2
= wxString_in_helper(obj1
);
12028 if (arg2
== NULL
) SWIG_fail
;
12032 arg3
= (int) SWIG_AsInt(obj2
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 Py_INCREF(Py_None
); resultobj
= Py_None
;
12057 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12060 wxString
*arg2
= 0 ;
12061 bool temp2
= False
;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self",(char *) "shortDesc", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12072 arg2
= wxString_in_helper(obj1
);
12073 if (arg2
== NULL
) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12098 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12114 result
= (wxString
*) &_result_ref
;
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12133 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12149 result
= (wxString
*) &_result_ref
;
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12159 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12168 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12184 result
= (wxString
*) &_result_ref
;
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12194 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12203 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12219 result
= (wxString
*) &_result_ref
;
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12229 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12238 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12254 result
= (wxString
*) &_result_ref
;
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12273 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12276 wxArrayString
*result
;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12289 result
= (wxArrayString
*) &_result_ref
;
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= wxArrayString2PyList_helper(*result
);
12304 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_FromInt((int)result
);
12330 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12346 result
= (wxString
*) &_result_ref
;
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12356 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12365 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_FromInt((int)result
);
12391 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12394 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12396 return Py_BuildValue((char *)"");
12398 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxFileTypeInfo
*arg1
= 0 ;
12401 wxFileType
*result
;
12402 PyObject
* obj0
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "ftInfo", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12411 if (arg1
== NULL
) {
12412 PyErr_SetString(PyExc_TypeError
,"null reference");
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12429 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxFileType
*arg1
= (wxFileType
*) 0 ;
12432 PyObject
* obj0
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 Py_INCREF(Py_None
); resultobj
= Py_None
;
12454 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxFileType
*arg1
= (wxFileType
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= result
;
12480 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxFileType
*arg1
= (wxFileType
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= result
;
12506 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxFileType
*arg1
= (wxFileType
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= result
;
12532 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxFileType
*arg1
= (wxFileType
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12558 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxFileType
*arg1
= (wxFileType
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= result
;
12584 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxFileType
*arg1
= (wxFileType
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= result
;
12610 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxFileType
*arg1
= (wxFileType
*) 0 ;
12613 wxString
*arg2
= 0 ;
12614 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12615 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12617 bool temp2
= False
;
12618 bool temp3
= False
;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 PyObject
* obj2
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12630 arg2
= wxString_in_helper(obj1
);
12631 if (arg2
== NULL
) SWIG_fail
;
12636 arg3
= wxString_in_helper(obj2
);
12637 if (arg3
== NULL
) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= result
;
12671 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxFileType
*arg1
= (wxFileType
*) 0 ;
12674 wxString
*arg2
= 0 ;
12675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12678 bool temp2
= False
;
12679 bool temp3
= False
;
12680 PyObject
* obj0
= 0 ;
12681 PyObject
* obj1
= 0 ;
12682 PyObject
* obj2
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12691 arg2
= wxString_in_helper(obj1
);
12692 if (arg2
== NULL
) SWIG_fail
;
12697 arg3
= wxString_in_helper(obj2
);
12698 if (arg3
== NULL
) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= result
;
12732 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
;
12734 wxFileType
*arg1
= (wxFileType
*) 0 ;
12735 wxString
*arg2
= 0 ;
12736 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12737 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12739 bool temp2
= False
;
12740 bool temp3
= False
;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 PyObject
* obj2
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12752 arg2
= wxString_in_helper(obj1
);
12753 if (arg2
== NULL
) SWIG_fail
;
12758 arg3
= wxString_in_helper(obj2
);
12759 if (arg3
== NULL
) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= result
;
12793 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxFileType
*arg1
= (wxFileType
*) 0 ;
12796 wxString
*arg2
= 0 ;
12797 wxString
*arg3
= 0 ;
12798 bool arg4
= (bool) True
;
12800 bool temp2
= False
;
12801 bool temp3
= False
;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 PyObject
* obj2
= 0 ;
12805 PyObject
* obj3
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 arg2
= wxString_in_helper(obj1
);
12815 if (arg2
== NULL
) SWIG_fail
;
12819 arg3
= wxString_in_helper(obj2
);
12820 if (arg3
== NULL
) SWIG_fail
;
12824 arg4
= (bool) SWIG_AsBool(obj3
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12859 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxFileType
*arg1
= (wxFileType
*) 0 ;
12862 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12863 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12864 int arg3
= (int) 0 ;
12866 bool temp2
= False
;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 PyObject
* obj2
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "cmd",(char *) "index", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 arg2
= wxString_in_helper(obj1
);
12880 if (arg2
== NULL
) SWIG_fail
;
12885 arg3
= (int) SWIG_AsInt(obj2
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12912 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxFileType
*arg1
= (wxFileType
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (bool)(arg1
)->Unassociate();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12940 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxString
*arg1
= 0 ;
12943 wxString
*arg2
= 0 ;
12944 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12945 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12947 bool temp1
= False
;
12948 bool temp2
= False
;
12949 bool temp3
= False
;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 PyObject
* obj2
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12959 arg1
= wxString_in_helper(obj0
);
12960 if (arg1
== NULL
) SWIG_fail
;
12964 arg2
= wxString_in_helper(obj1
);
12965 if (arg2
== NULL
) SWIG_fail
;
12970 arg3
= wxString_in_helper(obj2
);
12971 if (arg3
== NULL
) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13019 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13022 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13024 return Py_BuildValue((char *)"");
13026 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13027 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13032 static PyObject
*_wrap_TheMimeTypesManager_get() {
13035 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13040 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxString
*arg1
= 0 ;
13043 wxString
*arg2
= 0 ;
13045 bool temp1
= False
;
13046 bool temp2
= False
;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "mimeType",(char *) "wildcard", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13055 arg1
= wxString_in_helper(obj0
);
13056 if (arg1
== NULL
) SWIG_fail
;
13060 arg2
= wxString_in_helper(obj1
);
13061 if (arg2
== NULL
) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13096 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxMimeTypesManager
*result
;
13099 char *kwnames
[] = {
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13118 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13121 int arg2
= (int) wxMAILCAP_ALL
;
13122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13124 bool temp3
= False
;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 PyObject
* obj2
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13136 arg2
= (int) SWIG_AsInt(obj1
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13141 arg3
= wxString_in_helper(obj2
);
13142 if (arg3
== NULL
) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 Py_INCREF(Py_None
); resultobj
= Py_None
;
13168 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 (arg1
)->ClearData();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 Py_INCREF(Py_None
); resultobj
= Py_None
;
13193 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13196 wxString
*arg2
= 0 ;
13197 wxFileType
*result
;
13198 bool temp2
= False
;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "ext", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg2
= wxString_in_helper(obj1
);
13210 if (arg2
== NULL
) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13235 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13238 wxString
*arg2
= 0 ;
13239 wxFileType
*result
;
13240 bool temp2
= False
;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "mimeType", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13251 arg2
= wxString_in_helper(obj1
);
13252 if (arg2
== NULL
) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13277 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13280 wxString
*arg2
= 0 ;
13281 bool arg3
= (bool) False
;
13283 bool temp2
= False
;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 PyObject
* obj2
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13295 arg2
= wxString_in_helper(obj1
);
13296 if (arg2
== NULL
) SWIG_fail
;
13300 arg3
= (bool) SWIG_AsBool(obj2
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13330 wxString
*arg2
= 0 ;
13332 bool temp2
= False
;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "filename", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 arg2
= wxString_in_helper(obj1
);
13344 if (arg2
== NULL
) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13371 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= result
;
13397 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13400 wxFileTypeInfo
*arg2
= 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self",(char *) "ft", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13413 if (arg2
== NULL
) {
13414 PyErr_SetString(PyExc_TypeError
,"null reference");
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 Py_INCREF(Py_None
); resultobj
= Py_None
;
13431 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13434 wxFileTypeInfo
*arg2
= 0 ;
13435 wxFileType
*result
;
13436 PyObject
* obj0
= 0 ;
13437 PyObject
* obj1
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self",(char *) "ftInfo", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13448 if (arg2
== NULL
) {
13449 PyErr_SetString(PyExc_TypeError
,"null reference");
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13466 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13469 wxFileType
*arg2
= (wxFileType
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj1
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self",(char *) "ft", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)(arg1
)->Unassociate(arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 Py_INCREF(Py_None
); resultobj
= Py_None
;
13523 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13526 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13528 return Py_BuildValue((char *)"");
13530 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13531 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13536 static PyObject
*_wrap_ART_TOOLBAR_get() {
13541 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13543 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13550 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13551 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13556 static PyObject
*_wrap_ART_MENU_get() {
13561 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13563 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13570 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13571 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13576 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13581 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13583 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13590 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13591 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13596 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13601 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13603 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13610 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13611 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13616 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13621 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13623 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13630 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13631 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13636 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13641 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13643 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13650 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13651 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13656 static PyObject
*_wrap_ART_OTHER_get() {
13661 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13663 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13670 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13671 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13676 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13681 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13683 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13690 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13691 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13696 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13701 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13703 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13710 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13711 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13716 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13721 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13723 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13730 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13731 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13736 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13741 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13743 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13750 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13751 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13756 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13761 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13763 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13770 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13771 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13776 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13781 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13783 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13790 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13791 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13796 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13801 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13803 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13810 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13811 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13816 static PyObject
*_wrap_ART_GO_BACK_get() {
13821 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13823 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13830 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13831 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13836 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13841 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13843 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13850 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13851 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13856 static PyObject
*_wrap_ART_GO_UP_get() {
13861 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13863 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13870 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13871 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13876 static PyObject
*_wrap_ART_GO_DOWN_get() {
13881 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13883 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13890 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13891 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13896 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13901 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13903 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13910 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13911 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13916 static PyObject
*_wrap_ART_GO_HOME_get() {
13921 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13923 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13930 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13931 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13936 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13941 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13943 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13950 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13951 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13956 static PyObject
*_wrap_ART_PRINT_get() {
13961 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13963 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13970 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13971 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13976 static PyObject
*_wrap_ART_HELP_get() {
13981 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13983 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13990 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13991 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13996 static PyObject
*_wrap_ART_TIP_get() {
14001 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14003 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14010 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14011 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14016 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14021 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14023 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14030 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14031 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14036 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14041 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14043 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14050 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14051 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14056 static PyObject
*_wrap_ART_NEW_DIR_get() {
14061 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14063 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14070 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14071 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14076 static PyObject
*_wrap_ART_FOLDER_get() {
14081 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14090 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14091 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14096 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14101 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14103 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14110 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14111 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14116 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14121 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14123 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14130 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14131 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14136 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14141 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14143 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14150 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14151 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14156 static PyObject
*_wrap_ART_TICK_MARK_get() {
14161 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14163 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14170 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14171 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14176 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14181 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14183 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14190 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14191 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14196 static PyObject
*_wrap_ART_ERROR_get() {
14201 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14203 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14210 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14211 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14216 static PyObject
*_wrap_ART_QUESTION_get() {
14221 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14223 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14230 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14231 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14236 static PyObject
*_wrap_ART_WARNING_get() {
14241 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14243 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14250 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14251 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14256 static PyObject
*_wrap_ART_INFORMATION_get() {
14261 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14263 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14270 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14271 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14276 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14281 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14283 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14290 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxPyArtProvider
*result
;
14293 char *kwnames
[] = {
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14312 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14315 PyObject
*arg2
= (PyObject
*) 0 ;
14316 PyObject
*arg3
= (PyObject
*) 0 ;
14317 PyObject
* obj0
= 0 ;
14318 PyObject
* obj1
= 0 ;
14319 PyObject
* obj2
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self",(char *) "self",(char *) "_class", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 Py_INCREF(Py_None
); resultobj
= Py_None
;
14343 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14346 PyObject
* obj0
= 0 ;
14347 char *kwnames
[] = {
14348 (char *) "provider", NULL
14351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 wxPyArtProvider::PushProvider(arg1
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 Py_INCREF(Py_None
); resultobj
= Py_None
;
14368 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14371 char *kwnames
[] = {
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)wxPyArtProvider::PopProvider();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14392 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "provider", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14420 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxString
*arg1
= 0 ;
14423 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14424 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14425 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14426 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14428 bool temp1
= False
;
14429 bool temp2
= False
;
14431 PyObject
* obj0
= 0 ;
14432 PyObject
* obj1
= 0 ;
14433 PyObject
* obj2
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "id",(char *) "client",(char *) "size", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14440 arg1
= wxString_in_helper(obj0
);
14441 if (arg1
== NULL
) SWIG_fail
;
14446 arg2
= wxString_in_helper(obj1
);
14447 if (arg2
== NULL
) SWIG_fail
;
14454 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 wxBitmap
* resultptr
;
14466 resultptr
= new wxBitmap((wxBitmap
&) result
);
14467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14491 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxString
*arg1
= 0 ;
14494 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14496 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14497 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14499 bool temp1
= False
;
14500 bool temp2
= False
;
14502 PyObject
* obj0
= 0 ;
14503 PyObject
* obj1
= 0 ;
14504 PyObject
* obj2
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "id",(char *) "client",(char *) "size", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14511 arg1
= wxString_in_helper(obj0
);
14512 if (arg1
== NULL
) SWIG_fail
;
14517 arg2
= wxString_in_helper(obj1
);
14518 if (arg2
== NULL
) SWIG_fail
;
14525 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 wxIcon
* resultptr
;
14537 resultptr
= new wxIcon((wxIcon
&) result
);
14538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14562 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 wxPyArtProvider_Destroy(arg1
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 Py_INCREF(Py_None
); resultobj
= Py_None
;
14587 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14590 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14592 return Py_BuildValue((char *)"");
14594 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14622 wxConfigBase
*result
;
14623 PyObject
* obj0
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "config", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14645 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 bool arg1
= (bool) True
;
14648 wxConfigBase
*result
;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "createOnDemand", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14656 arg1
= (bool) SWIG_AsBool(obj0
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14673 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxConfigBase
*result
;
14676 char *kwnames
[] = {
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (wxConfigBase
*)wxConfigBase::Create();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14695 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 char *kwnames
[] = {
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 wxConfigBase::DontCreateOnDemand();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 Py_INCREF(Py_None
); resultobj
= Py_None
;
14716 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14719 wxString
*arg2
= 0 ;
14720 bool temp2
= False
;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "path", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14731 arg2
= wxString_in_helper(obj1
);
14732 if (arg2
== NULL
) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 (arg1
)->SetPath((wxString
const &)*arg2
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14757 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14773 result
= (wxString
*) &_result_ref
;
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14783 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14792 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
;
14818 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "self",(char *) "index", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14832 arg2
= (long) SWIG_AsLong(obj1
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
;
14848 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
;
14874 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "index", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 arg2
= (long) SWIG_AsLong(obj1
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= result
;
14904 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14907 bool arg2
= (bool) False
;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "recursive", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 arg2
= (bool) SWIG_AsBool(obj1
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14936 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14939 bool arg2
= (bool) False
;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self",(char *) "recursive", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 arg2
= (bool) SWIG_AsBool(obj1
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14968 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14971 wxString
*arg2
= 0 ;
14973 bool temp2
= False
;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self",(char *) "name", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 arg2
= wxString_in_helper(obj1
);
14985 if (arg2
== NULL
) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15012 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15015 wxString
*arg2
= 0 ;
15017 bool temp2
= False
;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self",(char *) "name", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 arg2
= wxString_in_helper(obj1
);
15029 if (arg2
== NULL
) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15056 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15059 wxString
*arg2
= 0 ;
15061 bool temp2
= False
;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "name", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 arg2
= wxString_in_helper(obj1
);
15073 if (arg2
== NULL
) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15100 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15103 wxString
*arg2
= 0 ;
15105 bool temp2
= False
;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self",(char *) "name", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 arg2
= wxString_in_helper(obj1
);
15117 if (arg2
== NULL
) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_FromInt((int)result
);
15142 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15145 wxString
*arg2
= 0 ;
15146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15149 bool temp2
= False
;
15150 bool temp3
= False
;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 PyObject
* obj2
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15162 arg2
= wxString_in_helper(obj1
);
15163 if (arg2
== NULL
) SWIG_fail
;
15168 arg3
= wxString_in_helper(obj2
);
15169 if (arg3
== NULL
) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15209 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15212 wxString
*arg2
= 0 ;
15213 long arg3
= (long) 0 ;
15215 bool temp2
= False
;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 PyObject
* obj2
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 arg2
= wxString_in_helper(obj1
);
15228 if (arg2
== NULL
) SWIG_fail
;
15232 arg3
= (long) SWIG_AsLong(obj2
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_FromLong((long)result
);
15257 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15260 wxString
*arg2
= 0 ;
15261 double arg3
= (double) 0.0 ;
15263 bool temp2
= False
;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 arg2
= wxString_in_helper(obj1
);
15276 if (arg2
== NULL
) SWIG_fail
;
15280 arg3
= (double) SWIG_AsDouble(obj2
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= SWIG_FromDouble((double)result
);
15305 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15308 wxString
*arg2
= 0 ;
15309 bool arg3
= (bool) False
;
15311 bool temp2
= False
;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 PyObject
* obj2
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15323 arg2
= wxString_in_helper(obj1
);
15324 if (arg2
== NULL
) SWIG_fail
;
15328 arg3
= (bool) SWIG_AsBool(obj2
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15358 wxString
*arg2
= 0 ;
15359 wxString
*arg3
= 0 ;
15361 bool temp2
= False
;
15362 bool temp3
= False
;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self",(char *) "key",(char *) "value", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 arg2
= wxString_in_helper(obj1
);
15375 if (arg2
== NULL
) SWIG_fail
;
15379 arg3
= wxString_in_helper(obj2
);
15380 if (arg3
== NULL
) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15415 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15418 wxString
*arg2
= 0 ;
15421 bool temp2
= False
;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 PyObject
* obj2
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "key",(char *) "value", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15433 arg2
= wxString_in_helper(obj1
);
15434 if (arg2
== NULL
) SWIG_fail
;
15437 arg3
= (long) SWIG_AsLong(obj2
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15463 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15466 wxString
*arg2
= 0 ;
15469 bool temp2
= False
;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "key",(char *) "value", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 arg2
= wxString_in_helper(obj1
);
15482 if (arg2
== NULL
) SWIG_fail
;
15485 arg3
= (double) SWIG_AsDouble(obj2
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15511 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15514 wxString
*arg2
= 0 ;
15517 bool temp2
= False
;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 PyObject
* obj2
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "key",(char *) "value", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 arg2
= wxString_in_helper(obj1
);
15530 if (arg2
== NULL
) SWIG_fail
;
15533 arg3
= (bool) SWIG_AsBool(obj2
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15562 bool arg2
= (bool) False
;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "currentOnly", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15574 arg2
= (bool) SWIG_AsBool(obj1
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (bool)(arg1
)->Flush(arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15593 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15596 wxString
*arg2
= 0 ;
15597 wxString
*arg3
= 0 ;
15599 bool temp2
= False
;
15600 bool temp3
= False
;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15612 arg2
= wxString_in_helper(obj1
);
15613 if (arg2
== NULL
) SWIG_fail
;
15617 arg3
= wxString_in_helper(obj2
);
15618 if (arg3
== NULL
) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15653 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15656 wxString
*arg2
= 0 ;
15657 wxString
*arg3
= 0 ;
15659 bool temp2
= False
;
15660 bool temp3
= False
;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 PyObject
* obj2
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 arg2
= wxString_in_helper(obj1
);
15673 if (arg2
== NULL
) SWIG_fail
;
15677 arg3
= wxString_in_helper(obj2
);
15678 if (arg3
== NULL
) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15713 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15716 wxString
*arg2
= 0 ;
15717 bool arg3
= (bool) True
;
15719 bool temp2
= False
;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 arg2
= wxString_in_helper(obj1
);
15732 if (arg2
== NULL
) SWIG_fail
;
15736 arg3
= (bool) SWIG_AsBool(obj2
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15766 wxString
*arg2
= 0 ;
15768 bool temp2
= False
;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self",(char *) "key", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 arg2
= wxString_in_helper(obj1
);
15780 if (arg2
== NULL
) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15807 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15811 PyObject
* obj0
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)(arg1
)->DeleteAll();
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15835 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15838 bool arg2
= (bool) True
;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self",(char *) "doIt", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 arg2
= (bool) SWIG_AsBool(obj1
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 (arg1
)->SetExpandEnvVars(arg2
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15894 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15897 bool arg2
= (bool) True
;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "doIt", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 arg2
= (bool) SWIG_AsBool(obj1
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->SetRecordDefaults(arg2
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15953 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15956 wxString
*arg2
= 0 ;
15958 bool temp2
= False
;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self",(char *) "str", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 arg2
= wxString_in_helper(obj1
);
15970 if (arg2
== NULL
) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16001 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16033 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16065 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16068 wxString
*arg2
= 0 ;
16069 bool temp2
= False
;
16070 PyObject
* obj0
= 0 ;
16071 PyObject
* obj1
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self",(char *) "appName", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16080 arg2
= wxString_in_helper(obj1
);
16081 if (arg2
== NULL
) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 (arg1
)->SetAppName((wxString
const &)*arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 Py_INCREF(Py_None
); resultobj
= Py_None
;
16106 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16109 wxString
*arg2
= 0 ;
16110 bool temp2
= False
;
16111 PyObject
* obj0
= 0 ;
16112 PyObject
* obj1
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self",(char *) "vendorName", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 arg2
= wxString_in_helper(obj1
);
16122 if (arg2
== NULL
) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "style", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 arg2
= (long) SWIG_AsLong(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 (arg1
)->SetStyle(arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 Py_INCREF(Py_None
); resultobj
= Py_None
;
16176 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_FromLong((long)result
);
16202 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16205 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16207 return Py_BuildValue((char *)"");
16209 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16212 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16213 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16214 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16215 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16216 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16217 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16218 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16219 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16221 bool temp1
= False
;
16222 bool temp2
= False
;
16223 bool temp3
= False
;
16224 bool temp4
= False
;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 PyObject
* obj2
= 0 ;
16228 PyObject
* obj3
= 0 ;
16229 PyObject
* obj4
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16237 arg1
= wxString_in_helper(obj0
);
16238 if (arg1
== NULL
) SWIG_fail
;
16244 arg2
= wxString_in_helper(obj1
);
16245 if (arg2
== NULL
) SWIG_fail
;
16251 arg3
= wxString_in_helper(obj2
);
16252 if (arg3
== NULL
) SWIG_fail
;
16258 arg4
= wxString_in_helper(obj3
);
16259 if (arg4
== NULL
) SWIG_fail
;
16264 arg5
= (long) SWIG_AsLong(obj4
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16313 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxConfig
*arg1
= (wxConfig
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 Py_INCREF(Py_None
); resultobj
= Py_None
;
16338 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16341 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16343 return Py_BuildValue((char *)"");
16345 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16348 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16349 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16350 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16351 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16352 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16353 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16354 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16355 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16356 wxFileConfig
*result
;
16357 bool temp1
= False
;
16358 bool temp2
= False
;
16359 bool temp3
= False
;
16360 bool temp4
= False
;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 PyObject
* obj2
= 0 ;
16364 PyObject
* obj3
= 0 ;
16365 PyObject
* obj4
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16373 arg1
= wxString_in_helper(obj0
);
16374 if (arg1
== NULL
) SWIG_fail
;
16380 arg2
= wxString_in_helper(obj1
);
16381 if (arg2
== NULL
) SWIG_fail
;
16387 arg3
= wxString_in_helper(obj2
);
16388 if (arg3
== NULL
) SWIG_fail
;
16394 arg4
= wxString_in_helper(obj3
);
16395 if (arg4
== NULL
) SWIG_fail
;
16400 arg5
= (long) SWIG_AsLong(obj4
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16449 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 Py_INCREF(Py_None
); resultobj
= Py_None
;
16474 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16477 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16479 return Py_BuildValue((char *)"");
16481 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16484 wxString
*arg2
= 0 ;
16485 wxConfigPathChanger
*result
;
16486 bool temp2
= False
;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "config",(char *) "entry", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16497 arg2
= wxString_in_helper(obj1
);
16498 if (arg2
== NULL
) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16523 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 Py_INCREF(Py_None
); resultobj
= Py_None
;
16548 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16564 result
= (wxString
*) &_result_ref
;
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16583 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16586 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16588 return Py_BuildValue((char *)"");
16590 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxString
*arg1
= 0 ;
16594 bool temp1
= False
;
16595 PyObject
* obj0
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "sz", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16602 arg1
= wxString_in_helper(obj0
);
16603 if (arg1
== NULL
) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16634 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16635 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16640 static PyObject
*_wrap_DateFormatStr_get() {
16645 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16647 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16654 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16655 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16660 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16665 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16667 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16674 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "country", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16683 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16699 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16702 char *kwnames
[] = {
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (int)wxDateTime::GetCountry();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_FromInt((int)result
);
16721 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 int arg1
= (int) wxDateTime::Country_Default
;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "country", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16732 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16751 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 int arg1
= (int) wxDateTime::Gregorian
;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "cal", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16762 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= SWIG_FromInt((int)result
);
16779 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16783 PyObject
* obj0
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "year", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16789 arg1
= (int) SWIG_AsInt(obj0
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_FromInt((int)result
);
16805 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 int arg1
= (int) wxDateTime::Gregorian
;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "cal", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16816 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_FromInt((int)result
);
16833 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 int arg1
= (int) wxDateTime::Inv_Year
;
16836 int arg2
= (int) wxDateTime::Gregorian
;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "year",(char *) "cal", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16846 arg1
= (int) SWIG_AsInt(obj0
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16869 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 int arg1
= (int) wxDateTime::Inv_Year
;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "year", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16880 arg1
= (int) SWIG_AsInt(obj0
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (int)wxDateTime::GetCentury(arg1
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_FromInt((int)result
);
16897 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16900 int arg2
= (int) wxDateTime::Gregorian
;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "year",(char *) "cal", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16909 arg1
= (int) SWIG_AsInt(obj0
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_FromInt((int)result
);
16929 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16932 int arg2
= (int) wxDateTime::Inv_Year
;
16933 int arg3
= (int) wxDateTime::Gregorian
;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "month",(char *) "year",(char *) "cal", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16943 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 arg2
= (int) SWIG_AsInt(obj1
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= SWIG_FromInt((int)result
);
16967 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16970 int arg2
= (int) wxDateTime::Name_Full
;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "month",(char *) "flags", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17005 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17008 int arg2
= (int) wxDateTime::Name_Full
;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "weekday",(char *) "flags", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17017 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17043 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxString
*arg1
= (wxString
*) 0 ;
17046 wxString
*arg2
= (wxString
*) 0 ;
17047 bool temp1
= False
;
17048 bool temp2
= False
;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17057 arg1
= wxString_in_helper(obj0
);
17058 if (arg1
== NULL
) SWIG_fail
;
17062 arg2
= wxString_in_helper(obj1
);
17063 if (arg2
== NULL
) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 Py_INCREF(Py_None
); resultobj
= Py_None
;
17096 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 int arg1
= (int) wxDateTime::Inv_Year
;
17099 int arg2
= (int) wxDateTime::Country_Default
;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "year",(char *) "country", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17109 arg1
= (int) SWIG_AsInt(obj0
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17132 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 int arg1
= (int) wxDateTime::Inv_Year
;
17135 int arg2
= (int) wxDateTime::Country_Default
;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "year",(char *) "country", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 arg1
= (int) SWIG_AsInt(obj0
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 wxDateTime
* resultptr
;
17161 resultptr
= new wxDateTime((wxDateTime
&) result
);
17162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17170 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 int arg1
= (int) wxDateTime::Inv_Year
;
17173 int arg2
= (int) wxDateTime::Country_Default
;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "year",(char *) "country", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 arg1
= (int) SWIG_AsInt(obj0
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 wxDateTime
* resultptr
;
17199 resultptr
= new wxDateTime((wxDateTime
&) result
);
17200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17208 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17211 char *kwnames
[] = {
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= wxDateTime::Now();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17224 wxDateTime
* resultptr
;
17225 resultptr
= new wxDateTime((wxDateTime
&) result
);
17226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17234 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17237 char *kwnames
[] = {
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= wxDateTime::UNow();
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 wxDateTime
* resultptr
;
17251 resultptr
= new wxDateTime((wxDateTime
&) result
);
17252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17260 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17263 char *kwnames
[] = {
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= wxDateTime::Today();
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 wxDateTime
* resultptr
;
17277 resultptr
= new wxDateTime((wxDateTime
&) result
);
17278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17286 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxDateTime
*result
;
17289 char *kwnames
[] = {
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (wxDateTime
*)new wxDateTime();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17308 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17311 wxDateTime
*result
;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "timet", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17318 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxDateTime
*)new wxDateTime(arg1
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17334 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17337 wxDateTime
*result
;
17338 PyObject
* obj0
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "jdn", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17344 arg1
= (double) SWIG_AsDouble(obj0
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxDateTime
*)new wxDateTime(arg1
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17360 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17363 int arg2
= (int) 0 ;
17364 int arg3
= (int) 0 ;
17365 int arg4
= (int) 0 ;
17366 wxDateTime
*result
;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 PyObject
* obj2
= 0 ;
17370 PyObject
* obj3
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17376 arg1
= (int) SWIG_AsInt(obj0
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 arg2
= (int) SWIG_AsInt(obj1
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 arg3
= (int) SWIG_AsInt(obj2
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 arg4
= (int) SWIG_AsInt(obj3
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17404 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17407 int arg2
= (int) wxDateTime::Inv_Month
;
17408 int arg3
= (int) wxDateTime::Inv_Year
;
17409 int arg4
= (int) 0 ;
17410 int arg5
= (int) 0 ;
17411 int arg6
= (int) 0 ;
17412 int arg7
= (int) 0 ;
17413 wxDateTime
*result
;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 PyObject
* obj2
= 0 ;
17417 PyObject
* obj3
= 0 ;
17418 PyObject
* obj4
= 0 ;
17419 PyObject
* obj5
= 0 ;
17420 PyObject
* obj6
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17426 arg1
= (int) SWIG_AsInt(obj0
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 arg3
= (int) SWIG_AsInt(obj2
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 arg4
= (int) SWIG_AsInt(obj3
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 arg5
= (int) SWIG_AsInt(obj4
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 arg6
= (int) SWIG_AsInt(obj5
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 arg7
= (int) SWIG_AsInt(obj6
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17466 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 Py_INCREF(Py_None
); resultobj
= Py_None
;
17491 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17494 wxDateTime
*result
;
17495 PyObject
* obj0
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17507 result
= (wxDateTime
*) &_result_ref
;
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17520 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17524 wxDateTime
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self",(char *) "timet", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17540 result
= (wxDateTime
*) &_result_ref
;
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17553 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17557 wxDateTime
*result
;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "jdn", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 arg2
= (double) SWIG_AsDouble(obj1
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17573 result
= (wxDateTime
*) &_result_ref
;
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17586 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17590 int arg3
= (int) 0 ;
17591 int arg4
= (int) 0 ;
17592 int arg5
= (int) 0 ;
17593 wxDateTime
*result
;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 PyObject
* obj4
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 arg2
= (int) SWIG_AsInt(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 arg3
= (int) SWIG_AsInt(obj2
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 arg4
= (int) SWIG_AsInt(obj3
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 arg5
= (int) SWIG_AsInt(obj4
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17624 result
= (wxDateTime
*) &_result_ref
;
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17637 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17641 int arg3
= (int) wxDateTime::Inv_Month
;
17642 int arg4
= (int) wxDateTime::Inv_Year
;
17643 int arg5
= (int) 0 ;
17644 int arg6
= (int) 0 ;
17645 int arg7
= (int) 0 ;
17646 int arg8
= (int) 0 ;
17647 wxDateTime
*result
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 PyObject
* obj3
= 0 ;
17652 PyObject
* obj4
= 0 ;
17653 PyObject
* obj5
= 0 ;
17654 PyObject
* obj6
= 0 ;
17655 PyObject
* obj7
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 arg2
= (int) SWIG_AsInt(obj1
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 arg4
= (int) SWIG_AsInt(obj3
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 arg5
= (int) SWIG_AsInt(obj4
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 arg6
= (int) SWIG_AsInt(obj5
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 arg7
= (int) SWIG_AsInt(obj6
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 arg8
= (int) SWIG_AsInt(obj7
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17693 result
= (wxDateTime
*) &_result_ref
;
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17706 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17709 wxDateTime
*result
;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17722 result
= (wxDateTime
*) &_result_ref
;
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17735 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17739 wxDateTime
*result
;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self",(char *) "year", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 arg2
= (int) SWIG_AsInt(obj1
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17755 result
= (wxDateTime
*) &_result_ref
;
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17768 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17772 wxDateTime
*result
;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "month", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17782 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17788 result
= (wxDateTime
*) &_result_ref
;
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17801 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17805 wxDateTime
*result
;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "day", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 arg2
= (int) SWIG_AsInt(obj1
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17821 result
= (wxDateTime
*) &_result_ref
;
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17834 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17838 wxDateTime
*result
;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "hour", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 arg2
= (int) SWIG_AsInt(obj1
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17854 result
= (wxDateTime
*) &_result_ref
;
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17867 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17871 wxDateTime
*result
;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "minute", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 arg2
= (int) SWIG_AsInt(obj1
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17887 result
= (wxDateTime
*) &_result_ref
;
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17900 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17904 wxDateTime
*result
;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "second", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 arg2
= (int) SWIG_AsInt(obj1
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17920 result
= (wxDateTime
*) &_result_ref
;
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17933 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17937 wxDateTime
*result
;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self",(char *) "millisecond", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17947 arg2
= (int) SWIG_AsInt(obj1
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17953 result
= (wxDateTime
*) &_result_ref
;
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17966 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17970 int arg3
= (int) wxDateTime::Monday_First
;
17971 wxDateTime
*result
;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj2
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17992 result
= (wxDateTime
*) &_result_ref
;
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18005 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18009 int arg3
= (int) wxDateTime::Monday_First
;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 PyObject
* obj2
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18021 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 wxDateTime
* resultptr
;
18036 resultptr
= new wxDateTime((wxDateTime
&) result
);
18037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18045 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18049 wxDateTime
*result
;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self",(char *) "weekday", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18059 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18065 result
= (wxDateTime
*) &_result_ref
;
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18078 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "weekday", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 wxDateTime
* resultptr
;
18103 resultptr
= new wxDateTime((wxDateTime
&) result
);
18104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18112 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18116 wxDateTime
*result
;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "weekday", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18132 result
= (wxDateTime
*) &_result_ref
;
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18145 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "weekday", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18169 wxDateTime
* resultptr
;
18170 resultptr
= new wxDateTime((wxDateTime
&) result
);
18171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18179 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18183 int arg3
= (int) 1 ;
18184 int arg4
= (int) wxDateTime::Inv_Month
;
18185 int arg5
= (int) wxDateTime::Inv_Year
;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 PyObject
* obj2
= 0 ;
18190 PyObject
* obj3
= 0 ;
18191 PyObject
* obj4
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18199 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 arg3
= (int) SWIG_AsInt(obj2
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 arg5
= (int) SWIG_AsInt(obj4
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18229 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18233 int arg3
= (int) wxDateTime::Inv_Month
;
18234 int arg4
= (int) wxDateTime::Inv_Year
;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 PyObject
* obj2
= 0 ;
18239 PyObject
* obj3
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 arg4
= (int) SWIG_AsInt(obj3
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18273 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18277 int arg3
= (int) wxDateTime::Inv_Month
;
18278 int arg4
= (int) wxDateTime::Inv_Year
;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 PyObject
* obj2
= 0 ;
18283 PyObject
* obj3
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18291 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18298 arg4
= (int) SWIG_AsInt(obj3
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 wxDateTime
* resultptr
;
18310 resultptr
= new wxDateTime((wxDateTime
&) result
);
18311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18319 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18323 int arg3
= (int) wxDateTime::Mon
;
18324 int arg4
= (int) wxDateTime::Monday_First
;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 PyObject
* obj3
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (int) SWIG_AsInt(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18363 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18367 int arg3
= (int) wxDateTime::Mon
;
18368 int arg4
= (int) wxDateTime::Monday_First
;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 PyObject
* obj2
= 0 ;
18373 PyObject
* obj3
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 arg2
= (int) SWIG_AsInt(obj1
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18388 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18399 wxDateTime
* resultptr
;
18400 resultptr
= new wxDateTime((wxDateTime
&) result
);
18401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18409 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18412 int arg2
= (int) wxDateTime::Inv_Month
;
18413 int arg3
= (int) wxDateTime::Inv_Year
;
18414 wxDateTime
*result
;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self",(char *) "month",(char *) "year", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18426 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18430 arg3
= (int) SWIG_AsInt(obj2
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18437 result
= (wxDateTime
*) &_result_ref
;
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18450 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18453 int arg2
= (int) wxDateTime::Inv_Month
;
18454 int arg3
= (int) wxDateTime::Inv_Year
;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 PyObject
* obj2
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "month",(char *) "year", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18471 arg3
= (int) SWIG_AsInt(obj2
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 wxDateTime
* resultptr
;
18483 resultptr
= new wxDateTime((wxDateTime
&) result
);
18484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18492 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18496 wxDateTime
*result
;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self",(char *) "yday", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18506 arg2
= (int) SWIG_AsInt(obj1
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18512 result
= (wxDateTime
*) &_result_ref
;
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18525 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "yday", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 arg2
= (int) SWIG_AsInt(obj1
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (arg1
)->GetYearDay(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 wxDateTime
* resultptr
;
18550 resultptr
= new wxDateTime((wxDateTime
&) result
);
18551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18559 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= (double)(arg1
)->GetJulianDayNumber();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_FromDouble((double)result
);
18585 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (double)(arg1
)->GetJDN();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_FromDouble((double)result
);
18611 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_FromDouble((double)result
);
18637 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "self", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (double)(arg1
)->GetMJD();
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_FromDouble((double)result
);
18663 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (double)(arg1
)->GetRataDie();
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_FromDouble((double)result
);
18689 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18692 wxDateTime::TimeZone
*arg2
= 0 ;
18693 bool arg3
= (bool) False
;
18695 bool temp2
= False
;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 PyObject
* obj2
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18711 arg3
= (bool) SWIG_AsBool(obj2
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 wxDateTime
* resultptr
;
18723 resultptr
= new wxDateTime((wxDateTime
&) result
);
18724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18727 if (temp2
) delete arg2
;
18732 if (temp2
) delete arg2
;
18738 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18741 wxDateTime::TimeZone
*arg2
= 0 ;
18742 bool arg3
= (bool) False
;
18743 wxDateTime
*result
;
18744 bool temp2
= False
;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 PyObject
* obj2
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18760 arg3
= (bool) SWIG_AsBool(obj2
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18767 result
= (wxDateTime
*) &_result_ref
;
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18775 if (temp2
) delete arg2
;
18780 if (temp2
) delete arg2
;
18786 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18789 bool arg2
= (bool) False
;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self",(char *) "noDST", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 arg2
= (bool) SWIG_AsBool(obj1
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (arg1
)->ToGMT(arg2
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 wxDateTime
* resultptr
;
18813 resultptr
= new wxDateTime((wxDateTime
&) result
);
18814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18822 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18825 bool arg2
= (bool) False
;
18826 wxDateTime
*result
;
18827 PyObject
* obj0
= 0 ;
18828 PyObject
* obj1
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self",(char *) "noDST", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18837 arg2
= (bool) SWIG_AsBool(obj1
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18844 result
= (wxDateTime
*) &_result_ref
;
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18857 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18860 int arg2
= (int) wxDateTime::Country_Default
;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "country", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_FromInt((int)result
);
18889 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18917 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18943 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18946 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18947 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18949 bool temp2
= False
;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "tz", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_FromInt((int)result
);
18974 if (temp2
) delete arg2
;
18979 if (temp2
) delete arg2
;
18985 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18988 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18989 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18991 bool temp2
= False
;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "tz", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_FromInt((int)result
);
19016 if (temp2
) delete arg2
;
19021 if (temp2
) delete arg2
;
19027 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19030 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19031 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19033 bool temp2
= False
;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "tz", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= SWIG_FromInt((int)result
);
19058 if (temp2
) delete arg2
;
19063 if (temp2
) delete arg2
;
19069 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19072 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19073 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19075 bool temp2
= False
;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "tz", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_FromInt((int)result
);
19100 if (temp2
) delete arg2
;
19105 if (temp2
) delete arg2
;
19111 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19114 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19115 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19117 bool temp2
= False
;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "tz", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_FromInt((int)result
);
19142 if (temp2
) delete arg2
;
19147 if (temp2
) delete arg2
;
19153 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19156 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19157 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19159 bool temp2
= False
;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "tz", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_FromInt((int)result
);
19184 if (temp2
) delete arg2
;
19189 if (temp2
) delete arg2
;
19195 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19198 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19199 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19201 bool temp2
= False
;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "tz", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_FromInt((int)result
);
19226 if (temp2
) delete arg2
;
19231 if (temp2
) delete arg2
;
19237 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19240 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19241 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19243 bool temp2
= False
;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "tz", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_FromInt((int)result
);
19268 if (temp2
) delete arg2
;
19273 if (temp2
) delete arg2
;
19279 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19282 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19283 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19285 bool temp2
= False
;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "tz", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19297 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_FromInt((int)result
);
19310 if (temp2
) delete arg2
;
19315 if (temp2
) delete arg2
;
19321 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19324 int arg2
= (int) wxDateTime::Monday_First
;
19325 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19326 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19328 bool temp3
= False
;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self",(char *) "flags",(char *) "tz", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19345 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_FromInt((int)result
);
19358 if (temp3
) delete arg3
;
19363 if (temp3
) delete arg3
;
19369 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19372 int arg2
= (int) wxDateTime::Monday_First
;
19373 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19374 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19376 bool temp3
= False
;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self",(char *) "flags",(char *) "tz", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19388 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19393 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_FromInt((int)result
);
19406 if (temp3
) delete arg3
;
19411 if (temp3
) delete arg3
;
19417 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19420 int arg2
= (int) wxDateTime::Country_Default
;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "country", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19451 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19454 wxDateTime
*arg2
= 0 ;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "datetime", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19468 if (arg2
== NULL
) {
19469 PyErr_SetString(PyExc_TypeError
,"null reference");
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19488 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19491 wxDateTime
*arg2
= 0 ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self",(char *) "datetime", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19505 if (arg2
== NULL
) {
19506 PyErr_SetString(PyExc_TypeError
,"null reference");
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19525 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19528 wxDateTime
*arg2
= 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "datetime", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19542 if (arg2
== NULL
) {
19543 PyErr_SetString(PyExc_TypeError
,"null reference");
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19562 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19565 wxDateTime
*arg2
= 0 ;
19566 wxDateTime
*arg3
= 0 ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self",(char *) "t1",(char *) "t2", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19581 if (arg2
== NULL
) {
19582 PyErr_SetString(PyExc_TypeError
,"null reference");
19585 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19588 if (arg3
== NULL
) {
19589 PyErr_SetString(PyExc_TypeError
,"null reference");
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19608 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19611 wxDateTime
*arg2
= 0 ;
19612 wxDateTime
*arg3
= 0 ;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 PyObject
* obj2
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "t1",(char *) "t2", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19627 if (arg2
== NULL
) {
19628 PyErr_SetString(PyExc_TypeError
,"null reference");
19631 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19634 if (arg3
== NULL
) {
19635 PyErr_SetString(PyExc_TypeError
,"null reference");
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19654 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19657 wxDateTime
*arg2
= 0 ;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self",(char *) "dt", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19671 if (arg2
== NULL
) {
19672 PyErr_SetString(PyExc_TypeError
,"null reference");
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19691 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19694 wxDateTime
*arg2
= 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self",(char *) "dt", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19708 if (arg2
== NULL
) {
19709 PyErr_SetString(PyExc_TypeError
,"null reference");
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19728 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19731 wxDateTime
*arg2
= 0 ;
19732 wxTimeSpan
*arg3
= 0 ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "dt",(char *) "ts", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19747 if (arg2
== NULL
) {
19748 PyErr_SetString(PyExc_TypeError
,"null reference");
19751 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19754 if (arg3
== NULL
) {
19755 PyErr_SetString(PyExc_TypeError
,"null reference");
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19774 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
;
19776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19777 wxTimeSpan
*arg2
= 0 ;
19778 wxDateTime
*result
;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self",(char *) "diff", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19791 if (arg2
== NULL
) {
19792 PyErr_SetString(PyExc_TypeError
,"null reference");
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19799 result
= (wxDateTime
*) &_result_ref
;
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19812 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19815 wxDateSpan
*arg2
= 0 ;
19816 wxDateTime
*result
;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self",(char *) "diff", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19829 if (arg2
== NULL
) {
19830 PyErr_SetString(PyExc_TypeError
,"null reference");
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19837 result
= (wxDateTime
*) &_result_ref
;
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19850 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19853 wxTimeSpan
*arg2
= 0 ;
19854 wxDateTime
*result
;
19855 PyObject
* obj0
= 0 ;
19856 PyObject
* obj1
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self",(char *) "diff", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19867 if (arg2
== NULL
) {
19868 PyErr_SetString(PyExc_TypeError
,"null reference");
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19875 result
= (wxDateTime
*) &_result_ref
;
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19888 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19891 wxDateSpan
*arg2
= 0 ;
19892 wxDateTime
*result
;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self",(char *) "diff", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19905 if (arg2
== NULL
) {
19906 PyErr_SetString(PyExc_TypeError
,"null reference");
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19913 result
= (wxDateTime
*) &_result_ref
;
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19926 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19929 wxDateTime
*arg2
= 0 ;
19931 PyObject
* obj0
= 0 ;
19932 PyObject
* obj1
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self",(char *) "dt", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19943 if (arg2
== NULL
) {
19944 PyErr_SetString(PyExc_TypeError
,"null reference");
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 wxTimeSpan
* resultptr
;
19956 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19965 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19966 PyObject
*resultobj
;
19967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19968 wxTimeSpan
*arg2
= 0 ;
19969 wxDateTime
*result
;
19970 PyObject
* obj0
= 0 ;
19971 PyObject
* obj1
= 0 ;
19973 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19979 if (arg2
== NULL
) {
19980 PyErr_SetString(PyExc_TypeError
,"null reference");
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19987 result
= (wxDateTime
*) &_result_ref
;
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20000 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20001 PyObject
*resultobj
;
20002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20003 wxDateSpan
*arg2
= 0 ;
20004 wxDateTime
*result
;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20008 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20014 if (arg2
== NULL
) {
20015 PyErr_SetString(PyExc_TypeError
,"null reference");
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20022 result
= (wxDateTime
*) &_result_ref
;
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20035 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20040 argc
= PyObject_Length(args
);
20041 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20042 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20058 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20066 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20084 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20092 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20097 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20102 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20103 PyObject
*resultobj
;
20104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20105 wxTimeSpan
*arg2
= 0 ;
20106 wxDateTime
*result
;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20110 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20116 if (arg2
== NULL
) {
20117 PyErr_SetString(PyExc_TypeError
,"null reference");
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20124 result
= (wxDateTime
*) &_result_ref
;
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20137 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20138 PyObject
*resultobj
;
20139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20140 wxDateSpan
*arg2
= 0 ;
20141 wxDateTime
*result
;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20145 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20151 if (arg2
== NULL
) {
20152 PyErr_SetString(PyExc_TypeError
,"null reference");
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20159 result
= (wxDateTime
*) &_result_ref
;
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20172 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20177 argc
= PyObject_Length(args
);
20178 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20179 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20195 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20203 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20221 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20229 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20234 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20239 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20240 PyObject
*resultobj
;
20241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20242 wxTimeSpan
*arg2
= 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20247 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20253 if (arg2
== NULL
) {
20254 PyErr_SetString(PyExc_TypeError
,"null reference");
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20265 wxDateTime
* resultptr
;
20266 resultptr
= new wxDateTime((wxDateTime
&) result
);
20267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20275 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20276 PyObject
*resultobj
;
20277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20278 wxDateSpan
*arg2
= 0 ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20283 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20289 if (arg2
== NULL
) {
20290 PyErr_SetString(PyExc_TypeError
,"null reference");
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20301 wxDateTime
* resultptr
;
20302 resultptr
= new wxDateTime((wxDateTime
&) result
);
20303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20311 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20316 argc
= PyObject_Length(args
);
20317 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20318 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20324 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20334 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20342 return _wrap_DateTime___add____SWIG_0(self
,args
);
20350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20360 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20368 return _wrap_DateTime___add____SWIG_1(self
,args
);
20373 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20378 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20379 PyObject
*resultobj
;
20380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20381 wxDateTime
*arg2
= 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20386 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20392 if (arg2
== NULL
) {
20393 PyErr_SetString(PyExc_TypeError
,"null reference");
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20404 wxTimeSpan
* resultptr
;
20405 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20414 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20415 PyObject
*resultobj
;
20416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20417 wxTimeSpan
*arg2
= 0 ;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20422 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20428 if (arg2
== NULL
) {
20429 PyErr_SetString(PyExc_TypeError
,"null reference");
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20440 wxDateTime
* resultptr
;
20441 resultptr
= new wxDateTime((wxDateTime
&) result
);
20442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20450 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20451 PyObject
*resultobj
;
20452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20453 wxDateSpan
*arg2
= 0 ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20458 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20464 if (arg2
== NULL
) {
20465 PyErr_SetString(PyExc_TypeError
,"null reference");
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 wxDateTime
* resultptr
;
20477 resultptr
= new wxDateTime((wxDateTime
&) result
);
20478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20486 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20491 argc
= PyObject_Length(args
);
20492 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20493 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20499 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20509 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20517 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20525 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20535 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20543 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20551 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20561 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20569 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20574 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20579 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20580 PyObject
*resultobj
;
20581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20582 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20587 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20608 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20609 PyObject
*resultobj
;
20610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20611 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20616 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20637 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20638 PyObject
*resultobj
;
20639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20640 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20645 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20667 PyObject
*resultobj
;
20668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20669 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20674 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20695 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20696 PyObject
*resultobj
;
20697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20698 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20703 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20724 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20725 PyObject
*resultobj
;
20726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20727 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20732 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20756 wxString
*arg2
= 0 ;
20758 bool temp2
= False
;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "date", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20769 arg2
= wxString_in_helper(obj1
);
20770 if (arg2
== NULL
) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= SWIG_FromInt((int)result
);
20795 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20798 wxString
*arg2
= 0 ;
20799 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20800 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20801 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20802 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20804 bool temp2
= False
;
20805 bool temp3
= False
;
20806 PyObject
* obj0
= 0 ;
20807 PyObject
* obj1
= 0 ;
20808 PyObject
* obj2
= 0 ;
20809 PyObject
* obj3
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20818 arg2
= wxString_in_helper(obj1
);
20819 if (arg2
== NULL
) SWIG_fail
;
20824 arg3
= wxString_in_helper(obj2
);
20825 if (arg3
== NULL
) SWIG_fail
;
20830 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20833 if (arg4
== NULL
) {
20834 PyErr_SetString(PyExc_TypeError
,"null reference");
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_FromInt((int)result
);
20868 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20871 wxString
*arg2
= 0 ;
20873 bool temp2
= False
;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self",(char *) "datetime", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 arg2
= wxString_in_helper(obj1
);
20885 if (arg2
== NULL
) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_FromInt((int)result
);
20910 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20913 wxString
*arg2
= 0 ;
20915 bool temp2
= False
;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "date", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 arg2
= wxString_in_helper(obj1
);
20927 if (arg2
== NULL
) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_FromInt((int)result
);
20952 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20955 wxString
*arg2
= 0 ;
20957 bool temp2
= False
;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self",(char *) "time", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 arg2
= wxString_in_helper(obj1
);
20969 if (arg2
== NULL
) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_FromInt((int)result
);
20994 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20997 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20998 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20999 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21000 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21002 bool temp2
= False
;
21003 bool temp3
= False
;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 PyObject
* obj2
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self",(char *) "format",(char *) "tz", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21016 arg2
= wxString_in_helper(obj1
);
21017 if (arg2
== NULL
) SWIG_fail
;
21023 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21046 if (temp3
) delete arg3
;
21055 if (temp3
) delete arg3
;
21061 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21065 PyObject
* obj0
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21093 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21097 PyObject
* obj0
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21125 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21157 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21189 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21192 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21194 return Py_BuildValue((char *)"");
21196 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "sec", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21206 arg1
= (long) SWIG_AsLong(obj0
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= wxTimeSpan::Seconds(arg1
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 wxTimeSpan
* resultptr
;
21217 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21226 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21229 char *kwnames
[] = {
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= wxTimeSpan::Second();
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 wxTimeSpan
* resultptr
;
21243 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21252 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21256 PyObject
* obj0
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "min", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21262 arg1
= (long) SWIG_AsLong(obj0
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= wxTimeSpan::Minutes(arg1
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 wxTimeSpan
* resultptr
;
21273 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21282 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21285 char *kwnames
[] = {
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= wxTimeSpan::Minute();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21298 wxTimeSpan
* resultptr
;
21299 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21308 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "hours", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21318 arg1
= (long) SWIG_AsLong(obj0
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= wxTimeSpan::Hours(arg1
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21328 wxTimeSpan
* resultptr
;
21329 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21338 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21341 char *kwnames
[] = {
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= wxTimeSpan::Hour();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21354 wxTimeSpan
* resultptr
;
21355 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21364 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "days", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21374 arg1
= (long) SWIG_AsLong(obj0
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= wxTimeSpan::Days(arg1
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21384 wxTimeSpan
* resultptr
;
21385 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21394 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21397 char *kwnames
[] = {
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= wxTimeSpan::Day();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 wxTimeSpan
* resultptr
;
21411 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21420 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "days", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21430 arg1
= (long) SWIG_AsLong(obj0
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= wxTimeSpan::Weeks(arg1
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 wxTimeSpan
* resultptr
;
21441 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21450 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21453 char *kwnames
[] = {
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= wxTimeSpan::Week();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 wxTimeSpan
* resultptr
;
21467 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21476 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 long arg1
= (long) 0 ;
21479 long arg2
= (long) 0 ;
21480 long arg3
= (long) 0 ;
21481 long arg4
= (long) 0 ;
21482 wxTimeSpan
*result
;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 PyObject
* obj3
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21493 arg1
= (long) SWIG_AsLong(obj0
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 arg2
= (long) SWIG_AsLong(obj1
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 arg3
= (long) SWIG_AsLong(obj2
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 arg4
= (long) SWIG_AsLong(obj3
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21522 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 Py_INCREF(Py_None
); resultobj
= Py_None
;
21547 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21550 wxTimeSpan
*arg2
= 0 ;
21551 wxTimeSpan
*result
;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "diff", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21564 if (arg2
== NULL
) {
21565 PyErr_SetString(PyExc_TypeError
,"null reference");
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21572 result
= (wxTimeSpan
*) &_result_ref
;
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21585 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21588 wxTimeSpan
*arg2
= 0 ;
21589 wxTimeSpan
*result
;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self",(char *) "diff", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21602 if (arg2
== NULL
) {
21603 PyErr_SetString(PyExc_TypeError
,"null reference");
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21610 result
= (wxTimeSpan
*) &_result_ref
;
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21623 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21627 wxTimeSpan
*result
;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "n", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 arg2
= (int) SWIG_AsInt(obj1
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21643 result
= (wxTimeSpan
*) &_result_ref
;
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21656 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21659 wxTimeSpan
*result
;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21672 result
= (wxTimeSpan
*) &_result_ref
;
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21685 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21705 wxTimeSpan
* resultptr
;
21706 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21715 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21718 wxTimeSpan
*arg2
= 0 ;
21719 wxTimeSpan
*result
;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "diff", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21732 if (arg2
== NULL
) {
21733 PyErr_SetString(PyExc_TypeError
,"null reference");
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21740 result
= (wxTimeSpan
*) &_result_ref
;
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21753 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21756 wxTimeSpan
*arg2
= 0 ;
21757 wxTimeSpan
*result
;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "diff", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21770 if (arg2
== NULL
) {
21771 PyErr_SetString(PyExc_TypeError
,"null reference");
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21778 result
= (wxTimeSpan
*) &_result_ref
;
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21791 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21795 wxTimeSpan
*result
;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "n", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21805 arg2
= (int) SWIG_AsInt(obj1
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21811 result
= (wxTimeSpan
*) &_result_ref
;
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21824 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21827 wxTimeSpan
*result
;
21828 PyObject
* obj0
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21840 result
= (wxTimeSpan
*) &_result_ref
;
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21853 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21856 wxTimeSpan
*arg2
= 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "other", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21870 if (arg2
== NULL
) {
21871 PyErr_SetString(PyExc_TypeError
,"null reference");
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 wxTimeSpan
* resultptr
;
21883 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21892 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21895 wxTimeSpan
*arg2
= 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "other", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21909 if (arg2
== NULL
) {
21910 PyErr_SetString(PyExc_TypeError
,"null reference");
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 wxTimeSpan
* resultptr
;
21922 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21931 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "n", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21945 arg2
= (int) SWIG_AsInt(obj1
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= wxTimeSpan___mul__(arg1
,arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 wxTimeSpan
* resultptr
;
21956 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21965 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self",(char *) "n", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 arg2
= (int) SWIG_AsInt(obj1
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 wxTimeSpan
* resultptr
;
21990 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21999 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22002 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "other", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22031 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22034 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22036 PyObject
* obj0
= 0 ;
22037 PyObject
* obj1
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self",(char *) "other", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22063 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22066 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "other", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22095 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22098 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "other", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22127 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22130 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self",(char *) "other", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22159 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22162 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "other", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22191 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22219 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22223 PyObject
* obj0
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22247 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22275 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22278 wxTimeSpan
*arg2
= 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self",(char *) "ts", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22292 if (arg2
== NULL
) {
22293 PyErr_SetString(PyExc_TypeError
,"null reference");
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22312 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22315 wxTimeSpan
*arg2
= 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "ts", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22329 if (arg2
== NULL
) {
22330 PyErr_SetString(PyExc_TypeError
,"null reference");
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22349 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22352 wxTimeSpan
*arg2
= 0 ;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self",(char *) "t", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22366 if (arg2
== NULL
) {
22367 PyErr_SetString(PyExc_TypeError
,"null reference");
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22386 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_FromInt((int)result
);
22412 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_FromInt((int)result
);
22438 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= SWIG_FromInt((int)result
);
22464 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_FromInt((int)result
);
22490 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22511 hi
= PyLong_FromLong( (&result
)->GetHi() );
22512 lo
= PyLong_FromLong( (&result
)->GetLo() );
22513 shifter
= PyLong_FromLong(32);
22514 shifted
= PyNumber_Lshift(hi
, shifter
);
22515 resultobj
= PyNumber_Or(shifted
, lo
);
22518 Py_DECREF(shifter
);
22519 Py_DECREF(shifted
);
22527 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22548 hi
= PyLong_FromLong( (&result
)->GetHi() );
22549 lo
= PyLong_FromLong( (&result
)->GetLo() );
22550 shifter
= PyLong_FromLong(32);
22551 shifted
= PyNumber_Lshift(hi
, shifter
);
22552 resultobj
= PyNumber_Or(shifted
, lo
);
22555 Py_DECREF(shifter
);
22556 Py_DECREF(shifted
);
22564 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22567 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22568 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22570 bool temp2
= False
;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self",(char *) "format", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22582 arg2
= wxString_in_helper(obj1
);
22583 if (arg2
== NULL
) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22615 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22618 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22620 return Py_BuildValue((char *)"");
22622 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 int arg1
= (int) 0 ;
22625 int arg2
= (int) 0 ;
22626 int arg3
= (int) 0 ;
22627 int arg4
= (int) 0 ;
22628 wxDateSpan
*result
;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 PyObject
* obj2
= 0 ;
22632 PyObject
* obj3
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22639 arg1
= (int) SWIG_AsInt(obj0
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22643 arg2
= (int) SWIG_AsInt(obj1
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 arg3
= (int) SWIG_AsInt(obj2
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22651 arg4
= (int) SWIG_AsInt(obj3
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22668 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 Py_INCREF(Py_None
); resultobj
= Py_None
;
22693 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "days", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22703 arg1
= (int) SWIG_AsInt(obj0
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= wxDateSpan::Days(arg1
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 wxDateSpan
* resultptr
;
22714 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22723 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22726 char *kwnames
[] = {
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= wxDateSpan::Day();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22739 wxDateSpan
* resultptr
;
22740 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22749 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22753 PyObject
* obj0
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "weeks", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22759 arg1
= (int) SWIG_AsInt(obj0
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= wxDateSpan::Weeks(arg1
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 wxDateSpan
* resultptr
;
22770 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22779 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22782 char *kwnames
[] = {
22786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= wxDateSpan::Week();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22795 wxDateSpan
* resultptr
;
22796 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22805 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22809 PyObject
* obj0
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "mon", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22815 arg1
= (int) SWIG_AsInt(obj0
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= wxDateSpan::Months(arg1
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22825 wxDateSpan
* resultptr
;
22826 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22835 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22838 char *kwnames
[] = {
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= wxDateSpan::Month();
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 wxDateSpan
* resultptr
;
22852 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22861 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "years", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22871 arg1
= (int) SWIG_AsInt(obj0
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= wxDateSpan::Years(arg1
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 wxDateSpan
* resultptr
;
22882 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22891 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22894 char *kwnames
[] = {
22898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= wxDateSpan::Year();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 wxDateSpan
* resultptr
;
22908 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22917 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22921 wxDateSpan
*result
;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "n", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22931 arg2
= (int) SWIG_AsInt(obj1
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22937 result
= (wxDateSpan
*) &_result_ref
;
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22950 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22954 wxDateSpan
*result
;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self",(char *) "n", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 arg2
= (int) SWIG_AsInt(obj1
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22970 result
= (wxDateSpan
*) &_result_ref
;
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22983 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22987 wxDateSpan
*result
;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "n", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 arg2
= (int) SWIG_AsInt(obj1
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23003 result
= (wxDateSpan
*) &_result_ref
;
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23016 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23020 wxDateSpan
*result
;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self",(char *) "n", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 arg2
= (int) SWIG_AsInt(obj1
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23036 result
= (wxDateSpan
*) &_result_ref
;
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23049 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_FromInt((int)result
);
23075 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_FromInt((int)result
);
23101 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23105 PyObject
* obj0
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_FromInt((int)result
);
23127 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_FromInt((int)result
);
23153 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23154 PyObject
*resultobj
;
23155 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_FromInt((int)result
);
23179 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23182 wxDateSpan
*arg2
= 0 ;
23183 wxDateSpan
*result
;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self",(char *) "other", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23196 if (arg2
== NULL
) {
23197 PyErr_SetString(PyExc_TypeError
,"null reference");
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23204 result
= (wxDateSpan
*) &_result_ref
;
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23217 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23220 wxDateSpan
*arg2
= 0 ;
23221 wxDateSpan
*result
;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "other", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23234 if (arg2
== NULL
) {
23235 PyErr_SetString(PyExc_TypeError
,"null reference");
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23242 result
= (wxDateSpan
*) &_result_ref
;
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23255 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23258 wxDateSpan
*result
;
23259 PyObject
* obj0
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23271 result
= (wxDateSpan
*) &_result_ref
;
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23284 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
;
23286 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23288 wxDateSpan
*result
;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "factor", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23298 arg2
= (int) SWIG_AsInt(obj1
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23304 result
= (wxDateSpan
*) &_result_ref
;
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23317 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23320 wxDateSpan
*arg2
= 0 ;
23321 wxDateSpan
*result
;
23322 PyObject
* obj0
= 0 ;
23323 PyObject
* obj1
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self",(char *) "other", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23334 if (arg2
== NULL
) {
23335 PyErr_SetString(PyExc_TypeError
,"null reference");
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23342 result
= (wxDateSpan
*) &_result_ref
;
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23355 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23358 wxDateSpan
*arg2
= 0 ;
23359 wxDateSpan
*result
;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "other", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23372 if (arg2
== NULL
) {
23373 PyErr_SetString(PyExc_TypeError
,"null reference");
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23380 result
= (wxDateSpan
*) &_result_ref
;
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23393 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23396 wxDateSpan
*result
;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23409 result
= (wxDateSpan
*) &_result_ref
;
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23422 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23426 wxDateSpan
*result
;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "factor", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 arg2
= (int) SWIG_AsInt(obj1
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23442 result
= (wxDateSpan
*) &_result_ref
;
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23455 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23458 wxDateSpan
*arg2
= 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "other", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23472 if (arg2
== NULL
) {
23473 PyErr_SetString(PyExc_TypeError
,"null reference");
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 wxDateSpan
* resultptr
;
23485 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23494 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23496 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23497 wxDateSpan
*arg2
= 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self",(char *) "other", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23511 if (arg2
== NULL
) {
23512 PyErr_SetString(PyExc_TypeError
,"null reference");
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 wxDateSpan
* resultptr
;
23524 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23533 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "n", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 arg2
= (int) SWIG_AsInt(obj1
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= wxDateSpan___mul__(arg1
,arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23557 wxDateSpan
* resultptr
;
23558 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23567 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self",(char *) "n", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 arg2
= (int) SWIG_AsInt(obj1
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= wxDateSpan___rmul__(arg1
,arg2
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 wxDateSpan
* resultptr
;
23592 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23601 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23604 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "other", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23633 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23636 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self",(char *) "other", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23665 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23668 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23670 return Py_BuildValue((char *)"");
23672 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23675 char *kwnames
[] = {
23679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (long)wxGetLocalTime();
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_FromLong((long)result
);
23694 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23697 char *kwnames
[] = {
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (long)wxGetUTCTime();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_FromLong((long)result
);
23716 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23719 char *kwnames
[] = {
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (long)wxGetCurrentTime();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_FromLong((long)result
);
23738 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23741 char *kwnames
[] = {
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= wxGetLocalTimeMillis();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23755 hi
= PyLong_FromLong( (&result
)->GetHi() );
23756 lo
= PyLong_FromLong( (&result
)->GetLo() );
23757 shifter
= PyLong_FromLong(32);
23758 shifted
= PyNumber_Lshift(hi
, shifter
);
23759 resultobj
= PyNumber_Or(shifted
, lo
);
23762 Py_DECREF(shifter
);
23763 Py_DECREF(shifted
);
23771 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23772 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23777 static PyObject
*_wrap_DefaultDateTime_get() {
23780 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23785 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23788 wxDataFormat
*result
;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "type", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23795 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23811 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxString
*arg1
= 0 ;
23814 wxDataFormat
*result
;
23815 bool temp1
= False
;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "format", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23823 arg1
= wxString_in_helper(obj0
);
23824 if (arg1
== NULL
) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23849 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23852 PyObject
* obj0
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 Py_INCREF(Py_None
); resultobj
= Py_None
;
23874 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23875 PyObject
*resultobj
;
23876 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23882 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23903 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23904 PyObject
*resultobj
;
23905 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23911 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23932 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23933 PyObject
*resultobj
;
23934 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23935 wxDataFormat
*arg2
= 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23940 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23946 if (arg2
== NULL
) {
23947 PyErr_SetString(PyExc_TypeError
,"null reference");
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23966 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23971 argc
= PyObject_Length(args
);
23972 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23973 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23979 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23989 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23997 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24005 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24013 _v
= SWIG_CheckInt(argv
[1]);
24015 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24020 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24025 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24026 PyObject
*resultobj
;
24027 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24028 wxDataFormat
*arg2
= 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24033 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24039 if (arg2
== NULL
) {
24040 PyErr_SetString(PyExc_TypeError
,"null reference");
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24059 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24064 argc
= PyObject_Length(args
);
24065 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24066 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24082 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24090 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24098 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24106 _v
= SWIG_CheckInt(argv
[1]);
24108 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24113 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24118 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "format", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->SetType((wxDataFormatId
)arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_FromInt((int)result
);
24173 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24177 PyObject
* obj0
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= ((wxDataFormat
const *)arg1
)->GetId();
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24205 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24208 wxString
*arg2
= 0 ;
24209 bool temp2
= False
;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self",(char *) "format", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 arg2
= wxString_in_helper(obj1
);
24221 if (arg2
== NULL
) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->SetId((wxString
const &)*arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24246 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24249 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24251 return Py_BuildValue((char *)"");
24253 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24254 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24259 static PyObject
*_wrap_FormatInvalid_get() {
24262 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24267 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 Py_INCREF(Py_None
); resultobj
= Py_None
;
24292 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24295 int arg2
= (int) wxDataObject::Get
;
24296 SwigValueWrapper
< wxDataFormat
> result
;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "dir", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 wxDataFormat
* resultptr
;
24319 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24328 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24331 int arg2
= (int) wxDataObject::Get
;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "dir", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24343 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24360 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24363 wxDataFormat
*arg2
= 0 ;
24364 int arg3
= (int) wxDataObject::Get
;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 PyObject
* obj2
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self",(char *) "format",(char *) "dir", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24379 if (arg2
== NULL
) {
24380 PyErr_SetString(PyExc_TypeError
,"null reference");
24384 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24403 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24406 wxDataFormat
*arg2
= 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "format", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24420 if (arg2
== NULL
) {
24421 PyErr_SetString(PyExc_TypeError
,"null reference");
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24438 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24441 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24442 int arg3
= (int) wxDataObject::Get
;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 PyObject
* obj2
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "formats",(char *) "dir", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 Py_INCREF(Py_None
); resultobj
= Py_None
;
24473 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24476 wxDataFormat
*arg2
= 0 ;
24477 void *arg3
= (void *) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 PyObject
* obj2
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "format",(char *) "buf", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24492 if (arg2
== NULL
) {
24493 PyErr_SetString(PyExc_TypeError
,"null reference");
24496 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24513 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24516 wxDataFormat
*arg2
= 0 ;
24518 void *arg4
= (void *) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 PyObject
* obj2
= 0 ;
24523 PyObject
* obj3
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24534 if (arg2
== NULL
) {
24535 PyErr_SetString(PyExc_TypeError
,"null reference");
24538 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24540 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24557 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24560 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24562 return Py_BuildValue((char *)"");
24564 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24567 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24568 wxDataObjectSimple
*result
;
24569 PyObject
* obj0
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "format", NULL
24574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24579 if (arg1
== NULL
) {
24580 PyErr_SetString(PyExc_TypeError
,"null reference");
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24598 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24601 wxDataFormat
*result
;
24602 PyObject
* obj0
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24614 result
= (wxDataFormat
*) &_result_ref
;
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24627 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24630 wxDataFormat
*arg2
= 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self",(char *) "format", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24643 if (arg2
== NULL
) {
24644 PyErr_SetString(PyExc_TypeError
,"null reference");
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24664 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24666 return Py_BuildValue((char *)"");
24668 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24671 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24672 wxPyDataObjectSimple
*result
;
24673 PyObject
* obj0
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "format", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24683 if (arg1
== NULL
) {
24684 PyErr_SetString(PyExc_TypeError
,"null reference");
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24702 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24705 PyObject
*arg2
= (PyObject
*) 0 ;
24706 PyObject
*arg3
= (PyObject
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 PyObject
* obj2
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "self",(char *) "_class", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 Py_INCREF(Py_None
); resultobj
= Py_None
;
24733 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24736 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24738 return Py_BuildValue((char *)"");
24740 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxDataObjectComposite
*result
;
24743 char *kwnames
[] = {
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24762 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24765 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24766 int arg3
= (int) False
;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 PyObject
* obj2
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24778 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24780 arg3
= (int) SWIG_AsInt(obj2
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 (arg1
)->Add(arg2
,arg3
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 Py_INCREF(Py_None
); resultobj
= Py_None
;
24797 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24800 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24802 return Py_BuildValue((char *)"");
24804 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24807 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24808 wxTextDataObject
*result
;
24809 bool temp1
= False
;
24810 PyObject
* obj0
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "text", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24818 arg1
= wxString_in_helper(obj0
);
24819 if (arg1
== NULL
) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24845 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (size_t)(arg1
)->GetTextLength();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24871 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (arg1
)->GetText();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24903 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24906 wxString
*arg2
= 0 ;
24907 bool temp2
= False
;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "text", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 arg2
= wxString_in_helper(obj1
);
24919 if (arg2
== NULL
) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->SetText((wxString
const &)*arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24944 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24947 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24949 return Py_BuildValue((char *)"");
24951 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24954 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24955 wxPyTextDataObject
*result
;
24956 bool temp1
= False
;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "text", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24965 arg1
= wxString_in_helper(obj0
);
24966 if (arg1
== NULL
) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24992 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24995 PyObject
*arg2
= (PyObject
*) 0 ;
24996 PyObject
*arg3
= (PyObject
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 PyObject
* obj2
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "self",(char *) "_class", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 Py_INCREF(Py_None
); resultobj
= Py_None
;
25023 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25026 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25028 return Py_BuildValue((char *)"");
25030 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25033 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25034 wxBitmapDataObject
*result
;
25035 PyObject
* obj0
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "bitmap", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25045 if (arg1
== NULL
) {
25046 PyErr_SetString(PyExc_TypeError
,"null reference");
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25064 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25084 wxBitmap
* resultptr
;
25085 resultptr
= new wxBitmap((wxBitmap
&) result
);
25086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25094 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25097 wxBitmap
*arg2
= 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "bitmap", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25110 if (arg2
== NULL
) {
25111 PyErr_SetString(PyExc_TypeError
,"null reference");
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25131 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25133 return Py_BuildValue((char *)"");
25135 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25138 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25139 wxPyBitmapDataObject
*result
;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "bitmap", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25150 if (arg1
== NULL
) {
25151 PyErr_SetString(PyExc_TypeError
,"null reference");
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25169 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25172 PyObject
*arg2
= (PyObject
*) 0 ;
25173 PyObject
*arg3
= (PyObject
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 PyObject
* obj2
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "self",(char *) "_class", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 Py_INCREF(Py_None
); resultobj
= Py_None
;
25200 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25203 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25205 return Py_BuildValue((char *)"");
25207 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxFileDataObject
*result
;
25210 char *kwnames
[] = {
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (wxFileDataObject
*)new wxFileDataObject();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25229 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
;
25231 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25232 wxArrayString
*result
;
25233 PyObject
* obj0
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25245 result
= (wxArrayString
*) &_result_ref
;
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= wxArrayString2PyList_helper(*result
);
25260 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25263 wxString
*arg2
= 0 ;
25264 bool temp2
= False
;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "filename", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25275 arg2
= wxString_in_helper(obj1
);
25276 if (arg2
== NULL
) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 (arg1
)->AddFile((wxString
const &)*arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25304 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25306 return Py_BuildValue((char *)"");
25308 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25311 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25312 wxCustomDataObject
*result
;
25313 PyObject
* obj0
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "format", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25323 if (arg1
== NULL
) {
25324 PyErr_SetString(PyExc_TypeError
,"null reference");
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25342 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25345 PyObject
*arg2
= (PyObject
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "data", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 wxCustomDataObject_TakeData(arg1
,arg2
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 Py_INCREF(Py_None
); resultobj
= Py_None
;
25370 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25373 PyObject
*arg2
= (PyObject
*) 0 ;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "data", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25401 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (size_t)(arg1
)->GetSize();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25427 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25431 PyObject
* obj0
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= result
;
25453 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25456 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25458 return Py_BuildValue((char *)"");
25460 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxURLDataObject
*result
;
25463 char *kwnames
[] = {
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (wxURLDataObject
*)new wxURLDataObject();
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25482 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (arg1
)->GetURL();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25514 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25517 wxString
*arg2
= 0 ;
25518 bool temp2
= False
;
25519 PyObject
* obj0
= 0 ;
25520 PyObject
* obj1
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "self",(char *) "url", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 arg2
= wxString_in_helper(obj1
);
25530 if (arg2
== NULL
) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->SetURL((wxString
const &)*arg2
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 Py_INCREF(Py_None
); resultobj
= Py_None
;
25555 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25558 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25560 return Py_BuildValue((char *)"");
25562 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxMetafileDataObject
*result
;
25565 char *kwnames
[] = {
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25584 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25587 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25589 return Py_BuildValue((char *)"");
25591 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25595 PyObject
* obj0
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "res", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25601 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25619 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25621 wxWindow
*arg1
= (wxWindow
*) 0 ;
25622 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25623 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25624 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25625 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25626 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25627 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25628 wxPyDropSource
*result
;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 PyObject
* obj2
= 0 ;
25632 PyObject
* obj3
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25644 if (arg2
== NULL
) {
25645 PyErr_SetString(PyExc_TypeError
,"null reference");
25650 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25653 if (arg3
== NULL
) {
25654 PyErr_SetString(PyExc_TypeError
,"null reference");
25659 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25662 if (arg4
== NULL
) {
25663 PyErr_SetString(PyExc_TypeError
,"null reference");
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25681 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25684 PyObject
*arg2
= (PyObject
*) 0 ;
25685 PyObject
*arg3
= (PyObject
*) 0 ;
25687 PyObject
* obj0
= 0 ;
25688 PyObject
* obj1
= 0 ;
25689 PyObject
* obj2
= 0 ;
25690 PyObject
* obj3
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 arg4
= (int) SWIG_AsInt(obj3
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25709 Py_INCREF(Py_None
); resultobj
= Py_None
;
25716 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 char *kwnames
[] = {
25721 (char *) "self", NULL
25724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 Py_INCREF(Py_None
); resultobj
= Py_None
;
25741 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25744 wxDataObject
*arg2
= 0 ;
25745 PyObject
* obj0
= 0 ;
25746 PyObject
* obj1
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self",(char *) "data", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25757 if (arg2
== NULL
) {
25758 PyErr_SetString(PyExc_TypeError
,"null reference");
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 (arg1
)->SetData(*arg2
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 Py_INCREF(Py_None
); resultobj
= Py_None
;
25775 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25778 wxDataObject
*result
;
25779 PyObject
* obj0
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25801 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25805 wxCursor
*arg3
= 0 ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 PyObject
* obj2
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "res",(char *) "cursor", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25816 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25821 if (arg3
== NULL
) {
25822 PyErr_SetString(PyExc_TypeError
,"null reference");
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 Py_INCREF(Py_None
); resultobj
= Py_None
;
25839 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25842 int arg2
= (int) wxDrag_CopyOnly
;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self",(char *) "flags", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25854 arg2
= (int) SWIG_AsInt(obj1
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (int)(arg1
)->DoDragDrop(arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_FromInt((int)result
);
25871 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "effect", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25885 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25903 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25906 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25908 return Py_BuildValue((char *)"");
25910 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25913 wxPyDropTarget
*result
;
25914 PyObject
* obj0
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "dataObject", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25922 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25938 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25941 PyObject
*arg2
= (PyObject
*) 0 ;
25942 PyObject
*arg3
= (PyObject
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 PyObject
* obj2
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self",(char *) "self",(char *) "_class", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 Py_INCREF(Py_None
); resultobj
= Py_None
;
25969 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25997 wxDataObject
*result
;
25998 PyObject
* obj0
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26020 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26023 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "dataObject", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26034 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 (arg1
)->SetDataObject(arg2
);
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 Py_INCREF(Py_None
); resultobj
= Py_None
;
26049 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 PyObject
* obj2
= 0 ;
26059 PyObject
* obj3
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26067 arg2
= (int) SWIG_AsInt(obj1
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26069 arg3
= (int) SWIG_AsInt(obj2
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26071 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_FromInt((int)result
);
26087 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 PyObject
* obj3
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26105 arg2
= (int) SWIG_AsInt(obj1
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26107 arg3
= (int) SWIG_AsInt(obj2
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26109 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_FromInt((int)result
);
26125 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 (arg1
)->base_OnLeave();
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 Py_INCREF(Py_None
); resultobj
= Py_None
;
26150 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 PyObject
* obj2
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self",(char *) "x",(char *) "y", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26166 arg2
= (int) SWIG_AsInt(obj1
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26168 arg3
= (int) SWIG_AsInt(obj2
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26186 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (bool)(arg1
)->GetData();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26214 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26217 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26219 return Py_BuildValue((char *)"");
26221 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyTextDropTarget
*result
;
26224 char *kwnames
[] = {
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26243 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26246 PyObject
*arg2
= (PyObject
*) 0 ;
26247 PyObject
*arg3
= (PyObject
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self",(char *) "self",(char *) "_class", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 Py_INCREF(Py_None
); resultobj
= Py_None
;
26274 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26281 PyObject
* obj0
= 0 ;
26282 PyObject
* obj1
= 0 ;
26283 PyObject
* obj2
= 0 ;
26284 PyObject
* obj3
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26292 arg2
= (int) SWIG_AsInt(obj1
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26294 arg3
= (int) SWIG_AsInt(obj2
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26296 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= SWIG_FromInt((int)result
);
26312 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 PyObject
* obj2
= 0 ;
26322 PyObject
* obj3
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 arg2
= (int) SWIG_AsInt(obj1
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26332 arg3
= (int) SWIG_AsInt(obj2
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26334 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_FromInt((int)result
);
26350 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
;
26352 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26353 PyObject
* obj0
= 0 ;
26354 char *kwnames
[] = {
26355 (char *) "self", NULL
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->base_OnLeave();
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 PyObject
* obj2
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "x",(char *) "y", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 arg2
= (int) SWIG_AsInt(obj1
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26393 arg3
= (int) SWIG_AsInt(obj2
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26411 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 PyObject
* obj2
= 0 ;
26421 PyObject
* obj3
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 arg2
= (int) SWIG_AsInt(obj1
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26431 arg3
= (int) SWIG_AsInt(obj2
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26433 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_FromInt((int)result
);
26449 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26452 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26454 return Py_BuildValue((char *)"");
26456 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPyFileDropTarget
*result
;
26459 char *kwnames
[] = {
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26478 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
;
26480 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26481 PyObject
*arg2
= (PyObject
*) 0 ;
26482 PyObject
*arg3
= (PyObject
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 PyObject
* obj2
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self",(char *) "self",(char *) "_class", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 Py_INCREF(Py_None
); resultobj
= Py_None
;
26509 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 PyObject
* obj2
= 0 ;
26519 PyObject
* obj3
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 arg2
= (int) SWIG_AsInt(obj1
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26529 arg3
= (int) SWIG_AsInt(obj2
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26531 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_FromInt((int)result
);
26547 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 PyObject
* obj2
= 0 ;
26557 PyObject
* obj3
= 0 ;
26558 char *kwnames
[] = {
26559 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26565 arg2
= (int) SWIG_AsInt(obj1
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26567 arg3
= (int) SWIG_AsInt(obj2
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26569 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_FromInt((int)result
);
26585 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
;
26587 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 (arg1
)->base_OnLeave();
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 Py_INCREF(Py_None
); resultobj
= Py_None
;
26610 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 PyObject
* obj2
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "x",(char *) "y", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26626 arg2
= (int) SWIG_AsInt(obj1
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26628 arg3
= (int) SWIG_AsInt(obj2
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26646 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
;
26648 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 PyObject
* obj2
= 0 ;
26656 PyObject
* obj3
= 0 ;
26657 char *kwnames
[] = {
26658 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26664 arg2
= (int) SWIG_AsInt(obj1
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26666 arg3
= (int) SWIG_AsInt(obj2
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26668 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_FromInt((int)result
);
26684 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26687 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26689 return Py_BuildValue((char *)"");
26691 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxClipboard
*result
;
26694 char *kwnames
[] = {
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (wxClipboard
*)new wxClipboard();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26713 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 Py_INCREF(Py_None
); resultobj
= Py_None
;
26738 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (bool)(arg1
)->Open();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26766 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 Py_INCREF(Py_None
); resultobj
= Py_None
;
26791 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26819 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26822 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self",(char *) "data", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26834 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= (bool)(arg1
)->AddData(arg2
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26851 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26854 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26856 PyObject
* obj0
= 0 ;
26857 PyObject
* obj1
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self",(char *) "data", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26866 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (bool)(arg1
)->SetData(arg2
);
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26883 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26886 wxDataFormat
*arg2
= 0 ;
26888 PyObject
* obj0
= 0 ;
26889 PyObject
* obj1
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self",(char *) "format", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26900 if (arg2
== NULL
) {
26901 PyErr_SetString(PyExc_TypeError
,"null reference");
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26920 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26923 wxDataObject
*arg2
= 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self",(char *) "data", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26937 if (arg2
== NULL
) {
26938 PyErr_SetString(PyExc_TypeError
,"null reference");
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (bool)(arg1
)->GetData(*arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26957 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 Py_INCREF(Py_None
); resultobj
= Py_None
;
26982 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (bool)(arg1
)->Flush();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27010 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27013 bool arg2
= (bool) True
;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "primary", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 arg2
= (bool) SWIG_AsBool(obj1
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 (arg1
)->UsePrimarySelection(arg2
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 Py_INCREF(Py_None
); resultobj
= Py_None
;
27041 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27044 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27046 return Py_BuildValue((char *)"");
27048 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27049 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27054 static PyObject
*_wrap_TheClipboard_get() {
27057 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27062 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27065 wxClipboardLocker
*result
;
27066 PyObject
* obj0
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "clipboard", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27090 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 Py_INCREF(Py_None
); resultobj
= Py_None
;
27115 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27143 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27146 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27148 return Py_BuildValue((char *)"");
27150 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 int arg1
= (int) 0 ;
27153 int arg2
= (int) 0 ;
27154 int arg3
= (int) 0 ;
27155 int arg4
= (int) 0 ;
27156 wxVideoMode
*result
;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 PyObject
* obj2
= 0 ;
27160 PyObject
* obj3
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27167 arg1
= (int) SWIG_AsInt(obj0
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27171 arg2
= (int) SWIG_AsInt(obj1
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 arg3
= (int) SWIG_AsInt(obj2
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27179 arg4
= (int) SWIG_AsInt(obj3
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27196 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
;
27198 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27199 PyObject
* obj0
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 Py_INCREF(Py_None
); resultobj
= Py_None
;
27221 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27224 wxVideoMode
*arg2
= 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "other", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27238 if (arg2
== NULL
) {
27239 PyErr_SetString(PyExc_TypeError
,"null reference");
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27258 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= SWIG_FromInt((int)result
);
27284 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_FromInt((int)result
);
27310 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27314 PyObject
* obj0
= 0 ;
27315 char *kwnames
[] = {
27316 (char *) "self", NULL
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= SWIG_FromInt((int)result
);
27336 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27364 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
;
27366 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27367 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 PyObject
* obj1
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "self",(char *) "other", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27396 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27399 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "other", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27428 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char *kwnames
[] = {
27435 (char *) "self",(char *) "w", NULL
27438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 arg2
= (int) SWIG_AsInt(obj1
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27443 if (arg1
) (arg1
)->w
= arg2
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27464 result
= (int) ((arg1
)->w
);
27466 resultobj
= SWIG_FromInt((int)result
);
27473 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self",(char *) "h", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 arg2
= (int) SWIG_AsInt(obj1
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27488 if (arg1
) (arg1
)->h
= arg2
;
27490 Py_INCREF(Py_None
); resultobj
= Py_None
;
27497 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 char *kwnames
[] = {
27503 (char *) "self", NULL
27506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27509 result
= (int) ((arg1
)->h
);
27511 resultobj
= SWIG_FromInt((int)result
);
27518 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "bpp", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 arg2
= (int) SWIG_AsInt(obj1
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27533 if (arg1
) (arg1
)->bpp
= arg2
;
27535 Py_INCREF(Py_None
); resultobj
= Py_None
;
27542 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 result
= (int) ((arg1
)->bpp
);
27556 resultobj
= SWIG_FromInt((int)result
);
27563 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 PyObject
* obj1
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self",(char *) "refresh", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 arg2
= (int) SWIG_AsInt(obj1
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27578 if (arg1
) (arg1
)->refresh
= arg2
;
27580 Py_INCREF(Py_None
); resultobj
= Py_None
;
27587 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27591 PyObject
* obj0
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 result
= (int) ((arg1
)->refresh
);
27601 resultobj
= SWIG_FromInt((int)result
);
27608 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27611 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27613 return Py_BuildValue((char *)"");
27615 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27616 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27621 static PyObject
*_wrap_DefaultVideoMode_get() {
27624 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27629 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 size_t arg1
= (size_t) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "index", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27640 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 result
= (wxDisplay
*)new wxDisplay(arg1
);
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27657 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27658 PyObject
*resultobj
;
27659 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 Py_INCREF(Py_None
); resultobj
= Py_None
;
27682 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27685 char *kwnames
[] = {
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (size_t)wxDisplay::GetCount();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27704 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxPoint
*arg1
= 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "pt", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27717 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= SWIG_FromInt((int)result
);
27733 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "window", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (int)Display_GetFromWindow(arg1
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= SWIG_FromInt((int)result
);
27759 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27763 PyObject
* obj0
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "self", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27787 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "self", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 wxRect
* resultptr
;
27808 resultptr
= new wxRect((wxRect
&) result
);
27809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27817 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= ((wxDisplay
const *)arg1
)->GetName();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27849 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27877 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27880 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27881 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27883 PyObject
* obj0
= 0 ;
27884 PyObject
* obj1
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self",(char *) "mode", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27896 if (arg2
== NULL
) {
27897 PyErr_SetString(PyExc_TypeError
,"null reference");
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
;
27915 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27918 wxVideoMode result
;
27919 PyObject
* obj0
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 wxVideoMode
* resultptr
;
27936 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27945 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27948 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27949 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "mode", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27964 if (arg2
== NULL
) {
27965 PyErr_SetString(PyExc_TypeError
,"null reference");
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27985 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27988 PyObject
* obj0
= 0 ;
27989 char *kwnames
[] = {
27990 (char *) "self", NULL
27993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 (arg1
)->ResetMode();
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 Py_INCREF(Py_None
); resultobj
= Py_None
;
28010 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28013 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28015 return Py_BuildValue((char *)"");
28017 static PyMethodDef SwigMethods
[] = {
28018 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28025 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28032 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28092 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28100 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28116 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28121 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28124 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28127 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28133 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28147 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28153 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28159 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28162 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28175 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28178 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28179 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28182 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28209 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28211 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28213 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28215 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28222 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28228 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28241 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28246 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28249 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28266 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28274 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28320 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28348 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28349 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28351 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28353 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28354 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28356 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28372 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28388 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28402 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28411 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28454 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28457 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28460 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28464 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28556 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28557 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28558 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28559 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28560 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28561 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28562 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28563 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28564 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28565 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28576 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28621 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28655 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28663 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28664 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28669 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28678 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28682 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28685 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28688 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28693 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28696 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28700 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28703 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28707 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28713 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28717 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28719 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28729 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28740 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28748 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28756 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28769 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28773 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28791 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28809 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28811 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28814 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28815 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28817 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28818 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28820 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28821 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28823 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28824 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28826 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28827 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28829 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28830 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28832 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28833 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28835 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28838 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28839 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28841 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28844 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28845 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28847 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28848 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28850 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28851 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28853 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28854 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28856 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28857 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28859 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28860 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28862 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28863 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28865 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28868 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28871 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28874 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28875 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28877 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28880 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28881 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28883 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28884 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28886 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28887 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28889 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28890 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28892 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28893 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28895 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28896 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28898 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28901 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28902 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28904 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28905 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28907 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28908 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28910 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28913 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28916 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28917 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28919 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28920 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28922 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28923 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28925 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28926 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28928 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28929 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28931 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28932 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28934 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28935 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28937 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28938 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28940 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28941 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28943 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28944 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28946 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28947 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28949 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28950 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28952 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28953 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28955 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28956 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28958 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28959 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28961 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28962 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28964 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28965 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28967 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28968 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28970 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28971 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28973 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28974 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28976 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28977 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28979 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28980 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28982 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28983 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28985 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28986 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28988 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28989 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28991 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28992 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28994 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28995 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28997 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28998 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29000 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29001 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29003 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29006 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29007 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29009 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29010 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29012 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29013 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29015 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29016 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29018 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29019 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29021 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29022 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29024 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29025 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29027 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29028 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29030 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29033 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29036 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29039 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29042 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29045 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29048 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29051 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) ((wxSizer
*) x
));
29054 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29057 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29060 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29063 static void *_p_wxEventTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) ((wxEvent
*) x
));
29066 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29069 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29072 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29075 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29078 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29081 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29084 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29087 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29090 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29093 static void *_p_wxControlTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29096 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29099 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29102 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29105 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29108 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29111 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29114 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29117 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29120 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29123 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29126 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29129 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29132 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29135 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29138 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29141 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29144 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29147 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29150 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29153 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29156 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29159 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29162 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29165 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29168 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29171 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29174 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29177 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29180 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29183 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29186 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29189 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29192 static void *_p_wxImageTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) ((wxImage
*) x
));
29195 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29198 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29201 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29204 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29207 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29210 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29213 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29216 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29219 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29222 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29225 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29228 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29231 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29232 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29234 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29235 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29237 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29238 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29240 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29241 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29243 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29244 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29246 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29247 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29249 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29252 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29253 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29255 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29258 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29261 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29264 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29267 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29270 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29273 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29274 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29276 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29277 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29279 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29280 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29282 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29283 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29285 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29286 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29288 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29289 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29291 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29292 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29294 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29295 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29298 return (void *)((wxWindow
*) ((wxControl
*) x
));
29300 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29301 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29303 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29304 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29306 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29307 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29309 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29310 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29399 static swig_type_info
*swig_types_initial
[] = {
29400 _swigt__p_wxLogChain
,
29401 _swigt__p_wxMutexGuiLocker
,
29402 _swigt__p_wxFileHistory
,
29404 _swigt__p_wxDateTime__TimeZone
,
29407 _swigt__p_wxConfigBase
,
29408 _swigt__p_wxDisplay
,
29409 _swigt__p_wxFileType
,
29410 _swigt__p_wxLogGui
,
29412 _swigt__p_wxDataFormat
,
29413 _swigt__p_wxTimerEvent
,
29417 _swigt__p_wxClipboard
,
29418 _swigt__p_wxStopWatch
,
29420 _swigt__p_wxClipboardLocker
,
29422 _swigt__p_wxLogStderr
,
29423 _swigt__p_wxLogTextCtrl
,
29424 _swigt__p_wxTextCtrl
,
29425 _swigt__p_wxBusyCursor
,
29426 _swigt__p_wxPyTextDataObject
,
29427 _swigt__p_wxBitmapDataObject
,
29428 _swigt__p_wxTextDataObject
,
29429 _swigt__p_wxDataObject
,
29430 _swigt__p_wxPyBitmapDataObject
,
29431 _swigt__p_wxFileDataObject
,
29432 _swigt__p_wxCustomDataObject
,
29433 _swigt__p_wxURLDataObject
,
29434 _swigt__p_wxMetafileDataObject
,
29436 _swigt__p_wxTimerRunner
,
29437 _swigt__p_wxLogWindow
,
29438 _swigt__p_wxTimeSpan
,
29439 _swigt__p_wxArrayString
,
29440 _swigt__p_wxWindowDisabler
,
29441 _swigt__p_wxToolTip
,
29442 _swigt__p_wxDataObjectComposite
,
29443 _swigt__p_wxFileConfig
,
29444 _swigt__p_wxSystemSettings
,
29445 _swigt__p_wxVideoMode
,
29446 _swigt__p_wxPyDataObjectSimple
,
29447 _swigt__p_wxDataObjectSimple
,
29448 _swigt__p_wxEvtHandler
,
29451 _swigt__p_wxSingleInstanceChecker
,
29452 _swigt__p_wxFileTypeInfo
,
29455 _swigt__p_wxMimeTypesManager
,
29456 _swigt__p_wxPyArtProvider
,
29457 _swigt__p_wxPyTipProvider
,
29458 _swigt__p_wxTipProvider
,
29459 _swigt__p_wxJoystick
,
29460 _swigt__p_wxSystemOptions
,
29462 _swigt__p_wxJoystickEvent
,
29463 _swigt__p_wxCursor
,
29464 _swigt__p_wxObject
,
29465 _swigt__p_wxOutputStream
,
29466 _swigt__p_wxDateTime
,
29467 _swigt__p_wxPyDropSource
,
29468 _swigt__p_wxWindow
,
29469 _swigt__p_wxString
,
29470 _swigt__p_wxPyProcess
,
29471 _swigt__p_wxBitmap
,
29472 _swigt__p_wxConfig
,
29474 _swigt__p_wxBusyInfo
,
29475 _swigt__p_wxPyDropTarget
,
29476 _swigt__p_wxPyTextDropTarget
,
29477 _swigt__p_wxPyFileDropTarget
,
29478 _swigt__p_wxProcessEvent
,
29480 _swigt__p_wxLogNull
,
29481 _swigt__p_wxColour
,
29483 _swigt__p_wxConfigPathChanger
,
29484 _swigt__p_wxPyTimer
,
29485 _swigt__p_wxDateSpan
,
29490 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29492 static swig_const_info swig_const_table
[] = {
29493 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29494 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29495 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29496 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29497 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29507 SWIGEXPORT(void) SWIG_init(void) {
29508 static PyObject
*SWIG_globals
= 0;
29509 static int typeinit
= 0;
29512 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29513 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29514 d
= PyModule_GetDict(m
);
29517 for (i
= 0; swig_types_initial
[i
]; i
++) {
29518 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29522 SWIG_InstallConstants(d
,swig_const_table
);
29524 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29525 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29526 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29527 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29528 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29529 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29530 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29531 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29532 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29533 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29534 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29540 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29541 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29542 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29543 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29544 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29545 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29546 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29547 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29548 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29549 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29550 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29551 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29552 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29553 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29554 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29555 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29556 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29557 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29558 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29559 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29560 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29561 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29562 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29563 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29564 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29565 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29566 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29567 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29568 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29569 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29570 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29571 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29572 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29573 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29574 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29575 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29576 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29577 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29578 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29579 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29580 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29581 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29582 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29583 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29584 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29585 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29586 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29587 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29588 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29589 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29590 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29591 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29592 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29593 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29594 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29595 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29596 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29597 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29598 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29599 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29600 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29601 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29602 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29603 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29604 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29605 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29606 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29607 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29608 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29609 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29610 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29611 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29612 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29613 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29614 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29615 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29616 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29617 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29618 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29619 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29620 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29621 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29622 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29623 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29624 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29625 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29626 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29627 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29628 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29629 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29630 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29631 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29632 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29633 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29634 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29635 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29636 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29637 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29638 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29639 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29640 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29641 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29642 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29643 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29644 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29645 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29646 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29647 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29648 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29649 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29650 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29651 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29652 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29653 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29654 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29655 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29656 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29657 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29658 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29659 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29660 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29661 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29662 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29663 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29664 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29665 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29666 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29667 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29668 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29669 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29670 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29671 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29672 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29673 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29675 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29677 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29678 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29679 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29680 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29681 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29682 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29683 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29684 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29685 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29686 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29687 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29688 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29689 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29690 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29691 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29692 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29693 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29694 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29695 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29696 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29736 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29738 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29739 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29740 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29741 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29742 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29743 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29744 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29745 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29746 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29747 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29748 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29749 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29750 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29751 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29752 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29753 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29754 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29755 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29756 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29757 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29758 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29759 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29760 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29761 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29762 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29763 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29764 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29765 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29766 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29767 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29768 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29769 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29770 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29771 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29772 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29773 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29774 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29775 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29776 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29777 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29778 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29779 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29780 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29781 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29782 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29783 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29784 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29785 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29786 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29787 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29788 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29789 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29790 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29791 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29792 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29793 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29794 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29795 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29796 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29797 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29798 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29799 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29800 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29801 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29802 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29803 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29836 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29837 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29838 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29839 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29840 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29841 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29842 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29843 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29844 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29845 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29846 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29847 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29848 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29849 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29850 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29851 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29852 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29853 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29854 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29855 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29867 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29868 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29869 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29870 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29871 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29872 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29873 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29874 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29875 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29876 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29877 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29878 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29879 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29880 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29881 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29882 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29883 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29884 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29885 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29886 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29887 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29888 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29889 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29890 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29891 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29892 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29893 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29894 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29895 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29896 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29897 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29898 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29899 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29900 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29901 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29902 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29903 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29904 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29905 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29906 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29907 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29908 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29909 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29910 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29911 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29912 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29913 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29914 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29915 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29916 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29917 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29918 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29919 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29920 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29921 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29922 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29923 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29924 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29925 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29926 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29927 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29928 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29929 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29930 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29931 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29932 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29933 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29934 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29935 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29936 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29937 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29939 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29940 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29941 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29942 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29944 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29945 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);