1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _misc_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_misc_
306 #define SWIG_name "_misc_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
427 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
428 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
429 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
431 SWIGSTATICINLINE(int)
432 SWIG_CheckLong(PyObject
* obj
)
435 if (PyErr_Occurred()) {
444 SWIGSTATICINLINE(bool)
445 SWIG_AsBool(PyObject
*obj
)
447 return PyObject_IsTrue(obj
) ? true : false;
451 SWIGSTATICINLINE(int)
452 SWIG_CheckBool(PyObject
* obj
)
455 if (PyErr_Occurred()) {
464 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
470 } else if (target
== Py_None
) {
474 if (!PyTuple_Check(target
)) {
476 target
= PyTuple_New(1);
477 PyTuple_SetItem(target
, 0, o2
);
480 PyTuple_SetItem(o3
, 0, o
);
483 target
= PySequence_Concat(o2
, o3
);
491 SWIGSTATICINLINE(unsigned long)
492 SWIG_AsUnsignedLong(PyObject
* obj
)
494 if (PyLong_Check(obj
)) {
495 return PyLong_AsUnsignedLong(obj
);
497 long i
= SWIG_AsLong(obj
);
498 if ( !PyErr_Occurred() && (i
< 0)) {
499 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
506 SWIGSTATICINLINE(int)
507 SWIG_CheckUnsignedLong(PyObject
* obj
)
509 SWIG_AsUnsignedLong(obj
);
510 if (PyErr_Occurred()) {
519 SWIGSTATICINLINE(PyObject
* )
520 SWIG_FromUnsignedLong(unsigned long value
)
522 return (value
> LONG_MAX
) ?
523 PyLong_FromUnsignedLong(value
)
524 : PyInt_FromLong(swig_numeric_cast(long,value
));
528 bool wxThread_IsMain() {
529 #ifdef WXP_WITH_THREAD
530 return wxThread::IsMain();
537 int wxCaret_GetBlinkTime() {
538 return wxCaret::GetBlinkTime();
541 void wxCaret_SetBlinkTime(int milliseconds
) {
542 wxCaret::SetBlinkTime(milliseconds
);
546 #include <wx/snglinst.h>
550 #include <wx/msw/private.h>
551 #include <wx/dynload.h>
556 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
563 // This one only partially works. Appears to be an undocumented
564 // "standard" convention that not all widgets adhear to. For
565 // example, for some widgets backgrounds or non-client areas may
567 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
571 // This one works much better, except for on XP. On Win2k nearly
572 // all widgets and their children are captured correctly[**]. On
573 // XP with Themes activated most native widgets draw only
574 // partially, if at all. Without themes it works just like on
577 // ** For example the radio buttons in a wxRadioBox are not its
578 // children by default, but you can capture it via the panel
579 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
580 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
581 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
582 PRF_ERASEBKGND
| PRF_OWNED
);
586 // This one is only defined in the latest SDK and is only
587 // available on XP. MSDN says it is similar to sending WM_PRINT
588 // so I expect that it will work similar to the above. Since it
589 // is avaialble only on XP, it can't be compiled like this and
590 // will have to be loaded dynamically.
591 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
596 // Use PrintWindow if available, or fallback to WM_PRINT
597 // otherwise. Unfortunately using PrintWindow is even worse than
598 // WM_PRINT. For most native widgets nothing is drawn to the dc
599 // at all, with or without Themes.
600 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
601 static bool s_triedToLoad
= False
;
602 static PrintWindow_t pfnPrintWindow
= NULL
;
603 if ( !s_triedToLoad
)
606 s_triedToLoad
= True
;
607 wxDynamicLibrary
dllUser32(_T("user32.dll"));
608 if ( dllUser32
.IsLoaded() )
610 wxLogNull nolog
; // Don't report errors here
611 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
616 printf("Using PrintWindow\n");
617 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
621 printf("Using WM_PRINT\n");
622 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
623 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
631 #include <wx/tipdlg.h>
634 class wxPyTipProvider
: public wxTipProvider
{
636 wxPyTipProvider(size_t currentTip
)
637 : wxTipProvider(currentTip
) {}
639 DEC_PYCALLBACK_STRING__pure(GetTip
);
640 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
644 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
645 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
648 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return ""; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&, bool) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&, bool) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
874 #include <wx/mimetype.h>
876 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
878 if (self
->GetMimeType(&str
))
879 return wx2PyString(str
);
883 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
885 if (self
->GetMimeTypes(arr
))
886 return wxArrayString2PyList_helper(arr
);
890 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
892 if (self
->GetExtensions(arr
))
893 return wxArrayString2PyList_helper(arr
);
897 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
899 if (self
->GetIcon(&loc
))
900 return new wxIcon(loc
);
904 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
906 if (self
->GetIcon(&loc
)) {
907 wxString iconFile
= loc
.GetFileName();
910 iconIndex
= loc
.GetIndex();
912 // Make a tuple and put the values in it
913 bool blocked
= wxPyBeginBlockThreads();
914 PyObject
* tuple
= PyTuple_New(3);
915 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
916 wxT("wxIcon"), True
));
917 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
918 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
919 wxPyEndBlockThreads(blocked
);
925 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
927 if (self
->GetDescription(&str
))
928 return wx2PyString(str
);
932 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
934 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
935 return wx2PyString(str
);
939 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
941 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
942 return wx2PyString(str
);
946 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
948 wxArrayString commands
;
949 if (self
->GetAllCommands(&verbs
, &commands
,
950 wxFileType::MessageParameters(filename
, mimetype
))) {
951 bool blocked
= wxPyBeginBlockThreads();
952 PyObject
* tuple
= PyTuple_New(2);
953 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
954 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
955 wxPyEndBlockThreads(blocked
);
961 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
962 return wxFileType::ExpandCommand(command
,
963 wxFileType::MessageParameters(filename
, mimetype
));
965 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
967 self
->EnumAllFileTypes(arr
);
968 return wxArrayString2PyList_helper(arr
);
971 #include <wx/artprov.h>
973 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
974 static const wxString
wxPyART_MENU(wxART_MENU
);
975 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
976 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
977 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
978 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
979 static const wxString
wxPyART_OTHER(wxART_OTHER
);
980 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
981 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
982 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
983 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
984 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
985 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
986 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
987 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
988 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
989 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
990 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
991 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
992 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
993 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
994 static const wxString
wxPyART_PRINT(wxART_PRINT
);
995 static const wxString
wxPyART_HELP(wxART_HELP
);
996 static const wxString
wxPyART_TIP(wxART_TIP
);
997 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
998 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
999 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1000 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1001 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1002 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1003 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1004 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1005 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1006 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1007 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1008 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1009 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1010 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1011 // Python aware wxArtProvider
1012 class wxPyArtProvider
: public wxArtProvider
{
1015 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1016 const wxArtClient
& client
,
1017 const wxSize
& size
) {
1018 wxBitmap rval
= wxNullBitmap
;
1019 bool blocked
= wxPyBeginBlockThreads();
1020 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1021 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1025 s1
= wx2PyString(id
);
1026 s2
= wx2PyString(client
);
1027 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1032 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1037 wxPyEndBlockThreads(blocked
);
1044 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1048 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1049 PyObject
* ret
= PyTuple_New(3);
1051 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1052 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1053 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1058 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1063 cont
= self
->GetFirstGroup(value
, index
);
1064 return __EnumerationHelper(cont
, value
, index
);
1066 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1070 cont
= self
->GetNextGroup(value
, index
);
1071 return __EnumerationHelper(cont
, value
, index
);
1073 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1078 cont
= self
->GetFirstEntry(value
, index
);
1079 return __EnumerationHelper(cont
, value
, index
);
1081 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1085 cont
= self
->GetNextEntry(value
, index
);
1086 return __EnumerationHelper(cont
, value
, index
);
1088 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1090 self
->Read(key
, &rv
, defaultVal
);
1094 SWIGSTATICINLINE(double)
1095 SWIG_AsDouble(PyObject
*obj
)
1097 if (PyNumber_Check(obj
))
1098 return PyFloat_AsDouble(obj
);
1100 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1101 obj
->ob_type
->tp_name
);
1102 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1109 SWIGSTATICINLINE(int)
1110 SWIG_CheckDouble(PyObject
* obj
)
1113 if (PyErr_Occurred()) {
1121 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1123 self
->Read(key
, &rv
, defaultVal
);
1126 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1128 self
->Read(key
, &rv
, defaultVal
);
1132 #include <wx/datetime.h>
1135 static const wxString
wxPyDateFormatStr(wxT("%c"));
1136 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1138 #define LOCAL_TZ wxDateTime::Local
1141 #if UINT_MAX < LONG_MAX
1142 #define SWIG_FromUnsignedInt SWIG_FromLong
1144 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1147 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1148 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1149 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1150 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1151 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1152 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1153 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1154 return (*self
< *other
);
1156 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1157 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1158 return (*self
<= *other
);
1160 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1161 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1162 return (*self
> *other
);
1164 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1165 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1166 return (*self
>= *other
);
1168 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1169 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1170 return (*self
== *other
);
1172 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1173 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1174 return (*self
!= *other
);
1176 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1178 const wxChar
* _date
= date
;
1179 rv
= self
->ParseRfc822Date(_date
);
1180 if (rv
== NULL
) return -1;
1183 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1185 const wxChar
* _date
= date
;
1186 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1187 if (rv
== NULL
) return -1;
1190 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1192 const wxChar
* _datetime
= datetime
;
1193 rv
= self
->ParseDateTime(_datetime
);
1194 if (rv
== NULL
) return -1;
1195 return rv
- _datetime
;
1197 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1199 const wxChar
* _date
= date
;
1200 rv
= self
->ParseDate(_date
);
1201 if (rv
== NULL
) return -1;
1204 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1206 const wxChar
* _time
= time
;
1207 rv
= self
->ParseTime(_time
);
1208 if (rv
== NULL
) return -1;
1211 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1212 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1213 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1214 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1215 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1216 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1217 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1218 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1219 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1220 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1221 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1222 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1223 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1224 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1225 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1226 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1228 #include <wx/dataobj.h>
1230 // Create a new class for wxPython to use
1231 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1233 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1234 : wxDataObjectSimple(format
) {}
1236 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1237 bool GetDataHere(void *buf
) const;
1238 bool SetData(size_t len
, const void *buf
) const;
1242 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1244 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1245 // We need to get the data for this object and write it to buf. I think
1246 // the best way to do this for wxPython is to have the Python method
1247 // return either a string or None and then act appropriately with the
1251 bool blocked
= wxPyBeginBlockThreads();
1252 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1254 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1256 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1258 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1262 wxPyEndBlockThreads(blocked
);
1266 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1267 // For this one we simply need to make a string from buf and len
1268 // and send it to the Python method.
1270 bool blocked
= wxPyBeginBlockThreads();
1271 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1272 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1273 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1276 wxPyEndBlockThreads(blocked
);
1280 // Create a new class for wxPython to use
1281 class wxPyTextDataObject
: public wxTextDataObject
{
1283 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1284 : wxTextDataObject(text
) {}
1286 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1287 DEC_PYCALLBACK_STRING__const(GetText
);
1288 DEC_PYCALLBACK__STRING(SetText
);
1292 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1293 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1294 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1297 // Create a new class for wxPython to use
1298 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1300 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1301 : wxBitmapDataObject(bitmap
) {}
1303 wxBitmap
GetBitmap() const;
1304 void SetBitmap(const wxBitmap
& bitmap
);
1308 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1309 wxBitmap
* rval
= &wxNullBitmap
;
1310 bool blocked
= wxPyBeginBlockThreads();
1311 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1314 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1316 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1321 wxPyEndBlockThreads(blocked
);
1325 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1326 bool blocked
= wxPyBeginBlockThreads();
1327 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1328 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1329 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1332 wxPyEndBlockThreads(blocked
);
1335 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1336 if (PyString_Check(data
)) {
1337 // for Python we just call SetData here since we always need it to make a copy.
1338 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1341 // raise a TypeError if not a string
1342 PyErr_SetString(PyExc_TypeError
, "String expected.");
1345 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1346 if (PyString_Check(data
)) {
1347 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1350 // raise a TypeError if not a string
1351 PyErr_SetString(PyExc_TypeError
, "String expected.");
1355 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1356 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1359 #include <wx/metafile.h>
1362 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1365 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1366 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1367 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1368 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1369 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1372 class wxPyTextDropTarget
: public wxTextDropTarget
{
1374 wxPyTextDropTarget() {}
1376 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1378 DEC_PYCALLBACK__(OnLeave
);
1379 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1380 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1381 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1382 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1387 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1388 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1389 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1390 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1391 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1392 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1396 class wxPyFileDropTarget
: public wxFileDropTarget
{
1398 wxPyFileDropTarget() {}
1400 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1402 DEC_PYCALLBACK__(OnLeave
);
1403 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1404 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1405 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1406 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1411 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1412 const wxArrayString
& filenames
) {
1414 bool blocked
= wxPyBeginBlockThreads();
1415 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1416 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1417 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1420 wxPyEndBlockThreads(blocked
);
1426 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1427 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1428 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1429 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1430 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1435 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1437 #include "wx/display.h"
1439 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1440 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1441 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1442 PyObject
* pyList
= NULL
;
1443 wxArrayVideoModes arr
= self
->GetModes(mode
);
1444 bool blocked
= wxPyBeginBlockThreads();
1445 pyList
= PyList_New(0);
1446 for (int i
=0; i
< arr
.GetCount(); i
++) {
1447 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1448 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1449 PyList_Append(pyList
, pyObj
);
1451 wxPyEndBlockThreads(blocked
);
1457 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1461 PyObject
* obj0
= 0 ;
1463 (char *) "index", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1467 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1477 wxColour
* resultptr
;
1478 resultptr
= new wxColour((wxColour
&) result
);
1479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1487 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1491 PyObject
* obj0
= 0 ;
1493 (char *) "index", NULL
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1497 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1508 resultptr
= new wxFont((wxFont
&) result
);
1509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1517 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
*resultobj
;
1521 PyObject
* obj0
= 0 ;
1523 (char *) "index", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1527 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 resultobj
= SWIG_FromInt((int)result
);
1543 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1547 PyObject
* obj0
= 0 ;
1549 (char *) "index", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1553 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1571 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 result
= (int)wxSystemSettings::GetScreenType();
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) SWIG_fail
;
1586 resultobj
= SWIG_FromInt((int)result
);
1593 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1596 PyObject
* obj0
= 0 ;
1598 (char *) "screen", NULL
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1602 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1611 Py_INCREF(Py_None
); resultobj
= Py_None
;
1618 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1621 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1623 return Py_BuildValue((char *)"");
1625 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxSystemOptions
*result
;
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1635 result
= (wxSystemOptions
*)new wxSystemOptions();
1637 wxPyEndAllowThreads(__tstate
);
1638 if (PyErr_Occurred()) SWIG_fail
;
1640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1647 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxString
*arg1
= 0 ;
1650 wxString
*arg2
= 0 ;
1651 bool temp1
= False
;
1652 bool temp2
= False
;
1653 PyObject
* obj0
= 0 ;
1654 PyObject
* obj1
= 0 ;
1656 (char *) "name",(char *) "value", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1661 arg1
= wxString_in_helper(obj0
);
1662 if (arg1
== NULL
) SWIG_fail
;
1666 arg2
= wxString_in_helper(obj1
);
1667 if (arg2
== NULL
) SWIG_fail
;
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 Py_INCREF(Py_None
); resultobj
= Py_None
;
1700 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxString
*arg1
= 0 ;
1704 bool temp1
= False
;
1705 PyObject
* obj0
= 0 ;
1706 PyObject
* obj1
= 0 ;
1708 (char *) "name",(char *) "value", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1713 arg1
= wxString_in_helper(obj0
);
1714 if (arg1
== NULL
) SWIG_fail
;
1717 arg2
= (int) SWIG_AsInt(obj1
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1741 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxString
*arg1
= 0 ;
1745 bool temp1
= False
;
1746 PyObject
* obj0
= 0 ;
1748 (char *) "name", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1753 arg1
= wxString_in_helper(obj0
);
1754 if (arg1
== NULL
) SWIG_fail
;
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1785 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 wxString
*arg1
= 0 ;
1789 bool temp1
= False
;
1790 PyObject
* obj0
= 0 ;
1792 (char *) "name", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1797 arg1
= wxString_in_helper(obj0
);
1798 if (arg1
== NULL
) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_FromInt((int)result
);
1823 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxString
*arg1
= 0 ;
1827 bool temp1
= False
;
1828 PyObject
* obj0
= 0 ;
1830 (char *) "name", NULL
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1835 arg1
= wxString_in_helper(obj0
);
1836 if (arg1
== NULL
) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1863 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1866 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1868 return Py_BuildValue((char *)"");
1870 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1871 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1876 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1881 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1883 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1890 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1891 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1896 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1901 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1903 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1910 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1911 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1916 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1921 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1923 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1930 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= (long)wxNewId();
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= SWIG_FromLong((long)result
);
1952 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1955 PyObject
* obj0
= 0 ;
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1961 arg1
= (long) SWIG_AsLong(obj0
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 result
= (long)wxGetCurrentId();
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 resultobj
= SWIG_FromLong((long)result
);
1999 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 Py_INCREF(Py_None
); resultobj
= Py_None
;
2020 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 bool arg1
= (bool) True
;
2045 PyObject
* obj0
= 0 ;
2047 (char *) "resetTimer", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2052 arg1
= (bool) SWIG_AsBool(obj0
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= (long)wxGetElapsedTime(arg1
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= SWIG_FromLong((long)result
);
2069 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 int *arg1
= (int *) 0 ;
2072 int *arg2
= (int *) 0 ;
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 wxGetMousePosition(arg1
,arg2
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2091 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2092 resultobj
= t_output_helper(resultobj
,o
);
2095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2096 resultobj
= t_output_helper(resultobj
,o
);
2104 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 result
= (bool)wxIsBusy();
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2128 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
*resultobj
;
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2156 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2159 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2161 bool temp1
= False
;
2162 PyObject
* obj0
= 0 ;
2164 (char *) "command", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2170 arg1
= wxString_in_helper(obj0
);
2171 if (arg1
== NULL
) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 result
= (bool)wxShell((wxString
const &)*arg1
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2199 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 int *arg1
= (int *) 0 ;
2223 int *arg2
= (int *) 0 ;
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (int)wxGetOsVersion(arg1
,arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= SWIG_FromInt((int)result
);
2243 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2244 resultobj
= t_output_helper(resultobj
,o
);
2247 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2248 resultobj
= t_output_helper(resultobj
,o
);
2256 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 result
= wxGetOsDescription();
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2284 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 result
= (long)wxGetFreeMemory();
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 resultobj
= SWIG_FromLong((long)result
);
2306 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
*resultobj
;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "wFlags", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2316 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2334 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2337 PyObject
* obj0
= 0 ;
2339 (char *) "secs", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2343 arg1
= (int) SWIG_AsInt(obj0
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 unsigned long arg1
;
2362 PyObject
* obj0
= 0 ;
2364 (char *) "milliseconds", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2368 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 Py_INCREF(Py_None
); resultobj
= Py_None
;
2384 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2387 PyObject
* obj0
= 0 ;
2389 (char *) "enable", NULL
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2393 arg1
= (bool) SWIG_AsBool(obj0
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 wxEnableTopLevelWindows(arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 Py_INCREF(Py_None
); resultobj
= Py_None
;
2409 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxString
*arg1
= 0 ;
2413 bool temp1
= False
;
2414 PyObject
* obj0
= 0 ;
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2421 arg1
= wxString_in_helper(obj0
);
2422 if (arg1
== NULL
) SWIG_fail
;
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2453 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= wxGetEmailAddress();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2481 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= wxGetHostName();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2509 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 result
= wxGetFullHostName();
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2537 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 result
= wxGetUserId();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2565 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= wxGetUserName();
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2593 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= wxGetHomeDir();
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2621 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2624 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2626 bool temp1
= False
;
2627 PyObject
* obj0
= 0 ;
2629 (char *) "user", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2635 arg1
= wxString_in_helper(obj0
);
2636 if (arg1
== NULL
) SWIG_fail
;
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 result
= wxGetUserHome((wxString
const &)*arg1
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2668 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 unsigned long result
;
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (unsigned long)wxGetProcessId();
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2683 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2690 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
*resultobj
;
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2704 Py_INCREF(Py_None
); resultobj
= Py_None
;
2711 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2714 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2715 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2716 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2717 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2718 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2719 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2720 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2721 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2722 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2723 int arg6
= (int) 0 ;
2724 wxWindow
*arg7
= (wxWindow
*) NULL
;
2725 int arg8
= (int) -1 ;
2726 int arg9
= (int) -1 ;
2728 bool temp1
= False
;
2729 bool temp2
= False
;
2730 bool temp3
= False
;
2731 bool temp4
= False
;
2732 bool temp5
= False
;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2735 PyObject
* obj2
= 0 ;
2736 PyObject
* obj3
= 0 ;
2737 PyObject
* obj4
= 0 ;
2738 PyObject
* obj5
= 0 ;
2739 PyObject
* obj6
= 0 ;
2740 PyObject
* obj7
= 0 ;
2741 PyObject
* obj8
= 0 ;
2743 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2749 arg1
= wxString_in_helper(obj0
);
2750 if (arg1
== NULL
) SWIG_fail
;
2756 arg2
= wxString_in_helper(obj1
);
2757 if (arg2
== NULL
) SWIG_fail
;
2763 arg3
= wxString_in_helper(obj2
);
2764 if (arg3
== NULL
) SWIG_fail
;
2770 arg4
= wxString_in_helper(obj3
);
2771 if (arg4
== NULL
) SWIG_fail
;
2777 arg5
= wxString_in_helper(obj4
);
2778 if (arg5
== NULL
) SWIG_fail
;
2783 arg6
= (int) SWIG_AsInt(obj5
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2787 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2791 arg8
= (int) SWIG_AsInt(obj7
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 arg9
= (int) SWIG_AsInt(obj8
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2858 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxString
*arg1
= 0 ;
2861 wxString
*arg2
= 0 ;
2862 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2863 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2864 wxWindow
*arg4
= (wxWindow
*) NULL
;
2866 bool temp1
= False
;
2867 bool temp2
= False
;
2868 bool temp3
= False
;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2871 PyObject
* obj2
= 0 ;
2872 PyObject
* obj3
= 0 ;
2874 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2879 arg1
= wxString_in_helper(obj0
);
2880 if (arg1
== NULL
) SWIG_fail
;
2884 arg2
= wxString_in_helper(obj1
);
2885 if (arg2
== NULL
) SWIG_fail
;
2890 arg3
= wxString_in_helper(obj2
);
2891 if (arg3
== NULL
) SWIG_fail
;
2896 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2943 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxString
*arg1
= 0 ;
2946 wxString
*arg2
= 0 ;
2947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2949 wxWindow
*arg4
= (wxWindow
*) NULL
;
2951 bool temp1
= False
;
2952 bool temp2
= False
;
2953 bool temp3
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2956 PyObject
* obj2
= 0 ;
2957 PyObject
* obj3
= 0 ;
2959 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2964 arg1
= wxString_in_helper(obj0
);
2965 if (arg1
== NULL
) SWIG_fail
;
2969 arg2
= wxString_in_helper(obj1
);
2970 if (arg2
== NULL
) SWIG_fail
;
2975 arg3
= wxString_in_helper(obj2
);
2976 if (arg3
== NULL
) SWIG_fail
;
2981 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3028 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3031 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3032 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3033 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3034 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3035 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3036 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3037 wxWindow
*arg5
= (wxWindow
*) NULL
;
3039 bool temp1
= False
;
3040 bool temp2
= False
;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3044 PyObject
* obj2
= 0 ;
3045 PyObject
* obj3
= 0 ;
3046 PyObject
* obj4
= 0 ;
3048 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3054 arg1
= wxString_in_helper(obj0
);
3055 if (arg1
== NULL
) SWIG_fail
;
3061 arg2
= wxString_in_helper(obj1
);
3062 if (arg2
== NULL
) SWIG_fail
;
3067 arg3
= (long) SWIG_AsLong(obj2
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3073 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3077 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3116 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxString
*arg1
= 0 ;
3119 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3120 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3121 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3123 wxWindow
*arg4
= (wxWindow
*) NULL
;
3124 int arg5
= (int) -1 ;
3125 int arg6
= (int) -1 ;
3126 bool arg7
= (bool) True
;
3128 bool temp1
= False
;
3129 bool temp2
= False
;
3130 bool temp3
= False
;
3131 PyObject
* obj0
= 0 ;
3132 PyObject
* obj1
= 0 ;
3133 PyObject
* obj2
= 0 ;
3134 PyObject
* obj3
= 0 ;
3135 PyObject
* obj4
= 0 ;
3136 PyObject
* obj5
= 0 ;
3137 PyObject
* obj6
= 0 ;
3139 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3144 arg1
= wxString_in_helper(obj0
);
3145 if (arg1
== NULL
) SWIG_fail
;
3150 arg2
= wxString_in_helper(obj1
);
3151 if (arg2
== NULL
) SWIG_fail
;
3157 arg3
= wxString_in_helper(obj2
);
3158 if (arg3
== NULL
) SWIG_fail
;
3163 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3167 arg5
= (int) SWIG_AsInt(obj4
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3171 arg6
= (int) SWIG_AsInt(obj5
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3175 arg7
= (bool) SWIG_AsBool(obj6
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3222 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxString
*arg1
= 0 ;
3225 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3226 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3227 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3228 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3229 wxWindow
*arg4
= (wxWindow
*) NULL
;
3231 bool temp1
= False
;
3232 bool temp2
= False
;
3233 bool temp3
= False
;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3236 PyObject
* obj2
= 0 ;
3237 PyObject
* obj3
= 0 ;
3239 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3244 arg1
= wxString_in_helper(obj0
);
3245 if (arg1
== NULL
) SWIG_fail
;
3250 arg2
= wxString_in_helper(obj1
);
3251 if (arg2
== NULL
) SWIG_fail
;
3257 arg3
= wxString_in_helper(obj2
);
3258 if (arg3
== NULL
) SWIG_fail
;
3263 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3310 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxString
*arg1
= 0 ;
3313 wxString
*arg2
= 0 ;
3315 wxString
*arg4
= (wxString
*) 0 ;
3316 wxWindow
*arg5
= (wxWindow
*) NULL
;
3317 int arg6
= (int) -1 ;
3318 int arg7
= (int) -1 ;
3319 bool arg8
= (bool) True
;
3320 int arg9
= (int) 150 ;
3321 int arg10
= (int) 200 ;
3323 bool temp1
= False
;
3324 bool temp2
= False
;
3325 PyObject
* obj0
= 0 ;
3326 PyObject
* obj1
= 0 ;
3327 PyObject
* obj2
= 0 ;
3328 PyObject
* obj3
= 0 ;
3329 PyObject
* obj4
= 0 ;
3330 PyObject
* obj5
= 0 ;
3331 PyObject
* obj6
= 0 ;
3332 PyObject
* obj7
= 0 ;
3333 PyObject
* obj8
= 0 ;
3335 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3340 arg1
= wxString_in_helper(obj0
);
3341 if (arg1
== NULL
) SWIG_fail
;
3345 arg2
= wxString_in_helper(obj1
);
3346 if (arg2
== NULL
) SWIG_fail
;
3350 arg3
= PyList_Size(obj2
);
3351 arg4
= wxString_LIST_helper(obj2
);
3352 if (arg4
== NULL
) SWIG_fail
;
3355 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 arg6
= (int) SWIG_AsInt(obj4
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3363 arg7
= (int) SWIG_AsInt(obj5
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3367 arg8
= (bool) SWIG_AsBool(obj6
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3371 arg9
= (int) SWIG_AsInt(obj7
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3375 arg10
= (int) SWIG_AsInt(obj8
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3401 if (arg4
) delete [] arg4
;
3414 if (arg4
) delete [] arg4
;
3420 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxString
*arg1
= 0 ;
3423 wxString
*arg2
= 0 ;
3425 wxString
*arg4
= (wxString
*) 0 ;
3426 wxWindow
*arg5
= (wxWindow
*) NULL
;
3427 int arg6
= (int) -1 ;
3428 int arg7
= (int) -1 ;
3429 bool arg8
= (bool) True
;
3430 int arg9
= (int) 150 ;
3431 int arg10
= (int) 200 ;
3433 bool temp1
= False
;
3434 bool temp2
= False
;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3437 PyObject
* obj2
= 0 ;
3438 PyObject
* obj3
= 0 ;
3439 PyObject
* obj4
= 0 ;
3440 PyObject
* obj5
= 0 ;
3441 PyObject
* obj6
= 0 ;
3442 PyObject
* obj7
= 0 ;
3443 PyObject
* obj8
= 0 ;
3445 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3450 arg1
= wxString_in_helper(obj0
);
3451 if (arg1
== NULL
) SWIG_fail
;
3455 arg2
= wxString_in_helper(obj1
);
3456 if (arg2
== NULL
) SWIG_fail
;
3460 arg3
= PyList_Size(obj2
);
3461 arg4
= wxString_LIST_helper(obj2
);
3462 if (arg4
== NULL
) SWIG_fail
;
3465 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 arg6
= (int) SWIG_AsInt(obj4
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3473 arg7
= (int) SWIG_AsInt(obj5
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 arg8
= (bool) SWIG_AsBool(obj6
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3481 arg9
= (int) SWIG_AsInt(obj7
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3485 arg10
= (int) SWIG_AsInt(obj8
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= SWIG_FromInt((int)result
);
3505 if (arg4
) delete [] arg4
;
3518 if (arg4
) delete [] arg4
;
3524 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxString
*arg1
= 0 ;
3527 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3528 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3529 int arg3
= (int) wxOK
|wxCENTRE
;
3530 wxWindow
*arg4
= (wxWindow
*) NULL
;
3531 int arg5
= (int) -1 ;
3532 int arg6
= (int) -1 ;
3534 bool temp1
= False
;
3535 bool temp2
= False
;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3538 PyObject
* obj2
= 0 ;
3539 PyObject
* obj3
= 0 ;
3540 PyObject
* obj4
= 0 ;
3541 PyObject
* obj5
= 0 ;
3543 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3548 arg1
= wxString_in_helper(obj0
);
3549 if (arg1
== NULL
) SWIG_fail
;
3554 arg2
= wxString_in_helper(obj1
);
3555 if (arg2
== NULL
) SWIG_fail
;
3560 arg3
= (int) SWIG_AsInt(obj2
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3564 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 arg5
= (int) SWIG_AsInt(obj4
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 arg6
= (int) SWIG_AsInt(obj5
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= SWIG_FromInt((int)result
);
3605 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxString
*arg1
= 0 ;
3608 wxString
*arg2
= 0 ;
3609 wxString
*arg3
= 0 ;
3611 long arg5
= (long) 0 ;
3612 long arg6
= (long) 100 ;
3613 wxWindow
*arg7
= (wxWindow
*) NULL
;
3614 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3615 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3617 bool temp1
= False
;
3618 bool temp2
= False
;
3619 bool temp3
= False
;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3623 PyObject
* obj2
= 0 ;
3624 PyObject
* obj3
= 0 ;
3625 PyObject
* obj4
= 0 ;
3626 PyObject
* obj5
= 0 ;
3627 PyObject
* obj6
= 0 ;
3628 PyObject
* obj7
= 0 ;
3630 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3635 arg1
= wxString_in_helper(obj0
);
3636 if (arg1
== NULL
) SWIG_fail
;
3640 arg2
= wxString_in_helper(obj1
);
3641 if (arg2
== NULL
) SWIG_fail
;
3645 arg3
= wxString_in_helper(obj2
);
3646 if (arg3
== NULL
) SWIG_fail
;
3649 arg4
= (long) SWIG_AsLong(obj3
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 arg5
= (long) SWIG_AsLong(obj4
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 arg6
= (long) SWIG_AsLong(obj5
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3660 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3666 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_FromLong((long)result
);
3707 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (bool)wxColourDisplay();
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3731 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (int)wxDisplayDepth();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_FromInt((int)result
);
3753 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (int)wxGetDisplayDepth();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_FromInt((int)result
);
3775 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 int *arg1
= (int *) 0 ;
3778 int *arg2
= (int *) 0 ;
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 wxDisplaySize(arg1
,arg2
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3798 resultobj
= t_output_helper(resultobj
,o
);
3801 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3802 resultobj
= t_output_helper(resultobj
,o
);
3810 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= wxGetDisplaySize();
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3827 resultptr
= new wxSize((wxSize
&) result
);
3828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3836 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 int *arg1
= (int *) 0 ;
3839 int *arg2
= (int *) 0 ;
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 wxDisplaySizeMM(arg1
,arg2
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3859 resultobj
= t_output_helper(resultobj
,o
);
3862 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3863 resultobj
= t_output_helper(resultobj
,o
);
3871 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= wxGetDisplaySizeMM();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3888 resultptr
= new wxSize((wxSize
&) result
);
3889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3897 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 int *arg1
= (int *) 0 ;
3900 int *arg2
= (int *) 0 ;
3901 int *arg3
= (int *) 0 ;
3902 int *arg4
= (int *) 0 ;
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3926 resultobj
= t_output_helper(resultobj
,o
);
3929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3930 resultobj
= t_output_helper(resultobj
,o
);
3933 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3934 resultobj
= t_output_helper(resultobj
,o
);
3937 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3938 resultobj
= t_output_helper(resultobj
,o
);
3946 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= wxGetClientDisplayRect();
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3963 resultptr
= new wxRect((wxRect
&) result
);
3964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3972 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxCursor
*arg1
= 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "cursor", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3985 PyErr_SetString(PyExc_TypeError
,"null reference");
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 Py_INCREF(Py_None
); resultobj
= Py_None
;
4002 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "cursor", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 wxBeginBusyCursor(arg1
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxWindow
*)wxGetActiveWindow();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= wxPyMake_wxObject(result
);
4053 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4058 PyObject
* obj0
= 0 ;
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4066 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= wxPyMake_wxObject(result
);
4084 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4089 PyObject
* obj0
= 0 ;
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4097 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= wxPyMake_wxObject(result
);
4115 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxWindow
*arg1
= (wxWindow
*) 0 ;
4119 PyObject
* obj0
= 0 ;
4121 (char *) "win", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= wxPyMake_wxObject(result
);
4143 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4147 PyObject
* obj0
= 0 ;
4149 (char *) "key", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4153 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4171 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 wxWakeUpMainThread();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 Py_INCREF(Py_None
); resultobj
= Py_None
;
4192 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 Py_INCREF(Py_None
); resultobj
= Py_None
;
4234 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxMutexGuiLocker
*result
;
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4256 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4261 (char *) "self", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 Py_INCREF(Py_None
); resultobj
= Py_None
;
4281 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4284 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4286 return Py_BuildValue((char *)"");
4288 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)wxThread_IsMain();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4312 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxString
*arg1
= 0 ;
4316 bool temp1
= False
;
4317 PyObject
* obj0
= 0 ;
4319 (char *) "tip", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4324 arg1
= wxString_in_helper(obj0
);
4325 if (arg1
== NULL
) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= wxPyMake_wxObject(result
);
4352 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4355 wxString
*arg2
= 0 ;
4356 bool temp2
= False
;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4360 (char *) "self",(char *) "tip", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 arg2
= wxString_in_helper(obj1
);
4368 if (arg2
== NULL
) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 (arg1
)->SetTip((wxString
const &)*arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 Py_INCREF(Py_None
); resultobj
= Py_None
;
4393 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4399 (char *) "self", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (arg1
)->GetTip();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4425 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "self", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (wxWindow
*)(arg1
)->GetWindow();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= wxPyMake_wxObject(result
);
4453 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "flag", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4462 arg1
= (bool) SWIG_AsBool(obj0
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxToolTip::Enable(arg1
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4481 PyObject
* obj0
= 0 ;
4483 (char *) "milliseconds", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4487 arg1
= (long) SWIG_AsLong(obj0
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 wxToolTip::SetDelay(arg1
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 Py_INCREF(Py_None
); resultobj
= Py_None
;
4503 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4506 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4508 return Py_BuildValue((char *)"");
4510 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxWindow
*arg1
= (wxWindow
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4519 (char *) "window",(char *) "size", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4527 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4543 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxCaret
*arg1
= (wxCaret
*) 0 ;
4546 PyObject
* obj0
= 0 ;
4548 (char *) "self", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 Py_INCREF(Py_None
); resultobj
= Py_None
;
4568 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxCaret
*arg1
= (wxCaret
*) 0 ;
4572 PyObject
* obj0
= 0 ;
4574 (char *) "self", NULL
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (bool)(arg1
)->IsOk();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4596 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxCaret
*arg1
= (wxCaret
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4602 (char *) "self", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (bool)(arg1
)->IsVisible();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4624 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxCaret
*arg1
= (wxCaret
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "self", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (arg1
)->GetPosition();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 wxPoint
* resultptr
;
4645 resultptr
= new wxPoint((wxPoint
&) result
);
4646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4654 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxCaret
*arg1
= (wxCaret
*) 0 ;
4657 int *arg2
= (int *) 0 ;
4658 int *arg3
= (int *) 0 ;
4661 PyObject
* obj0
= 0 ;
4663 (char *) "self", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 (arg1
)->GetPosition(arg2
,arg3
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 Py_INCREF(Py_None
); resultobj
= Py_None
;
4680 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4681 resultobj
= t_output_helper(resultobj
,o
);
4684 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4685 resultobj
= t_output_helper(resultobj
,o
);
4693 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxCaret
*arg1
= (wxCaret
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 (char *) "self", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (arg1
)->GetSize();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4714 resultptr
= new wxSize((wxSize
&) result
);
4715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4723 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxCaret
*arg1
= (wxCaret
*) 0 ;
4726 int *arg2
= (int *) 0 ;
4727 int *arg3
= (int *) 0 ;
4730 PyObject
* obj0
= 0 ;
4732 (char *) "self", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 (arg1
)->GetSize(arg2
,arg3
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 Py_INCREF(Py_None
); resultobj
= Py_None
;
4749 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4750 resultobj
= t_output_helper(resultobj
,o
);
4753 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4754 resultobj
= t_output_helper(resultobj
,o
);
4762 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxCaret
*arg1
= (wxCaret
*) 0 ;
4766 PyObject
* obj0
= 0 ;
4768 (char *) "self", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (wxWindow
*)(arg1
)->GetWindow();
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= wxPyMake_wxObject(result
);
4790 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxCaret
*arg1
= (wxCaret
*) 0 ;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 PyObject
* obj2
= 0 ;
4799 (char *) "self",(char *) "x",(char *) "y", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4805 arg2
= (int) SWIG_AsInt(obj1
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4807 arg3
= (int) SWIG_AsInt(obj2
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 (arg1
)->Move(arg2
,arg3
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxCaret
*arg1
= (wxCaret
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "self",(char *) "pt", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 (arg1
)->Move((wxPoint
const &)*arg2
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxCaret
*arg1
= (wxCaret
*) 0 ;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4864 (char *) "self",(char *) "width",(char *) "height", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 arg2
= (int) SWIG_AsInt(obj1
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4872 arg3
= (int) SWIG_AsInt(obj2
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 (arg1
)->SetSize(arg2
,arg3
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 Py_INCREF(Py_None
); resultobj
= Py_None
;
4888 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxCaret
*arg1
= (wxCaret
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4894 PyObject
* obj1
= 0 ;
4896 (char *) "self",(char *) "size", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 (arg1
)->SetSize((wxSize
const &)*arg2
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 Py_INCREF(Py_None
); resultobj
= Py_None
;
4920 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxCaret
*arg1
= (wxCaret
*) 0 ;
4923 int arg2
= (int) True
;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4927 (char *) "self",(char *) "show", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 arg2
= (int) SWIG_AsInt(obj1
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxCaret
*arg1
= (wxCaret
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4956 (char *) "self", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 Py_INCREF(Py_None
); resultobj
= Py_None
;
4976 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4979 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4981 return Py_BuildValue((char *)"");
4983 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (int)wxCaret_GetBlinkTime();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_FromInt((int)result
);
5005 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "milliseconds", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5014 arg1
= (int) SWIG_AsInt(obj0
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 wxCaret_SetBlinkTime(arg1
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 Py_INCREF(Py_None
); resultobj
= Py_None
;
5030 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5033 wxBusyCursor
*result
;
5034 PyObject
* obj0
= 0 ;
5036 (char *) "cursor", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5058 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5063 (char *) "self", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5086 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5088 return Py_BuildValue((char *)"");
5090 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxWindow
*arg1
= (wxWindow
*) NULL
;
5093 wxWindowDisabler
*result
;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "winToSkip", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5118 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5123 (char *) "self", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 Py_INCREF(Py_None
); resultobj
= Py_None
;
5143 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5146 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5148 return Py_BuildValue((char *)"");
5150 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxString
*arg1
= 0 ;
5154 bool temp1
= False
;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "message", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5162 arg1
= wxString_in_helper(obj0
);
5163 if (arg1
== NULL
) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5188 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5191 PyObject
* obj0
= 0 ;
5193 (char *) "self", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5216 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5218 return Py_BuildValue((char *)"");
5220 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStopWatch
*result
;
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (wxStopWatch
*)new wxStopWatch();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5242 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5245 long arg2
= (long) 0 ;
5246 PyObject
* obj0
= 0 ;
5247 PyObject
* obj1
= 0 ;
5249 (char *) "self",(char *) "t0", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5256 arg2
= (long) SWIG_AsLong(obj1
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 (arg1
)->Start(arg2
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 Py_INCREF(Py_None
); resultobj
= Py_None
;
5273 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5278 (char *) "self", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 Py_INCREF(Py_None
); resultobj
= Py_None
;
5323 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_FromLong((long)result
);
5349 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5352 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5354 return Py_BuildValue((char *)"");
5356 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 int arg1
= (int) 9 ;
5359 wxFileHistory
*result
;
5360 PyObject
* obj0
= 0 ;
5362 (char *) "maxFiles", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5367 arg1
= (int) SWIG_AsInt(obj0
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5384 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5389 (char *) "self", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5412 wxString
*arg2
= 0 ;
5413 bool temp2
= False
;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5417 (char *) "self",(char *) "file", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg2
= wxString_in_helper(obj1
);
5425 if (arg2
== NULL
) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "i", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 arg2
= (int) SWIG_AsInt(obj1
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 (arg1
)->RemoveFileFromHistory(arg2
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 Py_INCREF(Py_None
); resultobj
= Py_None
;
5479 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5485 (char *) "self", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_FromInt((int)result
);
5505 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5508 wxMenu
*arg2
= (wxMenu
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5512 (char *) "self",(char *) "menu", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 (arg1
)->UseMenu(arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 Py_INCREF(Py_None
); resultobj
= Py_None
;
5534 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5537 wxMenu
*arg2
= (wxMenu
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5541 (char *) "self",(char *) "menu", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->RemoveMenu(arg2
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 Py_INCREF(Py_None
); resultobj
= Py_None
;
5563 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5566 wxConfigBase
*arg2
= 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5570 (char *) "self",(char *) "config", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5580 PyErr_SetString(PyExc_TypeError
,"null reference");
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->Load(*arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5600 wxConfigBase
*arg2
= 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5604 (char *) "self",(char *) "config", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5614 PyErr_SetString(PyExc_TypeError
,"null reference");
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->Save(*arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5631 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 (arg1
)->AddFilesToMenu();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 Py_INCREF(Py_None
); resultobj
= Py_None
;
5656 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5659 wxMenu
*arg2
= (wxMenu
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "menu", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 (arg1
)->AddFilesToMenu(arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 Py_INCREF(Py_None
); resultobj
= Py_None
;
5685 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5693 (char *) "self",(char *) "i", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 arg2
= (int) SWIG_AsInt(obj1
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5721 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_FromInt((int)result
);
5747 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5750 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5752 return Py_BuildValue((char *)"");
5754 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxString
*arg1
= 0 ;
5757 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5758 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5759 wxSingleInstanceChecker
*result
;
5760 bool temp1
= False
;
5761 bool temp2
= False
;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 (char *) "name",(char *) "path", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 arg1
= wxString_in_helper(obj0
);
5771 if (arg1
== NULL
) SWIG_fail
;
5776 arg2
= wxString_in_helper(obj1
);
5777 if (arg2
== NULL
) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5811 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxSingleInstanceChecker
*result
;
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5833 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "self", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5861 wxString
*arg2
= 0 ;
5862 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5863 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5865 bool temp2
= False
;
5866 bool temp3
= False
;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5869 PyObject
* obj2
= 0 ;
5871 (char *) "self",(char *) "name",(char *) "path", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 arg2
= wxString_in_helper(obj1
);
5879 if (arg2
== NULL
) SWIG_fail
;
5884 arg3
= wxString_in_helper(obj2
);
5885 if (arg3
== NULL
) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5921 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5927 (char *) "self", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5949 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5952 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5954 return Py_BuildValue((char *)"");
5956 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxWindow
*arg1
= (wxWindow
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 PyObject
* obj2
= 0 ;
5965 (char *) "window",(char *) "dc",(char *) "method", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5975 PyErr_SetString(PyExc_TypeError
,"null reference");
5978 arg3
= (int) SWIG_AsInt(obj2
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5999 (char *) "self", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6023 PyObject
* obj0
= 0 ;
6025 (char *) "self", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (arg1
)->GetTip();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6051 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6055 PyObject
* obj0
= 0 ;
6057 (char *) "self", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (size_t)(arg1
)->GetCurrentTip();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6077 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6080 wxString
*arg2
= 0 ;
6082 bool temp2
= False
;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6086 (char *) "self",(char *) "tip", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6093 arg2
= wxString_in_helper(obj1
);
6094 if (arg2
== NULL
) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6125 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6130 return Py_BuildValue((char *)"");
6132 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6135 wxPyTipProvider
*result
;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "currentTip", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6142 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6158 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6161 PyObject
*arg2
= (PyObject
*) 0 ;
6162 PyObject
*arg3
= (PyObject
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 PyObject
* obj2
= 0 ;
6167 (char *) "self",(char *) "self",(char *) "_class", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 Py_INCREF(Py_None
); resultobj
= Py_None
;
6189 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6192 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6194 return Py_BuildValue((char *)"");
6196 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxWindow
*arg1
= (wxWindow
*) 0 ;
6199 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6200 bool arg3
= (bool) True
;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6206 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 arg3
= (bool) SWIG_AsBool(obj2
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6234 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxString
*arg1
= 0 ;
6238 wxTipProvider
*result
;
6239 bool temp1
= False
;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "filename",(char *) "currentTip", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6248 arg1
= wxString_in_helper(obj0
);
6249 if (arg1
== NULL
) SWIG_fail
;
6252 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6276 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6279 int arg2
= (int) -1 ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6284 (char *) "owner",(char *) "id", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6293 arg2
= (int) SWIG_AsInt(obj1
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6310 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6338 PyObject
*arg2
= (PyObject
*) 0 ;
6339 PyObject
*arg3
= (PyObject
*) 0 ;
6340 int arg4
= (int) 1 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 PyObject
* obj2
= 0 ;
6344 PyObject
* obj3
= 0 ;
6346 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 arg4
= (int) SWIG_AsInt(obj3
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6375 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6376 int arg3
= (int) -1 ;
6377 PyObject
* obj0
= 0 ;
6378 PyObject
* obj1
= 0 ;
6379 PyObject
* obj2
= 0 ;
6381 (char *) "self",(char *) "owner",(char *) "id", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 arg3
= (int) SWIG_AsInt(obj2
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 (arg1
)->SetOwner(arg2
,arg3
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6410 int arg2
= (int) -1 ;
6411 bool arg3
= (bool) False
;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj2
= 0 ;
6417 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 arg2
= (int) SWIG_AsInt(obj1
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6428 arg3
= (bool) SWIG_AsBool(obj2
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6447 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 Py_INCREF(Py_None
); resultobj
= Py_None
;
6472 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6504 PyObject
* obj0
= 0 ;
6506 (char *) "self", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= SWIG_FromInt((int)result
);
6526 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6532 (char *) "self", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6554 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6560 (char *) "self", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 resultobj
= SWIG_FromInt((int)result
);
6580 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6583 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6585 return Py_BuildValue((char *)"");
6587 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 int arg1
= (int) 0 ;
6590 int arg2
= (int) 0 ;
6591 wxTimerEvent
*result
;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6595 (char *) "timerid",(char *) "interval", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 arg1
= (int) SWIG_AsInt(obj0
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6604 arg2
= (int) SWIG_AsInt(obj1
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6621 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6627 (char *) "self", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_FromInt((int)result
);
6647 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6650 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6652 return Py_BuildValue((char *)"");
6654 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6655 PyObject
*resultobj
;
6657 wxTimerRunner
*result
;
6658 PyObject
* obj0
= 0 ;
6660 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6665 PyErr_SetString(PyExc_TypeError
,"null reference");
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6682 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6683 PyObject
*resultobj
;
6686 bool arg3
= (bool) False
;
6687 wxTimerRunner
*result
;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6690 PyObject
* obj2
= 0 ;
6692 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6697 PyErr_SetString(PyExc_TypeError
,"null reference");
6700 arg2
= (int) SWIG_AsInt(obj1
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 arg3
= (bool) SWIG_AsBool(obj2
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6720 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6725 argc
= PyObject_Length(args
);
6726 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6727 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6733 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6741 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6744 if ((argc
>= 2) && (argc
<= 3)) {
6748 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6756 _v
= SWIG_CheckInt(argv
[1]);
6759 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6761 _v
= SWIG_CheckBool(argv
[2]);
6763 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6769 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6774 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 Py_INCREF(Py_None
); resultobj
= Py_None
;
6799 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6803 bool arg3
= (bool) False
;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6806 PyObject
* obj2
= 0 ;
6808 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 arg2
= (int) SWIG_AsInt(obj1
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 arg3
= (bool) SWIG_AsBool(obj2
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 (arg1
)->Start(arg2
,arg3
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 Py_INCREF(Py_None
); resultobj
= Py_None
;
6834 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6837 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6839 return Py_BuildValue((char *)"");
6841 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxLog
*)new wxLog();
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6863 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (bool)wxLog::IsEnabled();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6887 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 bool arg1
= (bool) True
;
6891 PyObject
* obj0
= 0 ;
6893 (char *) "doIt", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6898 arg1
= (bool) SWIG_AsBool(obj0
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (bool)wxLog::EnableLogging(arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6917 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6920 wxChar
*arg2
= (wxChar
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6926 (char *) "level",(char *) "szString",(char *) "t", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6930 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 Py_INCREF(Py_None
); resultobj
= Py_None
;
6950 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxLog
*arg1
= (wxLog
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "self", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxLog::FlushActive();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 Py_INCREF(Py_None
); resultobj
= Py_None
;
6996 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (wxLog
*)wxLog::GetActiveTarget();
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7018 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxLog
*arg1
= (wxLog
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "pLogger", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7044 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 Py_INCREF(Py_None
); resultobj
= Py_None
;
7065 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 Py_INCREF(Py_None
); resultobj
= Py_None
;
7086 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 bool arg1
= (bool) True
;
7089 PyObject
* obj0
= 0 ;
7091 (char *) "bVerbose", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7096 arg1
= (bool) SWIG_AsBool(obj0
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxLog::SetVerbose(arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 Py_INCREF(Py_None
); resultobj
= Py_None
;
7113 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7116 PyObject
* obj0
= 0 ;
7118 (char *) "logLevel", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7122 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 wxLog::SetLogLevel(arg1
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 Py_INCREF(Py_None
); resultobj
= Py_None
;
7138 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 wxLog::DontCreateOnDemand();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 Py_INCREF(Py_None
); resultobj
= Py_None
;
7159 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7162 PyObject
* obj0
= 0 ;
7164 (char *) "ulMask", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7168 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 wxLog::SetTraceMask(arg1
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxString
*arg1
= 0 ;
7187 bool temp1
= False
;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "str", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7195 arg1
= wxString_in_helper(obj0
);
7196 if (arg1
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxLog::AddTraceMask((wxString
const &)*arg1
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7221 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxString
*arg1
= 0 ;
7224 bool temp1
= False
;
7225 PyObject
* obj0
= 0 ;
7227 (char *) "str", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7232 arg1
= wxString_in_helper(obj0
);
7233 if (arg1
== NULL
) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 wxLog::ClearTraceMasks();
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 Py_INCREF(Py_None
); resultobj
= Py_None
;
7279 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxArrayString
*result
;
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7291 result
= (wxArrayString
*) &_result_ref
;
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= wxArrayString2PyList_helper(*result
);
7306 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxChar
*arg1
= (wxChar
*) 0 ;
7309 PyObject
* obj0
= 0 ;
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxLog::SetTimestamp((wxChar
const *)arg1
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (bool)wxLog::GetVerbose();
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7355 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (wxTraceMask
)wxLog::GetTraceMask();
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7377 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxChar
*arg1
= (wxChar
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "mask", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7405 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (wxLogLevel
)wxLog::GetLogLevel();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7427 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= (wxChar
*)wxLog::GetTimestamp();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7449 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= Log_TimeStamp();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7477 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxLog
*arg1
= (wxLog
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 wxLog_Destroy(arg1
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7505 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7507 return Py_BuildValue((char *)"");
7509 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxLogStderr
*result
;
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (wxLogStderr
*)new wxLogStderr();
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7531 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7534 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7536 return Py_BuildValue((char *)"");
7538 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7541 wxLogTextCtrl
*result
;
7542 PyObject
* obj0
= 0 ;
7544 (char *) "pTextCtrl", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7564 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7567 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7569 return Py_BuildValue((char *)"");
7571 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (wxLogGui
*)new wxLogGui();
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7593 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7596 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7598 return Py_BuildValue((char *)"");
7600 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxFrame
*arg1
= (wxFrame
*) 0 ;
7603 wxString
*arg2
= 0 ;
7604 bool arg3
= (bool) True
;
7605 bool arg4
= (bool) True
;
7606 wxLogWindow
*result
;
7607 bool temp2
= False
;
7608 PyObject
* obj0
= 0 ;
7609 PyObject
* obj1
= 0 ;
7610 PyObject
* obj2
= 0 ;
7611 PyObject
* obj3
= 0 ;
7613 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7620 arg2
= wxString_in_helper(obj1
);
7621 if (arg2
== NULL
) SWIG_fail
;
7625 arg3
= (bool) SWIG_AsBool(obj2
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 arg4
= (bool) SWIG_AsBool(obj3
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7654 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7657 bool arg2
= (bool) True
;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "self",(char *) "bShow", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg2
= (bool) SWIG_AsBool(obj1
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7685 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7691 (char *) "self", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= wxPyMake_wxObject(result
);
7713 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "self", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7739 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7767 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7774 (char *) "self",(char *) "bDoPass", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 arg2
= (bool) SWIG_AsBool(obj1
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 (arg1
)->PassMessages(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7799 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7801 return Py_BuildValue((char *)"");
7803 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxLog
*arg1
= (wxLog
*) 0 ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "logger", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (wxLogChain
*)new wxLogChain(arg1
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7829 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7832 wxLog
*arg2
= (wxLog
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7836 (char *) "self",(char *) "logger", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 (arg1
)->SetLog(arg2
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 Py_INCREF(Py_None
); resultobj
= Py_None
;
7858 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 (char *) "self",(char *) "bDoPass", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7871 arg2
= (bool) SWIG_AsBool(obj1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->PassMessages(arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7887 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)(arg1
)->IsPassingMessages();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7915 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "self", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (wxLog
*)(arg1
)->GetOldLog();
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7941 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7944 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7946 return Py_BuildValue((char *)"");
7948 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 unsigned long result
;
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (unsigned long)wxSysErrorCode();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7970 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 unsigned long arg1
= (unsigned long) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "nErrCode", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7981 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= wxSysErrorMsg(arg1
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8004 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxString
*arg1
= 0 ;
8007 bool temp1
= False
;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "msg", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8015 arg1
= wxString_in_helper(obj0
);
8016 if (arg1
== NULL
) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxLogFatalError((wxString
const &)*arg1
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8041 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxString
*arg1
= 0 ;
8044 bool temp1
= False
;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "msg", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8052 arg1
= wxString_in_helper(obj0
);
8053 if (arg1
== NULL
) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 wxLogError((wxString
const &)*arg1
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxString
*arg1
= 0 ;
8081 bool temp1
= False
;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "msg", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8089 arg1
= wxString_in_helper(obj0
);
8090 if (arg1
== NULL
) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 wxLogWarning((wxString
const &)*arg1
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 Py_INCREF(Py_None
); resultobj
= Py_None
;
8115 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxString
*arg1
= 0 ;
8118 bool temp1
= False
;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "msg", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8126 arg1
= wxString_in_helper(obj0
);
8127 if (arg1
== NULL
) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 wxLogMessage((wxString
const &)*arg1
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxString
*arg1
= 0 ;
8155 bool temp1
= False
;
8156 PyObject
* obj0
= 0 ;
8158 (char *) "msg", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8163 arg1
= wxString_in_helper(obj0
);
8164 if (arg1
== NULL
) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 wxLogInfo((wxString
const &)*arg1
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8189 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxString
*arg1
= 0 ;
8192 bool temp1
= False
;
8193 PyObject
* obj0
= 0 ;
8195 (char *) "msg", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8200 arg1
= wxString_in_helper(obj0
);
8201 if (arg1
== NULL
) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxLogDebug((wxString
const &)*arg1
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxString
*arg1
= 0 ;
8229 bool temp1
= False
;
8230 PyObject
* obj0
= 0 ;
8232 (char *) "msg", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8237 arg1
= wxString_in_helper(obj0
);
8238 if (arg1
== NULL
) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 wxLogVerbose((wxString
const &)*arg1
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxString
*arg1
= 0 ;
8266 bool temp1
= False
;
8267 PyObject
* obj0
= 0 ;
8269 (char *) "msg", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8274 arg1
= wxString_in_helper(obj0
);
8275 if (arg1
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 wxLogStatus((wxString
const &)*arg1
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxFrame
*arg1
= (wxFrame
*) 0 ;
8303 wxString
*arg2
= 0 ;
8304 bool temp2
= False
;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8308 (char *) "pFrame",(char *) "msg", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8315 arg2
= wxString_in_helper(obj1
);
8316 if (arg2
== NULL
) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxString
*arg1
= 0 ;
8344 bool temp1
= False
;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "msg", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8352 arg1
= wxString_in_helper(obj0
);
8353 if (arg1
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 wxLogSysError((wxString
const &)*arg1
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8379 PyObject
*resultobj
;
8380 unsigned long arg1
;
8381 wxString
*arg2
= 0 ;
8382 bool temp2
= False
;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj1
= 0 ;
8386 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8387 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 arg2
= wxString_in_helper(obj1
);
8391 if (arg2
== NULL
) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8417 PyObject
*resultobj
;
8418 wxString
*arg1
= 0 ;
8419 wxString
*arg2
= 0 ;
8420 bool temp1
= False
;
8421 bool temp2
= False
;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8425 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8427 arg1
= wxString_in_helper(obj0
);
8428 if (arg1
== NULL
) SWIG_fail
;
8432 arg2
= wxString_in_helper(obj1
);
8433 if (arg2
== NULL
) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 Py_INCREF(Py_None
); resultobj
= Py_None
;
8466 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8471 argc
= PyObject_Length(args
);
8472 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8478 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8482 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8485 return _wrap_LogTrace__SWIG_1(self
,args
);
8491 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8494 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8497 return _wrap_LogTrace__SWIG_0(self
,args
);
8502 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8507 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 unsigned long arg1
;
8510 wxString
*arg2
= 0 ;
8511 bool temp2
= False
;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8515 (char *) "level",(char *) "msg", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8519 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 arg2
= wxString_in_helper(obj1
);
8523 if (arg2
== NULL
) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxString
*arg1
= 0 ;
8551 wxString
*arg2
= 0 ;
8552 bool temp1
= False
;
8553 bool temp2
= False
;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "title",(char *) "text", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8562 arg1
= wxString_in_helper(obj0
);
8563 if (arg1
== NULL
) SWIG_fail
;
8567 arg2
= wxString_in_helper(obj1
);
8568 if (arg2
== NULL
) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (wxLogNull
*)new wxLogNull();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8623 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8648 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8651 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8653 return Py_BuildValue((char *)"");
8655 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (wxPyLog
*)new wxPyLog();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8677 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8680 PyObject
*arg2
= (PyObject
*) 0 ;
8681 PyObject
*arg3
= (PyObject
*) 0 ;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8686 (char *) "self",(char *) "self",(char *) "_class", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8708 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8711 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8713 return Py_BuildValue((char *)"");
8715 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8718 int arg2
= (int) wxSIGTERM
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "pid",(char *) "sig", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 arg1
= (int) SWIG_AsInt(obj0
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= SWIG_FromInt((int)result
);
8747 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8751 PyObject
* obj0
= 0 ;
8753 (char *) "pid", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8757 arg1
= (int) SWIG_AsInt(obj0
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (bool)wxPyProcess::Exists(arg1
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8775 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxString
*arg1
= 0 ;
8778 int arg2
= (int) wxEXEC_ASYNC
;
8779 wxPyProcess
*result
;
8780 bool temp1
= False
;
8781 PyObject
* obj0
= 0 ;
8782 PyObject
* obj1
= 0 ;
8784 (char *) "cmd",(char *) "flags", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8789 arg1
= wxString_in_helper(obj0
);
8790 if (arg1
== NULL
) SWIG_fail
;
8794 arg2
= (int) SWIG_AsInt(obj1
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8819 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8822 int arg2
= (int) -1 ;
8823 wxPyProcess
*result
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8827 (char *) "parent",(char *) "id", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= (int) SWIG_AsInt(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8853 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8856 PyObject
*arg2
= (PyObject
*) 0 ;
8857 PyObject
*arg3
= (PyObject
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 PyObject
* obj2
= 0 ;
8862 (char *) "self",(char *) "self",(char *) "_class", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 Py_INCREF(Py_None
); resultobj
= Py_None
;
8884 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 PyObject
* obj2
= 0 ;
8893 (char *) "self",(char *) "pid",(char *) "status", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 arg2
= (int) SWIG_AsInt(obj1
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8901 arg3
= (int) SWIG_AsInt(obj2
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 (arg1
)->base_OnTerminate(arg2
,arg3
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 Py_INCREF(Py_None
); resultobj
= Py_None
;
8917 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8948 (char *) "self", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (bool)(arg1
)->IsRedirected();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8998 wxInputStream
*result
;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9015 wxPyInputStream
* _ptr
= NULL
;
9018 _ptr
= new wxPyInputStream(result
);
9020 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9028 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9031 wxInputStream
*result
;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9048 wxPyInputStream
* _ptr
= NULL
;
9051 _ptr
= new wxPyInputStream(result
);
9053 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9061 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9064 wxOutputStream
*result
;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9087 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "self", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->CloseOutput();
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 Py_INCREF(Py_None
); resultobj
= Py_None
;
9112 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9118 (char *) "self", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9140 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9144 PyObject
* obj0
= 0 ;
9146 (char *) "self", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9168 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9172 PyObject
* obj0
= 0 ;
9174 (char *) "self", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9196 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9199 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9201 return Py_BuildValue((char *)"");
9203 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 int arg1
= (int) 0 ;
9206 int arg2
= (int) 0 ;
9207 int arg3
= (int) 0 ;
9208 wxProcessEvent
*result
;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9213 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9218 arg1
= (int) SWIG_AsInt(obj0
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 arg2
= (int) SWIG_AsInt(obj1
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 arg3
= (int) SWIG_AsInt(obj2
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9243 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (int)(arg1
)->GetPid();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_FromInt((int)result
);
9269 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9275 (char *) "self", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (int)(arg1
)->GetExitCode();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_FromInt((int)result
);
9295 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9302 (char *) "self",(char *) "m_pid", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 arg2
= (int) SWIG_AsInt(obj1
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 if (arg1
) (arg1
)->m_pid
= arg2
;
9312 Py_INCREF(Py_None
); resultobj
= Py_None
;
9319 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9331 result
= (int) ((arg1
)->m_pid
);
9333 resultobj
= SWIG_FromInt((int)result
);
9340 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9347 (char *) "self",(char *) "m_exitcode", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9353 arg2
= (int) SWIG_AsInt(obj1
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9355 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9357 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 result
= (int) ((arg1
)->m_exitcode
);
9378 resultobj
= SWIG_FromInt((int)result
);
9385 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9388 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9390 return Py_BuildValue((char *)"");
9392 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxString
*arg1
= 0 ;
9395 int arg2
= (int) wxEXEC_ASYNC
;
9396 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9398 bool temp1
= False
;
9399 PyObject
* obj0
= 0 ;
9400 PyObject
* obj1
= 0 ;
9401 PyObject
* obj2
= 0 ;
9403 (char *) "command",(char *) "flags",(char *) "process", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9408 arg1
= wxString_in_helper(obj0
);
9409 if (arg1
== NULL
) SWIG_fail
;
9413 arg2
= (int) SWIG_AsInt(obj1
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_FromLong((long)result
);
9442 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 int arg1
= (int) wxJOYSTICK1
;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "joystick", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9453 arg1
= (int) SWIG_AsInt(obj0
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (wxJoystick
*)new wxJoystick(arg1
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9470 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9475 (char *) "self", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 Py_INCREF(Py_None
); resultobj
= Py_None
;
9495 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "self", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (arg1
)->GetPosition();
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9515 wxPoint
* resultptr
;
9516 resultptr
= new wxPoint((wxPoint
&) result
);
9517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9525 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (int)(arg1
)->GetZPosition();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_FromInt((int)result
);
9551 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (int)(arg1
)->GetButtonState();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_FromInt((int)result
);
9577 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (int)(arg1
)->GetPOVPosition();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_FromInt((int)result
);
9603 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "self", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)(arg1
)->GetPOVCTSPosition();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_FromInt((int)result
);
9629 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9635 (char *) "self", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (int)(arg1
)->GetRudderPosition();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_FromInt((int)result
);
9655 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9661 (char *) "self", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (int)(arg1
)->GetUPosition();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_FromInt((int)result
);
9681 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (int)(arg1
)->GetVPosition();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_FromInt((int)result
);
9707 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (int)(arg1
)->GetMovementThreshold();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_FromInt((int)result
);
9733 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9740 (char *) "self",(char *) "threshold", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 arg2
= (int) SWIG_AsInt(obj1
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->SetMovementThreshold(arg2
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (bool)(arg1
)->IsOk();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9790 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)(arg1
)->GetNumberJoysticks();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_FromInt((int)result
);
9816 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (int)(arg1
)->GetManufacturerId();
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_FromInt((int)result
);
9842 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (int)(arg1
)->GetProductId();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_FromInt((int)result
);
9868 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "self", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (arg1
)->GetProductName();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9900 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (int)(arg1
)->GetXMin();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_FromInt((int)result
);
9926 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9930 PyObject
* obj0
= 0 ;
9932 (char *) "self", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (int)(arg1
)->GetYMin();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_FromInt((int)result
);
9952 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (int)(arg1
)->GetZMin();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_FromInt((int)result
);
9978 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (int)(arg1
)->GetXMax();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_FromInt((int)result
);
10004 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (int)(arg1
)->GetYMax();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_FromInt((int)result
);
10030 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (int)(arg1
)->GetZMax();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_FromInt((int)result
);
10056 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (int)(arg1
)->GetNumberButtons();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_FromInt((int)result
);
10082 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (int)(arg1
)->GetNumberAxes();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_FromInt((int)result
);
10108 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (int)(arg1
)->GetMaxButtons();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_FromInt((int)result
);
10134 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (int)(arg1
)->GetMaxAxes();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_FromInt((int)result
);
10160 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetPollingMin();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_FromInt((int)result
);
10186 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)(arg1
)->GetPollingMax();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_FromInt((int)result
);
10212 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)(arg1
)->GetRudderMin();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_FromInt((int)result
);
10238 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (int)(arg1
)->GetRudderMax();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_FromInt((int)result
);
10264 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)(arg1
)->GetUMin();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_FromInt((int)result
);
10290 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (int)(arg1
)->GetUMax();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_FromInt((int)result
);
10316 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (int)(arg1
)->GetVMin();
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_FromInt((int)result
);
10342 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (int)(arg1
)->GetVMax();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_FromInt((int)result
);
10368 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (bool)(arg1
)->HasRudder();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10396 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10400 PyObject
* obj0
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (bool)(arg1
)->HasZ();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10424 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (bool)(arg1
)->HasU();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10452 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= (bool)(arg1
)->HasV();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10480 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->HasPOV();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10508 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (bool)(arg1
)->HasPOV4Dir();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10536 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->HasPOVCTS();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10567 wxWindow
*arg2
= (wxWindow
*) 0 ;
10568 int arg3
= (int) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 PyObject
* obj2
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 arg3
= (int) SWIG_AsInt(obj2
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10602 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (bool)(arg1
)->ReleaseCapture();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10630 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10633 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10635 return Py_BuildValue((char *)"");
10637 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10640 wxPoint
*arg2
= (wxPoint
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "m_pos", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 if (arg1
) (arg1
)->m_pos
= *arg2
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10682 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "m_zPosition", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10695 arg2
= (int) SWIG_AsInt(obj1
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10697 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10699 Py_INCREF(Py_None
); resultobj
= Py_None
;
10706 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10718 result
= (int) ((arg1
)->m_zPosition
);
10720 resultobj
= SWIG_FromInt((int)result
);
10727 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "m_buttonChange", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg2
= (int) SWIG_AsInt(obj1
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10742 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10744 Py_INCREF(Py_None
); resultobj
= Py_None
;
10751 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 result
= (int) ((arg1
)->m_buttonChange
);
10765 resultobj
= SWIG_FromInt((int)result
);
10772 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "self",(char *) "m_buttonState", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 arg2
= (int) SWIG_AsInt(obj1
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10787 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 result
= (int) ((arg1
)->m_buttonState
);
10810 resultobj
= SWIG_FromInt((int)result
);
10817 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "m_joyStick", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 arg2
= (int) SWIG_AsInt(obj1
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10832 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 result
= (int) ((arg1
)->m_joyStick
);
10855 resultobj
= SWIG_FromInt((int)result
);
10862 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10865 int arg2
= (int) 0 ;
10866 int arg3
= (int) wxJOYSTICK1
;
10867 int arg4
= (int) 0 ;
10868 wxJoystickEvent
*result
;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 PyObject
* obj3
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10879 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 arg2
= (int) SWIG_AsInt(obj1
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10887 arg3
= (int) SWIG_AsInt(obj2
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10891 arg4
= (int) SWIG_AsInt(obj3
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10908 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 wxPoint
* resultptr
;
10929 resultptr
= new wxPoint((wxPoint
&) result
);
10930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10938 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_FromInt((int)result
);
10964 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_FromInt((int)result
);
10990 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_FromInt((int)result
);
11016 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_FromInt((int)result
);
11042 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "stick", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11055 arg2
= (int) SWIG_AsInt(obj1
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 (arg1
)->SetJoystick(arg2
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 Py_INCREF(Py_None
); resultobj
= Py_None
;
11071 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "state", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 arg2
= (int) SWIG_AsInt(obj1
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 (arg1
)->SetButtonState(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11100 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 PyObject
* obj1
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "change", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11113 arg2
= (int) SWIG_AsInt(obj1
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->SetButtonChange(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11132 wxPoint
*arg2
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self",(char *) "pos", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "zPos", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 arg2
= (int) SWIG_AsInt(obj1
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 (arg1
)->SetZPosition(arg2
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 Py_INCREF(Py_None
); resultobj
= Py_None
;
11190 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11218 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11246 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11274 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11277 int arg2
= (int) wxJOY_BUTTON_ANY
;
11279 PyObject
* obj0
= 0 ;
11280 PyObject
* obj1
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "but", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg2
= (int) SWIG_AsInt(obj1
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11308 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11311 int arg2
= (int) wxJOY_BUTTON_ANY
;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "but", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 arg2
= (int) SWIG_AsInt(obj1
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11342 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11345 int arg2
= (int) wxJOY_BUTTON_ANY
;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self",(char *) "but", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 arg2
= (int) SWIG_AsInt(obj1
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11376 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11379 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11381 return Py_BuildValue((char *)"");
11383 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11384 PyObject
*resultobj
;
11387 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (wxSound
*)new wxSound();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11402 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11403 PyObject
*resultobj
;
11404 wxString
*arg1
= 0 ;
11405 bool arg2
= (bool) false ;
11407 bool temp1
= False
;
11408 PyObject
* obj0
= 0 ;
11409 PyObject
* obj1
= 0 ;
11411 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11413 arg1
= wxString_in_helper(obj0
);
11414 if (arg1
== NULL
) SWIG_fail
;
11418 arg2
= (bool) SWIG_AsBool(obj1
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11443 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11444 PyObject
*resultobj
;
11446 wxByte
*arg2
= (wxByte
*) 0 ;
11448 PyObject
* obj0
= 0 ;
11449 PyObject
* obj1
= 0 ;
11451 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11452 arg1
= (int) SWIG_AsInt(obj0
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11470 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11475 argc
= PyObject_Length(args
);
11476 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11477 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11480 return _wrap_new_Sound__SWIG_0(self
,args
);
11482 if ((argc
>= 1) && (argc
<= 2)) {
11485 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11489 return _wrap_new_Sound__SWIG_1(self
,args
);
11491 _v
= SWIG_CheckBool(argv
[1]);
11493 return _wrap_new_Sound__SWIG_1(self
,args
);
11499 _v
= SWIG_CheckInt(argv
[0]);
11503 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11511 return _wrap_new_Sound__SWIG_2(self
,args
);
11516 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11521 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxSound
*arg1
= (wxSound
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "self", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 Py_INCREF(Py_None
); resultobj
= Py_None
;
11546 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11547 PyObject
*resultobj
;
11548 wxSound
*arg1
= (wxSound
*) 0 ;
11549 wxString
*arg2
= 0 ;
11550 bool arg3
= (bool) false ;
11552 bool temp2
= False
;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 PyObject
* obj2
= 0 ;
11557 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 arg2
= wxString_in_helper(obj1
);
11562 if (arg2
== NULL
) SWIG_fail
;
11566 arg3
= (bool) SWIG_AsBool(obj2
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11593 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11594 PyObject
*resultobj
;
11595 wxSound
*arg1
= (wxSound
*) 0 ;
11597 wxByte
*arg3
= (wxByte
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 PyObject
* obj2
= 0 ;
11603 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11606 arg2
= (int) SWIG_AsInt(obj1
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11608 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11626 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11631 argc
= PyObject_Length(args
);
11632 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11633 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11635 if ((argc
>= 2) && (argc
<= 3)) {
11639 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11648 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11652 return _wrap_Sound_Create__SWIG_0(self
,args
);
11654 _v
= SWIG_CheckBool(argv
[2]);
11656 return _wrap_Sound_Create__SWIG_0(self
,args
);
11665 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11673 _v
= SWIG_CheckInt(argv
[1]);
11677 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11685 return _wrap_Sound_Create__SWIG_1(self
,args
);
11691 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11696 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxSound
*arg1
= (wxSound
*) 0 ;
11700 PyObject
* obj0
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (bool)(arg1
)->IsOk();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11724 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11725 PyObject
*resultobj
;
11726 wxSound
*arg1
= (wxSound
*) 0 ;
11727 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11732 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11755 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11756 PyObject
*resultobj
;
11757 wxString
*arg1
= 0 ;
11758 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11760 bool temp1
= False
;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11764 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11766 arg1
= wxString_in_helper(obj0
);
11767 if (arg1
== NULL
) SWIG_fail
;
11771 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11798 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 char *kwnames
[] = {
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11819 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11822 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11824 return Py_BuildValue((char *)"");
11826 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxString
*arg1
= 0 ;
11829 wxString
*arg2
= 0 ;
11830 wxString
*arg3
= 0 ;
11831 wxString
*arg4
= 0 ;
11832 wxFileTypeInfo
*result
;
11833 bool temp1
= False
;
11834 bool temp2
= False
;
11835 bool temp3
= False
;
11836 bool temp4
= False
;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 PyObject
* obj2
= 0 ;
11840 PyObject
* obj3
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11847 arg1
= wxString_in_helper(obj0
);
11848 if (arg1
== NULL
) SWIG_fail
;
11852 arg2
= wxString_in_helper(obj1
);
11853 if (arg2
== NULL
) SWIG_fail
;
11857 arg3
= wxString_in_helper(obj2
);
11858 if (arg3
== NULL
) SWIG_fail
;
11862 arg4
= wxString_in_helper(obj3
);
11863 if (arg4
== NULL
) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11912 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxArrayString
*arg1
= 0 ;
11915 wxFileTypeInfo
*result
;
11916 bool temp1
= False
;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "sArray", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11924 if (! PySequence_Check(obj0
)) {
11925 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11928 arg1
= new wxArrayString
;
11930 int i
, len
=PySequence_Length(obj0
);
11931 for (i
=0; i
<len
; i
++) {
11932 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11934 PyObject
* str
= PyObject_Unicode(item
);
11936 PyObject
* str
= PyObject_Str(item
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11939 arg1
->Add(Py2wxString(str
));
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11953 if (temp1
) delete arg1
;
11958 if (temp1
) delete arg1
;
11964 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxFileTypeInfo
*result
;
11967 char *kwnames
[] = {
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11986 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12014 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12017 wxString
*arg2
= 0 ;
12018 int arg3
= (int) 0 ;
12019 bool temp2
= False
;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 PyObject
* obj2
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 arg2
= wxString_in_helper(obj1
);
12032 if (arg2
== NULL
) SWIG_fail
;
12036 arg3
= (int) SWIG_AsInt(obj2
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 Py_INCREF(Py_None
); resultobj
= Py_None
;
12061 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12064 wxString
*arg2
= 0 ;
12065 bool temp2
= False
;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "shortDesc", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12076 arg2
= wxString_in_helper(obj1
);
12077 if (arg2
== NULL
) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12118 result
= (wxString
*) &_result_ref
;
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12137 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12153 result
= (wxString
*) &_result_ref
;
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12163 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12172 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12188 result
= (wxString
*) &_result_ref
;
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12207 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12223 result
= (wxString
*) &_result_ref
;
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12242 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12258 result
= (wxString
*) &_result_ref
;
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12277 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12280 wxArrayString
*result
;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12293 result
= (wxArrayString
*) &_result_ref
;
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= wxArrayString2PyList_helper(*result
);
12308 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_FromInt((int)result
);
12334 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
;
12336 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12338 PyObject
* obj0
= 0 ;
12339 char *kwnames
[] = {
12340 (char *) "self", NULL
12343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12350 result
= (wxString
*) &_result_ref
;
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12360 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12369 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12373 PyObject
* obj0
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_FromInt((int)result
);
12395 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12398 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12400 return Py_BuildValue((char *)"");
12402 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxFileTypeInfo
*arg1
= 0 ;
12405 wxFileType
*result
;
12406 PyObject
* obj0
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "ftInfo", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12415 if (arg1
== NULL
) {
12416 PyErr_SetString(PyExc_TypeError
,"null reference");
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12433 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxFileType
*arg1
= (wxFileType
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxFileType
*arg1
= (wxFileType
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= result
;
12484 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxFileType
*arg1
= (wxFileType
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
;
12510 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxFileType
*arg1
= (wxFileType
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
;
12536 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxFileType
*arg1
= (wxFileType
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12562 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxFileType
*arg1
= (wxFileType
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= result
;
12588 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxFileType
*arg1
= (wxFileType
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= result
;
12614 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFileType
*arg1
= (wxFileType
*) 0 ;
12617 wxString
*arg2
= 0 ;
12618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12621 bool temp2
= False
;
12622 bool temp3
= False
;
12623 PyObject
* obj0
= 0 ;
12624 PyObject
* obj1
= 0 ;
12625 PyObject
* obj2
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 arg2
= wxString_in_helper(obj1
);
12635 if (arg2
== NULL
) SWIG_fail
;
12640 arg3
= wxString_in_helper(obj2
);
12641 if (arg3
== NULL
) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= result
;
12675 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxFileType
*arg1
= (wxFileType
*) 0 ;
12678 wxString
*arg2
= 0 ;
12679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12682 bool temp2
= False
;
12683 bool temp3
= False
;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 PyObject
* obj2
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 arg2
= wxString_in_helper(obj1
);
12696 if (arg2
== NULL
) SWIG_fail
;
12701 arg3
= wxString_in_helper(obj2
);
12702 if (arg3
== NULL
) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
;
12736 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxFileType
*arg1
= (wxFileType
*) 0 ;
12739 wxString
*arg2
= 0 ;
12740 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12741 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12743 bool temp2
= False
;
12744 bool temp3
= False
;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 PyObject
* obj2
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 arg2
= wxString_in_helper(obj1
);
12757 if (arg2
== NULL
) SWIG_fail
;
12762 arg3
= wxString_in_helper(obj2
);
12763 if (arg3
== NULL
) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
;
12797 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxFileType
*arg1
= (wxFileType
*) 0 ;
12800 wxString
*arg2
= 0 ;
12801 wxString
*arg3
= 0 ;
12802 bool arg4
= (bool) True
;
12804 bool temp2
= False
;
12805 bool temp3
= False
;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 PyObject
* obj3
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 arg3
= wxString_in_helper(obj2
);
12824 if (arg3
== NULL
) SWIG_fail
;
12828 arg4
= (bool) SWIG_AsBool(obj3
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12863 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxFileType
*arg1
= (wxFileType
*) 0 ;
12866 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12867 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12868 int arg3
= (int) 0 ;
12870 bool temp2
= False
;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 PyObject
* obj2
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "cmd",(char *) "index", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12883 arg2
= wxString_in_helper(obj1
);
12884 if (arg2
== NULL
) SWIG_fail
;
12889 arg3
= (int) SWIG_AsInt(obj2
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12916 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxFileType
*arg1
= (wxFileType
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (bool)(arg1
)->Unassociate();
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12944 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxString
*arg1
= 0 ;
12947 wxString
*arg2
= 0 ;
12948 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12949 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12951 bool temp1
= False
;
12952 bool temp2
= False
;
12953 bool temp3
= False
;
12954 PyObject
* obj0
= 0 ;
12955 PyObject
* obj1
= 0 ;
12956 PyObject
* obj2
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12963 arg1
= wxString_in_helper(obj0
);
12964 if (arg1
== NULL
) SWIG_fail
;
12968 arg2
= wxString_in_helper(obj1
);
12969 if (arg2
== NULL
) SWIG_fail
;
12974 arg3
= wxString_in_helper(obj2
);
12975 if (arg3
== NULL
) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13023 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13026 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13028 return Py_BuildValue((char *)"");
13030 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13031 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13036 static PyObject
*_wrap_TheMimeTypesManager_get() {
13039 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13044 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxString
*arg1
= 0 ;
13047 wxString
*arg2
= 0 ;
13049 bool temp1
= False
;
13050 bool temp2
= False
;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "mimeType",(char *) "wildcard", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13059 arg1
= wxString_in_helper(obj0
);
13060 if (arg1
== NULL
) SWIG_fail
;
13064 arg2
= wxString_in_helper(obj1
);
13065 if (arg2
== NULL
) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13100 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxMimeTypesManager
*result
;
13103 char *kwnames
[] = {
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13122 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13125 int arg2
= (int) wxMAILCAP_ALL
;
13126 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13127 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13128 bool temp3
= False
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 PyObject
* obj2
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13140 arg2
= (int) SWIG_AsInt(obj1
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13145 arg3
= wxString_in_helper(obj2
);
13146 if (arg3
== NULL
) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 (arg1
)->ClearData();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13200 wxString
*arg2
= 0 ;
13201 wxFileType
*result
;
13202 bool temp2
= False
;
13203 PyObject
* obj0
= 0 ;
13204 PyObject
* obj1
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "ext", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 arg2
= wxString_in_helper(obj1
);
13214 if (arg2
== NULL
) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13239 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13242 wxString
*arg2
= 0 ;
13243 wxFileType
*result
;
13244 bool temp2
= False
;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "mimeType", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 arg2
= wxString_in_helper(obj1
);
13256 if (arg2
== NULL
) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13281 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13284 wxString
*arg2
= 0 ;
13285 bool arg3
= (bool) False
;
13287 bool temp2
= False
;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 PyObject
* obj2
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 arg2
= wxString_in_helper(obj1
);
13300 if (arg2
== NULL
) SWIG_fail
;
13304 arg3
= (bool) SWIG_AsBool(obj2
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13331 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13334 wxString
*arg2
= 0 ;
13336 bool temp2
= False
;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self",(char *) "filename", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13347 arg2
= wxString_in_helper(obj1
);
13348 if (arg2
== NULL
) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13375 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= result
;
13401 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13404 wxFileTypeInfo
*arg2
= 0 ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self",(char *) "ft", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13417 if (arg2
== NULL
) {
13418 PyErr_SetString(PyExc_TypeError
,"null reference");
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 Py_INCREF(Py_None
); resultobj
= Py_None
;
13435 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13438 wxFileTypeInfo
*arg2
= 0 ;
13439 wxFileType
*result
;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self",(char *) "ftInfo", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13452 if (arg2
== NULL
) {
13453 PyErr_SetString(PyExc_TypeError
,"null reference");
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13470 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13473 wxFileType
*arg2
= (wxFileType
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self",(char *) "ft", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (bool)(arg1
)->Unassociate(arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13502 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13530 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13532 return Py_BuildValue((char *)"");
13534 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13535 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13540 static PyObject
*_wrap_ART_TOOLBAR_get() {
13545 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13547 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13554 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13555 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13560 static PyObject
*_wrap_ART_MENU_get() {
13565 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13567 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13574 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13575 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13580 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13585 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13587 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13594 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13595 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13600 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13605 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13607 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13614 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13615 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13620 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13625 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13627 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13634 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13635 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13640 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13645 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13647 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13654 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13655 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13660 static PyObject
*_wrap_ART_OTHER_get() {
13665 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13667 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13674 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13675 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13680 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13685 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13687 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13694 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13695 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13700 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13705 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13707 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13714 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13715 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13720 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13725 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13727 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13734 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13735 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13740 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13745 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13747 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13754 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13755 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13760 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13765 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13767 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13774 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13775 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13780 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13785 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13787 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13794 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13795 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13800 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13805 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13807 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13814 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13815 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13820 static PyObject
*_wrap_ART_GO_BACK_get() {
13825 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13827 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13834 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13835 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13840 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13845 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13847 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13854 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13855 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13860 static PyObject
*_wrap_ART_GO_UP_get() {
13865 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13867 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13874 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13875 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13880 static PyObject
*_wrap_ART_GO_DOWN_get() {
13885 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13887 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13894 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13895 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13900 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13905 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13907 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13914 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13915 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13920 static PyObject
*_wrap_ART_GO_HOME_get() {
13925 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13927 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13934 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13935 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13940 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13945 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13947 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13954 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13955 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13960 static PyObject
*_wrap_ART_PRINT_get() {
13965 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13967 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13974 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13975 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13980 static PyObject
*_wrap_ART_HELP_get() {
13985 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13987 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13994 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13995 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14000 static PyObject
*_wrap_ART_TIP_get() {
14005 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14007 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14014 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14015 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14020 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14025 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14027 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14034 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14035 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14040 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14045 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14047 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14054 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14055 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14060 static PyObject
*_wrap_ART_NEW_DIR_get() {
14065 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14067 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14074 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14075 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14080 static PyObject
*_wrap_ART_FOLDER_get() {
14085 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14087 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14094 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14095 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14100 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14105 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14107 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14114 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14115 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14120 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14125 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14127 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14134 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14135 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14140 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14145 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14147 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14154 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14155 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14160 static PyObject
*_wrap_ART_TICK_MARK_get() {
14165 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14167 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14174 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14175 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14180 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14185 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14187 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14194 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14195 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14200 static PyObject
*_wrap_ART_ERROR_get() {
14205 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14207 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14214 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14215 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14220 static PyObject
*_wrap_ART_QUESTION_get() {
14225 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14227 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14234 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14235 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14240 static PyObject
*_wrap_ART_WARNING_get() {
14245 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14247 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14254 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14255 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14260 static PyObject
*_wrap_ART_INFORMATION_get() {
14265 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14267 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14274 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14275 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14280 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14285 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14287 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14294 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxPyArtProvider
*result
;
14297 char *kwnames
[] = {
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14316 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14319 PyObject
*arg2
= (PyObject
*) 0 ;
14320 PyObject
*arg3
= (PyObject
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "self",(char *) "_class", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "provider", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 wxPyArtProvider::PushProvider(arg1
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 Py_INCREF(Py_None
); resultobj
= Py_None
;
14372 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14375 char *kwnames
[] = {
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (bool)wxPyArtProvider::PopProvider();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14396 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "provider", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14424 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxString
*arg1
= 0 ;
14427 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14428 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14429 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14430 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14432 bool temp1
= False
;
14433 bool temp2
= False
;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 PyObject
* obj2
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "id",(char *) "client",(char *) "size", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14444 arg1
= wxString_in_helper(obj0
);
14445 if (arg1
== NULL
) SWIG_fail
;
14450 arg2
= wxString_in_helper(obj1
);
14451 if (arg2
== NULL
) SWIG_fail
;
14458 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14469 wxBitmap
* resultptr
;
14470 resultptr
= new wxBitmap((wxBitmap
&) result
);
14471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14495 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxString
*arg1
= 0 ;
14498 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14499 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14500 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14501 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14503 bool temp1
= False
;
14504 bool temp2
= False
;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 PyObject
* obj2
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "id",(char *) "client",(char *) "size", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14515 arg1
= wxString_in_helper(obj0
);
14516 if (arg1
== NULL
) SWIG_fail
;
14521 arg2
= wxString_in_helper(obj1
);
14522 if (arg2
== NULL
) SWIG_fail
;
14529 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 wxIcon
* resultptr
;
14541 resultptr
= new wxIcon((wxIcon
&) result
);
14542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14566 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 wxPyArtProvider_Destroy(arg1
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 Py_INCREF(Py_None
); resultobj
= Py_None
;
14591 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14594 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14596 return Py_BuildValue((char *)"");
14598 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14601 PyObject
* obj0
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 Py_INCREF(Py_None
); resultobj
= Py_None
;
14623 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14626 wxConfigBase
*result
;
14627 PyObject
* obj0
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "config", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14649 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 bool arg1
= (bool) True
;
14652 wxConfigBase
*result
;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "createOnDemand", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14660 arg1
= (bool) SWIG_AsBool(obj0
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14677 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxConfigBase
*result
;
14680 char *kwnames
[] = {
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (wxConfigBase
*)wxConfigBase::Create();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14699 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 char *kwnames
[] = {
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 wxConfigBase::DontCreateOnDemand();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 Py_INCREF(Py_None
); resultobj
= Py_None
;
14720 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14723 wxString
*arg2
= 0 ;
14724 bool temp2
= False
;
14725 PyObject
* obj0
= 0 ;
14726 PyObject
* obj1
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "path", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 arg2
= wxString_in_helper(obj1
);
14736 if (arg2
== NULL
) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 (arg1
)->SetPath((wxString
const &)*arg2
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14777 result
= (wxString
*) &_result_ref
;
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14787 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14796 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= result
;
14822 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self",(char *) "index", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14836 arg2
= (long) SWIG_AsLong(obj1
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= result
;
14852 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= result
;
14878 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "index", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14892 arg2
= (long) SWIG_AsLong(obj1
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= result
;
14908 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14911 bool arg2
= (bool) False
;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self",(char *) "recursive", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 arg2
= (bool) SWIG_AsBool(obj1
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14940 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14943 bool arg2
= (bool) False
;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "recursive", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 arg2
= (bool) SWIG_AsBool(obj1
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14972 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14975 wxString
*arg2
= 0 ;
14977 bool temp2
= False
;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self",(char *) "name", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 arg2
= wxString_in_helper(obj1
);
14989 if (arg2
== NULL
) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15016 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15019 wxString
*arg2
= 0 ;
15021 bool temp2
= False
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "name", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 arg2
= wxString_in_helper(obj1
);
15033 if (arg2
== NULL
) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15060 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15063 wxString
*arg2
= 0 ;
15065 bool temp2
= False
;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self",(char *) "name", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 arg2
= wxString_in_helper(obj1
);
15077 if (arg2
== NULL
) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15104 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15107 wxString
*arg2
= 0 ;
15109 bool temp2
= False
;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "name", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 arg2
= wxString_in_helper(obj1
);
15121 if (arg2
== NULL
) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_FromInt((int)result
);
15146 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15149 wxString
*arg2
= 0 ;
15150 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15151 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15153 bool temp2
= False
;
15154 bool temp3
= False
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 PyObject
* obj2
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 arg2
= wxString_in_helper(obj1
);
15167 if (arg2
== NULL
) SWIG_fail
;
15172 arg3
= wxString_in_helper(obj2
);
15173 if (arg3
== NULL
) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15213 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15216 wxString
*arg2
= 0 ;
15217 long arg3
= (long) 0 ;
15219 bool temp2
= False
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 arg2
= wxString_in_helper(obj1
);
15232 if (arg2
== NULL
) SWIG_fail
;
15236 arg3
= (long) SWIG_AsLong(obj2
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_FromLong((long)result
);
15261 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15264 wxString
*arg2
= 0 ;
15265 double arg3
= (double) 0.0 ;
15267 bool temp2
= False
;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 PyObject
* obj2
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15279 arg2
= wxString_in_helper(obj1
);
15280 if (arg2
== NULL
) SWIG_fail
;
15284 arg3
= (double) SWIG_AsDouble(obj2
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= SWIG_FromDouble((double)result
);
15309 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15312 wxString
*arg2
= 0 ;
15313 bool arg3
= (bool) False
;
15315 bool temp2
= False
;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 PyObject
* obj2
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 arg2
= wxString_in_helper(obj1
);
15328 if (arg2
== NULL
) SWIG_fail
;
15332 arg3
= (bool) SWIG_AsBool(obj2
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15359 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15362 wxString
*arg2
= 0 ;
15363 wxString
*arg3
= 0 ;
15365 bool temp2
= False
;
15366 bool temp3
= False
;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 PyObject
* obj2
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "key",(char *) "value", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 arg2
= wxString_in_helper(obj1
);
15379 if (arg2
== NULL
) SWIG_fail
;
15383 arg3
= wxString_in_helper(obj2
);
15384 if (arg3
== NULL
) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15419 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15422 wxString
*arg2
= 0 ;
15425 bool temp2
= False
;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 PyObject
* obj2
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "key",(char *) "value", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15437 arg2
= wxString_in_helper(obj1
);
15438 if (arg2
== NULL
) SWIG_fail
;
15441 arg3
= (long) SWIG_AsLong(obj2
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15470 wxString
*arg2
= 0 ;
15473 bool temp2
= False
;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 PyObject
* obj2
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "key",(char *) "value", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 arg2
= wxString_in_helper(obj1
);
15486 if (arg2
== NULL
) SWIG_fail
;
15489 arg3
= (double) SWIG_AsDouble(obj2
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15518 wxString
*arg2
= 0 ;
15521 bool temp2
= False
;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 PyObject
* obj2
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self",(char *) "key",(char *) "value", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15533 arg2
= wxString_in_helper(obj1
);
15534 if (arg2
== NULL
) SWIG_fail
;
15537 arg3
= (bool) SWIG_AsBool(obj2
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15563 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15566 bool arg2
= (bool) False
;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self",(char *) "currentOnly", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15578 arg2
= (bool) SWIG_AsBool(obj1
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)(arg1
)->Flush(arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15597 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15600 wxString
*arg2
= 0 ;
15601 wxString
*arg3
= 0 ;
15603 bool temp2
= False
;
15604 bool temp3
= False
;
15605 PyObject
* obj0
= 0 ;
15606 PyObject
* obj1
= 0 ;
15607 PyObject
* obj2
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15616 arg2
= wxString_in_helper(obj1
);
15617 if (arg2
== NULL
) SWIG_fail
;
15621 arg3
= wxString_in_helper(obj2
);
15622 if (arg3
== NULL
) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15657 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15660 wxString
*arg2
= 0 ;
15661 wxString
*arg3
= 0 ;
15663 bool temp2
= False
;
15664 bool temp3
= False
;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 PyObject
* obj2
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 arg2
= wxString_in_helper(obj1
);
15677 if (arg2
== NULL
) SWIG_fail
;
15681 arg3
= wxString_in_helper(obj2
);
15682 if (arg3
== NULL
) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15717 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15720 wxString
*arg2
= 0 ;
15721 bool arg3
= (bool) True
;
15723 bool temp2
= False
;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 PyObject
* obj2
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 arg2
= wxString_in_helper(obj1
);
15736 if (arg2
== NULL
) SWIG_fail
;
15740 arg3
= (bool) SWIG_AsBool(obj2
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15770 wxString
*arg2
= 0 ;
15772 bool temp2
= False
;
15773 PyObject
* obj0
= 0 ;
15774 PyObject
* obj1
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self",(char *) "key", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 arg2
= wxString_in_helper(obj1
);
15784 if (arg2
== NULL
) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15811 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (bool)(arg1
)->DeleteAll();
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15842 bool arg2
= (bool) True
;
15843 PyObject
* obj0
= 0 ;
15844 PyObject
* obj1
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self",(char *) "doIt", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 arg2
= (bool) SWIG_AsBool(obj1
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->SetExpandEnvVars(arg2
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15898 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15901 bool arg2
= (bool) True
;
15902 PyObject
* obj0
= 0 ;
15903 PyObject
* obj1
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "doIt", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 arg2
= (bool) SWIG_AsBool(obj1
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 (arg1
)->SetRecordDefaults(arg2
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15957 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15960 wxString
*arg2
= 0 ;
15962 bool temp2
= False
;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "str", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 arg2
= wxString_in_helper(obj1
);
15974 if (arg2
== NULL
) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16005 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16037 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16069 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16072 wxString
*arg2
= 0 ;
16073 bool temp2
= False
;
16074 PyObject
* obj0
= 0 ;
16075 PyObject
* obj1
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self",(char *) "appName", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 arg2
= wxString_in_helper(obj1
);
16085 if (arg2
== NULL
) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 (arg1
)->SetAppName((wxString
const &)*arg2
);
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 Py_INCREF(Py_None
); resultobj
= Py_None
;
16110 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16113 wxString
*arg2
= 0 ;
16114 bool temp2
= False
;
16115 PyObject
* obj0
= 0 ;
16116 PyObject
* obj1
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self",(char *) "vendorName", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 arg2
= wxString_in_helper(obj1
);
16126 if (arg2
== NULL
) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 Py_INCREF(Py_None
); resultobj
= Py_None
;
16151 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self",(char *) "style", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16164 arg2
= (long) SWIG_AsLong(obj1
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 (arg1
)->SetStyle(arg2
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 Py_INCREF(Py_None
); resultobj
= Py_None
;
16180 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= SWIG_FromLong((long)result
);
16206 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16209 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16211 return Py_BuildValue((char *)"");
16213 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16216 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16217 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16218 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16219 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16220 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16221 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16222 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16223 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16225 bool temp1
= False
;
16226 bool temp2
= False
;
16227 bool temp3
= False
;
16228 bool temp4
= False
;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 PyObject
* obj2
= 0 ;
16232 PyObject
* obj3
= 0 ;
16233 PyObject
* obj4
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16241 arg1
= wxString_in_helper(obj0
);
16242 if (arg1
== NULL
) SWIG_fail
;
16248 arg2
= wxString_in_helper(obj1
);
16249 if (arg2
== NULL
) SWIG_fail
;
16255 arg3
= wxString_in_helper(obj2
);
16256 if (arg3
== NULL
) SWIG_fail
;
16262 arg4
= wxString_in_helper(obj3
);
16263 if (arg4
== NULL
) SWIG_fail
;
16268 arg5
= (long) SWIG_AsLong(obj4
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16317 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxConfig
*arg1
= (wxConfig
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 Py_INCREF(Py_None
); resultobj
= Py_None
;
16342 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16345 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16347 return Py_BuildValue((char *)"");
16349 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16352 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16353 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16354 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16357 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16358 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16359 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16360 wxFileConfig
*result
;
16361 bool temp1
= False
;
16362 bool temp2
= False
;
16363 bool temp3
= False
;
16364 bool temp4
= False
;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 PyObject
* obj2
= 0 ;
16368 PyObject
* obj3
= 0 ;
16369 PyObject
* obj4
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16377 arg1
= wxString_in_helper(obj0
);
16378 if (arg1
== NULL
) SWIG_fail
;
16384 arg2
= wxString_in_helper(obj1
);
16385 if (arg2
== NULL
) SWIG_fail
;
16391 arg3
= wxString_in_helper(obj2
);
16392 if (arg3
== NULL
) SWIG_fail
;
16398 arg4
= wxString_in_helper(obj3
);
16399 if (arg4
== NULL
) SWIG_fail
;
16404 arg5
= (long) SWIG_AsLong(obj4
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16453 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 Py_INCREF(Py_None
); resultobj
= Py_None
;
16478 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16481 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16483 return Py_BuildValue((char *)"");
16485 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16488 wxString
*arg2
= 0 ;
16489 wxConfigPathChanger
*result
;
16490 bool temp2
= False
;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "config",(char *) "entry", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 arg2
= wxString_in_helper(obj1
);
16502 if (arg2
== NULL
) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16527 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16568 result
= (wxString
*) &_result_ref
;
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16578 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16587 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16590 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16592 return Py_BuildValue((char *)"");
16594 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxString
*arg1
= 0 ;
16598 bool temp1
= False
;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "sz", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16606 arg1
= wxString_in_helper(obj0
);
16607 if (arg1
== NULL
) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16638 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16639 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16644 static PyObject
*_wrap_DateFormatStr_get() {
16649 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16651 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16658 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16659 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16664 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16669 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16671 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16678 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16681 PyObject
* obj0
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "country", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16687 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 Py_INCREF(Py_None
); resultobj
= Py_None
;
16703 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16706 char *kwnames
[] = {
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (int)wxDateTime::GetCountry();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_FromInt((int)result
);
16725 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 int arg1
= (int) wxDateTime::Country_Default
;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "country", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16736 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 int arg1
= (int) wxDateTime::Gregorian
;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "cal", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16766 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_FromInt((int)result
);
16783 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "year", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16793 arg1
= (int) SWIG_AsInt(obj0
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_FromInt((int)result
);
16809 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 int arg1
= (int) wxDateTime::Gregorian
;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "cal", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16820 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_FromInt((int)result
);
16837 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 int arg1
= (int) wxDateTime::Inv_Year
;
16840 int arg2
= (int) wxDateTime::Gregorian
;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "year",(char *) "cal", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16850 arg1
= (int) SWIG_AsInt(obj0
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 int arg1
= (int) wxDateTime::Inv_Year
;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "year", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16884 arg1
= (int) SWIG_AsInt(obj0
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (int)wxDateTime::GetCentury(arg1
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_FromInt((int)result
);
16901 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16904 int arg2
= (int) wxDateTime::Gregorian
;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "year",(char *) "cal", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16913 arg1
= (int) SWIG_AsInt(obj0
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_FromInt((int)result
);
16933 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16936 int arg2
= (int) wxDateTime::Inv_Year
;
16937 int arg3
= (int) wxDateTime::Gregorian
;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 PyObject
* obj2
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "month",(char *) "year",(char *) "cal", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16947 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 arg2
= (int) SWIG_AsInt(obj1
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_FromInt((int)result
);
16971 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16974 int arg2
= (int) wxDateTime::Name_Full
;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "month",(char *) "flags", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17009 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17012 int arg2
= (int) wxDateTime::Name_Full
;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "weekday",(char *) "flags", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17021 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17047 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxString
*arg1
= (wxString
*) 0 ;
17050 wxString
*arg2
= (wxString
*) 0 ;
17051 bool temp1
= False
;
17052 bool temp2
= False
;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17061 arg1
= wxString_in_helper(obj0
);
17062 if (arg1
== NULL
) SWIG_fail
;
17066 arg2
= wxString_in_helper(obj1
);
17067 if (arg2
== NULL
) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17100 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 int arg1
= (int) wxDateTime::Inv_Year
;
17103 int arg2
= (int) wxDateTime::Country_Default
;
17105 PyObject
* obj0
= 0 ;
17106 PyObject
* obj1
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "year",(char *) "country", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17113 arg1
= (int) SWIG_AsInt(obj0
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 int arg1
= (int) wxDateTime::Inv_Year
;
17139 int arg2
= (int) wxDateTime::Country_Default
;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "year",(char *) "country", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17149 arg1
= (int) SWIG_AsInt(obj0
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 wxDateTime
* resultptr
;
17165 resultptr
= new wxDateTime((wxDateTime
&) result
);
17166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17174 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 int arg1
= (int) wxDateTime::Inv_Year
;
17177 int arg2
= (int) wxDateTime::Country_Default
;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "year",(char *) "country", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17187 arg1
= (int) SWIG_AsInt(obj0
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 wxDateTime
* resultptr
;
17203 resultptr
= new wxDateTime((wxDateTime
&) result
);
17204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17212 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17215 char *kwnames
[] = {
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= wxDateTime::Now();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 wxDateTime
* resultptr
;
17229 resultptr
= new wxDateTime((wxDateTime
&) result
);
17230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17238 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17241 char *kwnames
[] = {
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= wxDateTime::UNow();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 wxDateTime
* resultptr
;
17255 resultptr
= new wxDateTime((wxDateTime
&) result
);
17256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17264 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17267 char *kwnames
[] = {
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= wxDateTime::Today();
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 wxDateTime
* resultptr
;
17281 resultptr
= new wxDateTime((wxDateTime
&) result
);
17282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17290 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxDateTime
*result
;
17293 char *kwnames
[] = {
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxDateTime
*)new wxDateTime();
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17312 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17315 wxDateTime
*result
;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "timet", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17322 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (wxDateTime
*)new wxDateTime(arg1
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17338 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17341 wxDateTime
*result
;
17342 PyObject
* obj0
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "jdn", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17348 arg1
= (double) SWIG_AsDouble(obj0
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (wxDateTime
*)new wxDateTime(arg1
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17364 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17367 int arg2
= (int) 0 ;
17368 int arg3
= (int) 0 ;
17369 int arg4
= (int) 0 ;
17370 wxDateTime
*result
;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 PyObject
* obj3
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17380 arg1
= (int) SWIG_AsInt(obj0
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 arg2
= (int) SWIG_AsInt(obj1
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 arg3
= (int) SWIG_AsInt(obj2
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 arg4
= (int) SWIG_AsInt(obj3
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17408 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17411 int arg2
= (int) wxDateTime::Inv_Month
;
17412 int arg3
= (int) wxDateTime::Inv_Year
;
17413 int arg4
= (int) 0 ;
17414 int arg5
= (int) 0 ;
17415 int arg6
= (int) 0 ;
17416 int arg7
= (int) 0 ;
17417 wxDateTime
*result
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 PyObject
* obj3
= 0 ;
17422 PyObject
* obj4
= 0 ;
17423 PyObject
* obj5
= 0 ;
17424 PyObject
* obj6
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17430 arg1
= (int) SWIG_AsInt(obj0
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 arg3
= (int) SWIG_AsInt(obj2
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 arg4
= (int) SWIG_AsInt(obj3
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 arg5
= (int) SWIG_AsInt(obj4
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 arg6
= (int) SWIG_AsInt(obj5
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 arg7
= (int) SWIG_AsInt(obj6
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17470 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17498 wxDateTime
*result
;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17511 result
= (wxDateTime
*) &_result_ref
;
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17524 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17528 wxDateTime
*result
;
17529 PyObject
* obj0
= 0 ;
17530 PyObject
* obj1
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self",(char *) "timet", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17538 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17544 result
= (wxDateTime
*) &_result_ref
;
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17557 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17561 wxDateTime
*result
;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self",(char *) "jdn", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17571 arg2
= (double) SWIG_AsDouble(obj1
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17577 result
= (wxDateTime
*) &_result_ref
;
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17590 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17594 int arg3
= (int) 0 ;
17595 int arg4
= (int) 0 ;
17596 int arg5
= (int) 0 ;
17597 wxDateTime
*result
;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 PyObject
* obj3
= 0 ;
17602 PyObject
* obj4
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 arg2
= (int) SWIG_AsInt(obj1
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 arg3
= (int) SWIG_AsInt(obj2
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 arg4
= (int) SWIG_AsInt(obj3
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 arg5
= (int) SWIG_AsInt(obj4
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17628 result
= (wxDateTime
*) &_result_ref
;
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17641 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17645 int arg3
= (int) wxDateTime::Inv_Month
;
17646 int arg4
= (int) wxDateTime::Inv_Year
;
17647 int arg5
= (int) 0 ;
17648 int arg6
= (int) 0 ;
17649 int arg7
= (int) 0 ;
17650 int arg8
= (int) 0 ;
17651 wxDateTime
*result
;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 PyObject
* obj2
= 0 ;
17655 PyObject
* obj3
= 0 ;
17656 PyObject
* obj4
= 0 ;
17657 PyObject
* obj5
= 0 ;
17658 PyObject
* obj6
= 0 ;
17659 PyObject
* obj7
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17667 arg2
= (int) SWIG_AsInt(obj1
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 arg4
= (int) SWIG_AsInt(obj3
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 arg5
= (int) SWIG_AsInt(obj4
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 arg6
= (int) SWIG_AsInt(obj5
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 arg7
= (int) SWIG_AsInt(obj6
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17690 arg8
= (int) SWIG_AsInt(obj7
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17697 result
= (wxDateTime
*) &_result_ref
;
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17710 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17713 wxDateTime
*result
;
17714 PyObject
* obj0
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17726 result
= (wxDateTime
*) &_result_ref
;
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17739 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17743 wxDateTime
*result
;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "year", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17753 arg2
= (int) SWIG_AsInt(obj1
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17759 result
= (wxDateTime
*) &_result_ref
;
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17772 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17776 wxDateTime
*result
;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "month", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17786 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17792 result
= (wxDateTime
*) &_result_ref
;
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17805 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17809 wxDateTime
*result
;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "day", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 arg2
= (int) SWIG_AsInt(obj1
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17825 result
= (wxDateTime
*) &_result_ref
;
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17838 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17842 wxDateTime
*result
;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "hour", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 arg2
= (int) SWIG_AsInt(obj1
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17858 result
= (wxDateTime
*) &_result_ref
;
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17871 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17875 wxDateTime
*result
;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "minute", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 arg2
= (int) SWIG_AsInt(obj1
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17891 result
= (wxDateTime
*) &_result_ref
;
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17904 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17908 wxDateTime
*result
;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "second", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 arg2
= (int) SWIG_AsInt(obj1
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17924 result
= (wxDateTime
*) &_result_ref
;
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17937 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17941 wxDateTime
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "millisecond", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 arg2
= (int) SWIG_AsInt(obj1
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17957 result
= (wxDateTime
*) &_result_ref
;
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17970 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17974 int arg3
= (int) wxDateTime::Monday_First
;
17975 wxDateTime
*result
;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 PyObject
* obj2
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17996 result
= (wxDateTime
*) &_result_ref
;
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18009 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18013 int arg3
= (int) wxDateTime::Monday_First
;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 PyObject
* obj2
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 wxDateTime
* resultptr
;
18040 resultptr
= new wxDateTime((wxDateTime
&) result
);
18041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18049 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18053 wxDateTime
*result
;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "weekday", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18069 result
= (wxDateTime
*) &_result_ref
;
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18082 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "weekday", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 wxDateTime
* resultptr
;
18107 resultptr
= new wxDateTime((wxDateTime
&) result
);
18108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18116 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18120 wxDateTime
*result
;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self",(char *) "weekday", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18136 result
= (wxDateTime
*) &_result_ref
;
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18149 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self",(char *) "weekday", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18173 wxDateTime
* resultptr
;
18174 resultptr
= new wxDateTime((wxDateTime
&) result
);
18175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18183 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18187 int arg3
= (int) 1 ;
18188 int arg4
= (int) wxDateTime::Inv_Month
;
18189 int arg5
= (int) wxDateTime::Inv_Year
;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 PyObject
* obj3
= 0 ;
18195 PyObject
* obj4
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 arg3
= (int) SWIG_AsInt(obj2
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 arg5
= (int) SWIG_AsInt(obj4
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18233 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18237 int arg3
= (int) wxDateTime::Inv_Month
;
18238 int arg4
= (int) wxDateTime::Inv_Year
;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 PyObject
* obj2
= 0 ;
18243 PyObject
* obj3
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 arg4
= (int) SWIG_AsInt(obj3
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18277 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18281 int arg3
= (int) wxDateTime::Inv_Month
;
18282 int arg4
= (int) wxDateTime::Inv_Year
;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 PyObject
* obj3
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 arg4
= (int) SWIG_AsInt(obj3
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 wxDateTime
* resultptr
;
18314 resultptr
= new wxDateTime((wxDateTime
&) result
);
18315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18323 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18327 int arg3
= (int) wxDateTime::Mon
;
18328 int arg4
= (int) wxDateTime::Monday_First
;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 PyObject
* obj2
= 0 ;
18333 PyObject
* obj3
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 arg2
= (int) SWIG_AsInt(obj1
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18367 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18371 int arg3
= (int) wxDateTime::Mon
;
18372 int arg4
= (int) wxDateTime::Monday_First
;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 PyObject
* obj2
= 0 ;
18377 PyObject
* obj3
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 arg2
= (int) SWIG_AsInt(obj1
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18392 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 wxDateTime
* resultptr
;
18404 resultptr
= new wxDateTime((wxDateTime
&) result
);
18405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18413 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18416 int arg2
= (int) wxDateTime::Inv_Month
;
18417 int arg3
= (int) wxDateTime::Inv_Year
;
18418 wxDateTime
*result
;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 PyObject
* obj2
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "month",(char *) "year", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18430 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 arg3
= (int) SWIG_AsInt(obj2
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18441 result
= (wxDateTime
*) &_result_ref
;
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18454 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18457 int arg2
= (int) wxDateTime::Inv_Month
;
18458 int arg3
= (int) wxDateTime::Inv_Year
;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 PyObject
* obj2
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "month",(char *) "year", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 arg3
= (int) SWIG_AsInt(obj2
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18486 wxDateTime
* resultptr
;
18487 resultptr
= new wxDateTime((wxDateTime
&) result
);
18488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18496 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18500 wxDateTime
*result
;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "yday", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 arg2
= (int) SWIG_AsInt(obj1
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18516 result
= (wxDateTime
*) &_result_ref
;
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18529 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "yday", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 arg2
= (int) SWIG_AsInt(obj1
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= (arg1
)->GetYearDay(arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18553 wxDateTime
* resultptr
;
18554 resultptr
= new wxDateTime((wxDateTime
&) result
);
18555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18563 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (double)(arg1
)->GetJulianDayNumber();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_FromDouble((double)result
);
18589 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "self", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (double)(arg1
)->GetJDN();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_FromDouble((double)result
);
18615 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_FromDouble((double)result
);
18641 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (double)(arg1
)->GetMJD();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_FromDouble((double)result
);
18667 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 char *kwnames
[] = {
18673 (char *) "self", NULL
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (double)(arg1
)->GetRataDie();
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_FromDouble((double)result
);
18693 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18696 wxDateTime::TimeZone
*arg2
= 0 ;
18697 bool arg3
= (bool) False
;
18699 bool temp2
= False
;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 PyObject
* obj2
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18711 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18715 arg3
= (bool) SWIG_AsBool(obj2
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 wxDateTime
* resultptr
;
18727 resultptr
= new wxDateTime((wxDateTime
&) result
);
18728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18731 if (temp2
) delete arg2
;
18736 if (temp2
) delete arg2
;
18742 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18745 wxDateTime::TimeZone
*arg2
= 0 ;
18746 bool arg3
= (bool) False
;
18747 wxDateTime
*result
;
18748 bool temp2
= False
;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 PyObject
* obj2
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18760 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18764 arg3
= (bool) SWIG_AsBool(obj2
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18771 result
= (wxDateTime
*) &_result_ref
;
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18779 if (temp2
) delete arg2
;
18784 if (temp2
) delete arg2
;
18790 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18793 bool arg2
= (bool) False
;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self",(char *) "noDST", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 arg2
= (bool) SWIG_AsBool(obj1
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (arg1
)->ToGMT(arg2
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 wxDateTime
* resultptr
;
18817 resultptr
= new wxDateTime((wxDateTime
&) result
);
18818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18826 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18829 bool arg2
= (bool) False
;
18830 wxDateTime
*result
;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self",(char *) "noDST", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18841 arg2
= (bool) SWIG_AsBool(obj1
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18848 result
= (wxDateTime
*) &_result_ref
;
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18861 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18864 int arg2
= (int) wxDateTime::Country_Default
;
18866 PyObject
* obj0
= 0 ;
18867 PyObject
* obj1
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self",(char *) "country", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_FromInt((int)result
);
18893 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18921 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18947 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18950 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18951 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18953 bool temp2
= False
;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "tz", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= SWIG_FromInt((int)result
);
18978 if (temp2
) delete arg2
;
18983 if (temp2
) delete arg2
;
18989 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18992 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18993 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18995 bool temp2
= False
;
18996 PyObject
* obj0
= 0 ;
18997 PyObject
* obj1
= 0 ;
18998 char *kwnames
[] = {
18999 (char *) "self",(char *) "tz", NULL
19002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19007 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= SWIG_FromInt((int)result
);
19020 if (temp2
) delete arg2
;
19025 if (temp2
) delete arg2
;
19031 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19034 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19035 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19037 bool temp2
= False
;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self",(char *) "tz", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19049 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_FromInt((int)result
);
19062 if (temp2
) delete arg2
;
19067 if (temp2
) delete arg2
;
19073 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19076 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19077 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19079 bool temp2
= False
;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "tz", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_FromInt((int)result
);
19104 if (temp2
) delete arg2
;
19109 if (temp2
) delete arg2
;
19115 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19118 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19119 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19121 bool temp2
= False
;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self",(char *) "tz", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19133 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_FromInt((int)result
);
19146 if (temp2
) delete arg2
;
19151 if (temp2
) delete arg2
;
19157 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19160 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19161 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19163 bool temp2
= False
;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "tz", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_FromInt((int)result
);
19188 if (temp2
) delete arg2
;
19193 if (temp2
) delete arg2
;
19199 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19202 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19203 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19205 bool temp2
= False
;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self",(char *) "tz", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19217 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_FromInt((int)result
);
19230 if (temp2
) delete arg2
;
19235 if (temp2
) delete arg2
;
19241 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19244 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19245 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19247 bool temp2
= False
;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "tz", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= SWIG_FromInt((int)result
);
19272 if (temp2
) delete arg2
;
19277 if (temp2
) delete arg2
;
19283 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19286 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19287 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19289 bool temp2
= False
;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "tz", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= SWIG_FromInt((int)result
);
19314 if (temp2
) delete arg2
;
19319 if (temp2
) delete arg2
;
19325 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
;
19327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19328 int arg2
= (int) wxDateTime::Monday_First
;
19329 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19330 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19332 bool temp3
= False
;
19333 PyObject
* obj0
= 0 ;
19334 PyObject
* obj1
= 0 ;
19335 PyObject
* obj2
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self",(char *) "flags",(char *) "tz", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19344 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19349 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= SWIG_FromInt((int)result
);
19362 if (temp3
) delete arg3
;
19367 if (temp3
) delete arg3
;
19373 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19376 int arg2
= (int) wxDateTime::Monday_First
;
19377 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19378 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19380 bool temp3
= False
;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "flags",(char *) "tz", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19397 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_FromInt((int)result
);
19410 if (temp3
) delete arg3
;
19415 if (temp3
) delete arg3
;
19421 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19424 int arg2
= (int) wxDateTime::Country_Default
;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self",(char *) "country", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19455 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19458 wxDateTime
*arg2
= 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "datetime", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19472 if (arg2
== NULL
) {
19473 PyErr_SetString(PyExc_TypeError
,"null reference");
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19492 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19495 wxDateTime
*arg2
= 0 ;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self",(char *) "datetime", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19509 if (arg2
== NULL
) {
19510 PyErr_SetString(PyExc_TypeError
,"null reference");
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19532 wxDateTime
*arg2
= 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "datetime", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19546 if (arg2
== NULL
) {
19547 PyErr_SetString(PyExc_TypeError
,"null reference");
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19566 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19569 wxDateTime
*arg2
= 0 ;
19570 wxDateTime
*arg3
= 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "t1",(char *) "t2", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19585 if (arg2
== NULL
) {
19586 PyErr_SetString(PyExc_TypeError
,"null reference");
19589 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19592 if (arg3
== NULL
) {
19593 PyErr_SetString(PyExc_TypeError
,"null reference");
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19612 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19615 wxDateTime
*arg2
= 0 ;
19616 wxDateTime
*arg3
= 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 PyObject
* obj2
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self",(char *) "t1",(char *) "t2", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19631 if (arg2
== NULL
) {
19632 PyErr_SetString(PyExc_TypeError
,"null reference");
19635 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19638 if (arg3
== NULL
) {
19639 PyErr_SetString(PyExc_TypeError
,"null reference");
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19658 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19661 wxDateTime
*arg2
= 0 ;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self",(char *) "dt", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19675 if (arg2
== NULL
) {
19676 PyErr_SetString(PyExc_TypeError
,"null reference");
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19695 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19698 wxDateTime
*arg2
= 0 ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self",(char *) "dt", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19712 if (arg2
== NULL
) {
19713 PyErr_SetString(PyExc_TypeError
,"null reference");
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19732 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19735 wxDateTime
*arg2
= 0 ;
19736 wxTimeSpan
*arg3
= 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 PyObject
* obj2
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "dt",(char *) "ts", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19751 if (arg2
== NULL
) {
19752 PyErr_SetString(PyExc_TypeError
,"null reference");
19755 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19758 if (arg3
== NULL
) {
19759 PyErr_SetString(PyExc_TypeError
,"null reference");
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19778 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19781 wxTimeSpan
*arg2
= 0 ;
19782 wxDateTime
*result
;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "diff", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19795 if (arg2
== NULL
) {
19796 PyErr_SetString(PyExc_TypeError
,"null reference");
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19803 result
= (wxDateTime
*) &_result_ref
;
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19816 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19819 wxDateSpan
*arg2
= 0 ;
19820 wxDateTime
*result
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self",(char *) "diff", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19833 if (arg2
== NULL
) {
19834 PyErr_SetString(PyExc_TypeError
,"null reference");
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19841 result
= (wxDateTime
*) &_result_ref
;
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19854 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19857 wxTimeSpan
*arg2
= 0 ;
19858 wxDateTime
*result
;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "diff", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19871 if (arg2
== NULL
) {
19872 PyErr_SetString(PyExc_TypeError
,"null reference");
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19879 result
= (wxDateTime
*) &_result_ref
;
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19892 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19895 wxDateSpan
*arg2
= 0 ;
19896 wxDateTime
*result
;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "diff", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19909 if (arg2
== NULL
) {
19910 PyErr_SetString(PyExc_TypeError
,"null reference");
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19917 result
= (wxDateTime
*) &_result_ref
;
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19930 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19933 wxDateTime
*arg2
= 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "dt", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19947 if (arg2
== NULL
) {
19948 PyErr_SetString(PyExc_TypeError
,"null reference");
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 wxTimeSpan
* resultptr
;
19960 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19969 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19970 PyObject
*resultobj
;
19971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19972 wxTimeSpan
*arg2
= 0 ;
19973 wxDateTime
*result
;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19977 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19983 if (arg2
== NULL
) {
19984 PyErr_SetString(PyExc_TypeError
,"null reference");
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19991 result
= (wxDateTime
*) &_result_ref
;
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20004 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20005 PyObject
*resultobj
;
20006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20007 wxDateSpan
*arg2
= 0 ;
20008 wxDateTime
*result
;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20012 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20018 if (arg2
== NULL
) {
20019 PyErr_SetString(PyExc_TypeError
,"null reference");
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20026 result
= (wxDateTime
*) &_result_ref
;
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20039 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20044 argc
= PyObject_Length(args
);
20045 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20046 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20052 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20062 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20070 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20078 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20088 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20096 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20101 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20106 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20107 PyObject
*resultobj
;
20108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20109 wxTimeSpan
*arg2
= 0 ;
20110 wxDateTime
*result
;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20114 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20120 if (arg2
== NULL
) {
20121 PyErr_SetString(PyExc_TypeError
,"null reference");
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20128 result
= (wxDateTime
*) &_result_ref
;
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20141 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20142 PyObject
*resultobj
;
20143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20144 wxDateSpan
*arg2
= 0 ;
20145 wxDateTime
*result
;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20149 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20155 if (arg2
== NULL
) {
20156 PyErr_SetString(PyExc_TypeError
,"null reference");
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20163 result
= (wxDateTime
*) &_result_ref
;
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20176 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20181 argc
= PyObject_Length(args
);
20182 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20183 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20199 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20207 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20215 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20225 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20233 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20238 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20243 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20244 PyObject
*resultobj
;
20245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20246 wxTimeSpan
*arg2
= 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20251 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20257 if (arg2
== NULL
) {
20258 PyErr_SetString(PyExc_TypeError
,"null reference");
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 wxDateTime
* resultptr
;
20270 resultptr
= new wxDateTime((wxDateTime
&) result
);
20271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20279 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20280 PyObject
*resultobj
;
20281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20282 wxDateSpan
*arg2
= 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20287 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20293 if (arg2
== NULL
) {
20294 PyErr_SetString(PyExc_TypeError
,"null reference");
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20305 wxDateTime
* resultptr
;
20306 resultptr
= new wxDateTime((wxDateTime
&) result
);
20307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20315 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20320 argc
= PyObject_Length(args
);
20321 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20322 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20328 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20338 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20346 return _wrap_DateTime___add____SWIG_0(self
,args
);
20354 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20364 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20372 return _wrap_DateTime___add____SWIG_1(self
,args
);
20377 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20382 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20383 PyObject
*resultobj
;
20384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20385 wxDateTime
*arg2
= 0 ;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20390 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20396 if (arg2
== NULL
) {
20397 PyErr_SetString(PyExc_TypeError
,"null reference");
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20408 wxTimeSpan
* resultptr
;
20409 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20418 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20419 PyObject
*resultobj
;
20420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20421 wxTimeSpan
*arg2
= 0 ;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20426 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20432 if (arg2
== NULL
) {
20433 PyErr_SetString(PyExc_TypeError
,"null reference");
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20444 wxDateTime
* resultptr
;
20445 resultptr
= new wxDateTime((wxDateTime
&) result
);
20446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20454 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20455 PyObject
*resultobj
;
20456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20457 wxDateSpan
*arg2
= 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20462 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20468 if (arg2
== NULL
) {
20469 PyErr_SetString(PyExc_TypeError
,"null reference");
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 wxDateTime
* resultptr
;
20481 resultptr
= new wxDateTime((wxDateTime
&) result
);
20482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20490 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20495 argc
= PyObject_Length(args
);
20496 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20497 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20503 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20513 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20521 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20529 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20539 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20547 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20555 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20565 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20573 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20578 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20583 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20584 PyObject
*resultobj
;
20585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20586 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20591 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20613 PyObject
*resultobj
;
20614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20615 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20620 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20642 PyObject
*resultobj
;
20643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20644 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20649 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20670 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20671 PyObject
*resultobj
;
20672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20673 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20678 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20699 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20700 PyObject
*resultobj
;
20701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20702 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20707 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20728 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20729 PyObject
*resultobj
;
20730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20731 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20736 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20757 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20760 wxString
*arg2
= 0 ;
20762 bool temp2
= False
;
20763 PyObject
* obj0
= 0 ;
20764 PyObject
* obj1
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "self",(char *) "date", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 arg2
= wxString_in_helper(obj1
);
20774 if (arg2
== NULL
) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= SWIG_FromInt((int)result
);
20799 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20802 wxString
*arg2
= 0 ;
20803 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20805 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20806 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20808 bool temp2
= False
;
20809 bool temp3
= False
;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20812 PyObject
* obj2
= 0 ;
20813 PyObject
* obj3
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20822 arg2
= wxString_in_helper(obj1
);
20823 if (arg2
== NULL
) SWIG_fail
;
20828 arg3
= wxString_in_helper(obj2
);
20829 if (arg3
== NULL
) SWIG_fail
;
20834 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20837 if (arg4
== NULL
) {
20838 PyErr_SetString(PyExc_TypeError
,"null reference");
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_FromInt((int)result
);
20872 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20875 wxString
*arg2
= 0 ;
20877 bool temp2
= False
;
20878 PyObject
* obj0
= 0 ;
20879 PyObject
* obj1
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self",(char *) "datetime", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 arg2
= wxString_in_helper(obj1
);
20889 if (arg2
== NULL
) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_FromInt((int)result
);
20914 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20917 wxString
*arg2
= 0 ;
20919 bool temp2
= False
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "date", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20930 arg2
= wxString_in_helper(obj1
);
20931 if (arg2
== NULL
) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_FromInt((int)result
);
20956 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20959 wxString
*arg2
= 0 ;
20961 bool temp2
= False
;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self",(char *) "time", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20972 arg2
= wxString_in_helper(obj1
);
20973 if (arg2
== NULL
) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_FromInt((int)result
);
20998 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21001 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21002 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21003 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21004 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21006 bool temp2
= False
;
21007 bool temp3
= False
;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 PyObject
* obj2
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "format",(char *) "tz", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 arg2
= wxString_in_helper(obj1
);
21021 if (arg2
== NULL
) SWIG_fail
;
21027 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21050 if (temp3
) delete arg3
;
21059 if (temp3
) delete arg3
;
21065 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21097 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21129 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21161 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21193 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21196 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21198 return Py_BuildValue((char *)"");
21200 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21204 PyObject
* obj0
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "sec", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21210 arg1
= (long) SWIG_AsLong(obj0
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= wxTimeSpan::Seconds(arg1
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21220 wxTimeSpan
* resultptr
;
21221 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21230 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21233 char *kwnames
[] = {
21237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= wxTimeSpan::Second();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 wxTimeSpan
* resultptr
;
21247 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21256 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "min", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21266 arg1
= (long) SWIG_AsLong(obj0
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= wxTimeSpan::Minutes(arg1
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 wxTimeSpan
* resultptr
;
21277 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21286 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21289 char *kwnames
[] = {
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= wxTimeSpan::Minute();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 wxTimeSpan
* resultptr
;
21303 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21312 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "hours", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21322 arg1
= (long) SWIG_AsLong(obj0
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= wxTimeSpan::Hours(arg1
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21332 wxTimeSpan
* resultptr
;
21333 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21342 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21345 char *kwnames
[] = {
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= wxTimeSpan::Hour();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 wxTimeSpan
* resultptr
;
21359 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21368 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "days", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21378 arg1
= (long) SWIG_AsLong(obj0
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= wxTimeSpan::Days(arg1
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 wxTimeSpan
* resultptr
;
21389 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21398 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21401 char *kwnames
[] = {
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= wxTimeSpan::Day();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 wxTimeSpan
* resultptr
;
21415 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21424 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "days", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21434 arg1
= (long) SWIG_AsLong(obj0
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= wxTimeSpan::Weeks(arg1
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21444 wxTimeSpan
* resultptr
;
21445 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21454 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21457 char *kwnames
[] = {
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= wxTimeSpan::Week();
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 wxTimeSpan
* resultptr
;
21471 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21480 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 long arg1
= (long) 0 ;
21483 long arg2
= (long) 0 ;
21484 long arg3
= (long) 0 ;
21485 long arg4
= (long) 0 ;
21486 wxTimeSpan
*result
;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 PyObject
* obj2
= 0 ;
21490 PyObject
* obj3
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21497 arg1
= (long) SWIG_AsLong(obj0
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 arg2
= (long) SWIG_AsLong(obj1
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 arg3
= (long) SWIG_AsLong(obj2
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 arg4
= (long) SWIG_AsLong(obj3
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21526 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 Py_INCREF(Py_None
); resultobj
= Py_None
;
21551 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21554 wxTimeSpan
*arg2
= 0 ;
21555 wxTimeSpan
*result
;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "diff", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21568 if (arg2
== NULL
) {
21569 PyErr_SetString(PyExc_TypeError
,"null reference");
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21576 result
= (wxTimeSpan
*) &_result_ref
;
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21589 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21592 wxTimeSpan
*arg2
= 0 ;
21593 wxTimeSpan
*result
;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "diff", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21606 if (arg2
== NULL
) {
21607 PyErr_SetString(PyExc_TypeError
,"null reference");
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21614 result
= (wxTimeSpan
*) &_result_ref
;
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21627 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21631 wxTimeSpan
*result
;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "n", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 arg2
= (int) SWIG_AsInt(obj1
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21647 result
= (wxTimeSpan
*) &_result_ref
;
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21660 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21663 wxTimeSpan
*result
;
21664 PyObject
* obj0
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21676 result
= (wxTimeSpan
*) &_result_ref
;
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21689 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
;
21691 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 wxTimeSpan
* resultptr
;
21710 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21719 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21722 wxTimeSpan
*arg2
= 0 ;
21723 wxTimeSpan
*result
;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "diff", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21736 if (arg2
== NULL
) {
21737 PyErr_SetString(PyExc_TypeError
,"null reference");
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21744 result
= (wxTimeSpan
*) &_result_ref
;
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21757 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21760 wxTimeSpan
*arg2
= 0 ;
21761 wxTimeSpan
*result
;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "diff", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21774 if (arg2
== NULL
) {
21775 PyErr_SetString(PyExc_TypeError
,"null reference");
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21782 result
= (wxTimeSpan
*) &_result_ref
;
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21795 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21799 wxTimeSpan
*result
;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "n", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 arg2
= (int) SWIG_AsInt(obj1
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21815 result
= (wxTimeSpan
*) &_result_ref
;
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21828 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21831 wxTimeSpan
*result
;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21844 result
= (wxTimeSpan
*) &_result_ref
;
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21857 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21860 wxTimeSpan
*arg2
= 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self",(char *) "other", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21874 if (arg2
== NULL
) {
21875 PyErr_SetString(PyExc_TypeError
,"null reference");
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 wxTimeSpan
* resultptr
;
21887 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21896 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21899 wxTimeSpan
*arg2
= 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "other", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21913 if (arg2
== NULL
) {
21914 PyErr_SetString(PyExc_TypeError
,"null reference");
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21925 wxTimeSpan
* resultptr
;
21926 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21935 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "n", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 arg2
= (int) SWIG_AsInt(obj1
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= wxTimeSpan___mul__(arg1
,arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 wxTimeSpan
* resultptr
;
21960 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21969 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self",(char *) "n", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 arg2
= (int) SWIG_AsInt(obj1
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21993 wxTimeSpan
* resultptr
;
21994 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22003 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22006 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22008 PyObject
* obj0
= 0 ;
22009 PyObject
* obj1
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "other", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22035 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22038 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "other", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22067 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22070 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "other", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22099 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22102 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "other", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22131 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22134 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self",(char *) "other", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22166 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self",(char *) "other", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22223 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22251 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22279 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22282 wxTimeSpan
*arg2
= 0 ;
22284 PyObject
* obj0
= 0 ;
22285 PyObject
* obj1
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self",(char *) "ts", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22296 if (arg2
== NULL
) {
22297 PyErr_SetString(PyExc_TypeError
,"null reference");
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22316 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22319 wxTimeSpan
*arg2
= 0 ;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self",(char *) "ts", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22333 if (arg2
== NULL
) {
22334 PyErr_SetString(PyExc_TypeError
,"null reference");
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22353 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
;
22355 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22356 wxTimeSpan
*arg2
= 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "t", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22370 if (arg2
== NULL
) {
22371 PyErr_SetString(PyExc_TypeError
,"null reference");
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22390 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_FromInt((int)result
);
22416 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22420 PyObject
* obj0
= 0 ;
22421 char *kwnames
[] = {
22422 (char *) "self", NULL
22425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_FromInt((int)result
);
22442 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= SWIG_FromInt((int)result
);
22468 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= SWIG_FromInt((int)result
);
22494 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22515 hi
= PyLong_FromLong( (&result
)->GetHi() );
22516 lo
= PyLong_FromLong( (&result
)->GetLo() );
22517 shifter
= PyLong_FromLong(32);
22518 shifted
= PyNumber_Lshift(hi
, shifter
);
22519 resultobj
= PyNumber_Or(shifted
, lo
);
22522 Py_DECREF(shifter
);
22523 Py_DECREF(shifted
);
22531 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22552 hi
= PyLong_FromLong( (&result
)->GetHi() );
22553 lo
= PyLong_FromLong( (&result
)->GetLo() );
22554 shifter
= PyLong_FromLong(32);
22555 shifted
= PyNumber_Lshift(hi
, shifter
);
22556 resultobj
= PyNumber_Or(shifted
, lo
);
22559 Py_DECREF(shifter
);
22560 Py_DECREF(shifted
);
22568 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22571 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22572 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22574 bool temp2
= False
;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "format", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 arg2
= wxString_in_helper(obj1
);
22587 if (arg2
== NULL
) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22619 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22622 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22624 return Py_BuildValue((char *)"");
22626 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 int arg1
= (int) 0 ;
22629 int arg2
= (int) 0 ;
22630 int arg3
= (int) 0 ;
22631 int arg4
= (int) 0 ;
22632 wxDateSpan
*result
;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 PyObject
* obj3
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22643 arg1
= (int) SWIG_AsInt(obj0
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 arg2
= (int) SWIG_AsInt(obj1
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22651 arg3
= (int) SWIG_AsInt(obj2
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 arg4
= (int) SWIG_AsInt(obj3
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22672 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22701 PyObject
* obj0
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "days", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22707 arg1
= (int) SWIG_AsInt(obj0
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= wxDateSpan::Days(arg1
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22717 wxDateSpan
* resultptr
;
22718 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22727 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22730 char *kwnames
[] = {
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= wxDateSpan::Day();
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 wxDateSpan
* resultptr
;
22744 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22753 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "weeks", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22763 arg1
= (int) SWIG_AsInt(obj0
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= wxDateSpan::Weeks(arg1
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 wxDateSpan
* resultptr
;
22774 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22783 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22786 char *kwnames
[] = {
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= wxDateSpan::Week();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 wxDateSpan
* resultptr
;
22800 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22809 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22813 PyObject
* obj0
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "mon", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22819 arg1
= (int) SWIG_AsInt(obj0
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 result
= wxDateSpan::Months(arg1
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22829 wxDateSpan
* resultptr
;
22830 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22839 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22842 char *kwnames
[] = {
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= wxDateSpan::Month();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22855 wxDateSpan
* resultptr
;
22856 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22865 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "years", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22875 arg1
= (int) SWIG_AsInt(obj0
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= wxDateSpan::Years(arg1
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 wxDateSpan
* resultptr
;
22886 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22895 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22898 char *kwnames
[] = {
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= wxDateSpan::Year();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22911 wxDateSpan
* resultptr
;
22912 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22921 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22925 wxDateSpan
*result
;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "n", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 arg2
= (int) SWIG_AsInt(obj1
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22941 result
= (wxDateSpan
*) &_result_ref
;
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22954 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22958 wxDateSpan
*result
;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self",(char *) "n", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 arg2
= (int) SWIG_AsInt(obj1
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22974 result
= (wxDateSpan
*) &_result_ref
;
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22987 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22991 wxDateSpan
*result
;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "n", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23001 arg2
= (int) SWIG_AsInt(obj1
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23007 result
= (wxDateSpan
*) &_result_ref
;
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23020 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23024 wxDateSpan
*result
;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "n", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 arg2
= (int) SWIG_AsInt(obj1
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23040 result
= (wxDateSpan
*) &_result_ref
;
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23053 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_FromInt((int)result
);
23079 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
;
23081 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_FromInt((int)result
);
23105 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23109 PyObject
* obj0
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_FromInt((int)result
);
23131 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_FromInt((int)result
);
23157 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_FromInt((int)result
);
23183 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23186 wxDateSpan
*arg2
= 0 ;
23187 wxDateSpan
*result
;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self",(char *) "other", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23200 if (arg2
== NULL
) {
23201 PyErr_SetString(PyExc_TypeError
,"null reference");
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23208 result
= (wxDateSpan
*) &_result_ref
;
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23221 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
;
23223 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23224 wxDateSpan
*arg2
= 0 ;
23225 wxDateSpan
*result
;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "other", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23238 if (arg2
== NULL
) {
23239 PyErr_SetString(PyExc_TypeError
,"null reference");
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23246 result
= (wxDateSpan
*) &_result_ref
;
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23259 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23262 wxDateSpan
*result
;
23263 PyObject
* obj0
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23275 result
= (wxDateSpan
*) &_result_ref
;
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23288 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23292 wxDateSpan
*result
;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self",(char *) "factor", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 arg2
= (int) SWIG_AsInt(obj1
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23308 result
= (wxDateSpan
*) &_result_ref
;
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23321 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23324 wxDateSpan
*arg2
= 0 ;
23325 wxDateSpan
*result
;
23326 PyObject
* obj0
= 0 ;
23327 PyObject
* obj1
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self",(char *) "other", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23338 if (arg2
== NULL
) {
23339 PyErr_SetString(PyExc_TypeError
,"null reference");
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23346 result
= (wxDateSpan
*) &_result_ref
;
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23359 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23362 wxDateSpan
*arg2
= 0 ;
23363 wxDateSpan
*result
;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "other", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23376 if (arg2
== NULL
) {
23377 PyErr_SetString(PyExc_TypeError
,"null reference");
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23384 result
= (wxDateSpan
*) &_result_ref
;
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23397 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23400 wxDateSpan
*result
;
23401 PyObject
* obj0
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23413 result
= (wxDateSpan
*) &_result_ref
;
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23426 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23430 wxDateSpan
*result
;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self",(char *) "factor", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 arg2
= (int) SWIG_AsInt(obj1
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23446 result
= (wxDateSpan
*) &_result_ref
;
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23459 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23462 wxDateSpan
*arg2
= 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "other", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23476 if (arg2
== NULL
) {
23477 PyErr_SetString(PyExc_TypeError
,"null reference");
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 wxDateSpan
* resultptr
;
23489 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23498 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23501 wxDateSpan
*arg2
= 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "other", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23515 if (arg2
== NULL
) {
23516 PyErr_SetString(PyExc_TypeError
,"null reference");
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 wxDateSpan
* resultptr
;
23528 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23537 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "n", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 arg2
= (int) SWIG_AsInt(obj1
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= wxDateSpan___mul__(arg1
,arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 wxDateSpan
* resultptr
;
23562 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23571 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self",(char *) "n", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 arg2
= (int) SWIG_AsInt(obj1
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= wxDateSpan___rmul__(arg1
,arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 wxDateSpan
* resultptr
;
23596 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23605 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23608 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self",(char *) "other", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23637 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23640 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self",(char *) "other", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23669 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23672 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23674 return Py_BuildValue((char *)"");
23676 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23679 char *kwnames
[] = {
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (long)wxGetLocalTime();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_FromLong((long)result
);
23698 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23701 char *kwnames
[] = {
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (long)wxGetUTCTime();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_FromLong((long)result
);
23720 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23723 char *kwnames
[] = {
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (long)wxGetCurrentTime();
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_FromLong((long)result
);
23742 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23745 char *kwnames
[] = {
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= wxGetLocalTimeMillis();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23758 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23759 hi
= PyLong_FromLong( (&result
)->GetHi() );
23760 lo
= PyLong_FromLong( (&result
)->GetLo() );
23761 shifter
= PyLong_FromLong(32);
23762 shifted
= PyNumber_Lshift(hi
, shifter
);
23763 resultobj
= PyNumber_Or(shifted
, lo
);
23766 Py_DECREF(shifter
);
23767 Py_DECREF(shifted
);
23775 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23776 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23781 static PyObject
*_wrap_DefaultDateTime_get() {
23784 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23789 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23792 wxDataFormat
*result
;
23793 PyObject
* obj0
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "type", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23799 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23815 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxString
*arg1
= 0 ;
23818 wxDataFormat
*result
;
23819 bool temp1
= False
;
23820 PyObject
* obj0
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "format", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23827 arg1
= wxString_in_helper(obj0
);
23828 if (arg1
== NULL
) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23853 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23855 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23856 PyObject
* obj0
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "self", NULL
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23879 PyObject
*resultobj
;
23880 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23886 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23908 PyObject
*resultobj
;
23909 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23915 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23936 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23937 PyObject
*resultobj
;
23938 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23939 wxDataFormat
*arg2
= 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23944 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23950 if (arg2
== NULL
) {
23951 PyErr_SetString(PyExc_TypeError
,"null reference");
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23970 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23975 argc
= PyObject_Length(args
);
23976 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23977 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23983 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23993 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24001 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24009 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24017 _v
= SWIG_CheckInt(argv
[1]);
24019 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24024 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24029 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24030 PyObject
*resultobj
;
24031 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24032 wxDataFormat
*arg2
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24037 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24043 if (arg2
== NULL
) {
24044 PyErr_SetString(PyExc_TypeError
,"null reference");
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24063 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24068 argc
= PyObject_Length(args
);
24069 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24070 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24076 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24086 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24094 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24102 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24110 _v
= SWIG_CheckInt(argv
[1]);
24112 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24117 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24122 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "format", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 (arg1
)->SetType((wxDataFormatId
)arg2
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_FromInt((int)result
);
24177 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= ((wxDataFormat
const *)arg1
)->GetId();
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24209 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24212 wxString
*arg2
= 0 ;
24213 bool temp2
= False
;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self",(char *) "format", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 arg2
= wxString_in_helper(obj1
);
24225 if (arg2
== NULL
) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->SetId((wxString
const &)*arg2
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 Py_INCREF(Py_None
); resultobj
= Py_None
;
24250 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24253 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24255 return Py_BuildValue((char *)"");
24257 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24258 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24263 static PyObject
*_wrap_FormatInvalid_get() {
24266 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24271 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24273 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "self", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 Py_INCREF(Py_None
); resultobj
= Py_None
;
24296 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24299 int arg2
= (int) wxDataObject::Get
;
24300 SwigValueWrapper
< wxDataFormat
> result
;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self",(char *) "dir", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24311 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 wxDataFormat
* resultptr
;
24323 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24332 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24335 int arg2
= (int) wxDataObject::Get
;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "dir", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24364 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24367 wxDataFormat
*arg2
= 0 ;
24368 int arg3
= (int) wxDataObject::Get
;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 PyObject
* obj2
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "self",(char *) "format",(char *) "dir", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24383 if (arg2
== NULL
) {
24384 PyErr_SetString(PyExc_TypeError
,"null reference");
24388 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24407 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24410 wxDataFormat
*arg2
= 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "format", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24424 if (arg2
== NULL
) {
24425 PyErr_SetString(PyExc_TypeError
,"null reference");
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24442 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24445 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24446 int arg3
= (int) wxDataObject::Get
;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 PyObject
* obj2
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "formats",(char *) "dir", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 Py_INCREF(Py_None
); resultobj
= Py_None
;
24477 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24480 wxDataFormat
*arg2
= 0 ;
24481 void *arg3
= (void *) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "format",(char *) "buf", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24496 if (arg2
== NULL
) {
24497 PyErr_SetString(PyExc_TypeError
,"null reference");
24500 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24517 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24520 wxDataFormat
*arg2
= 0 ;
24522 void *arg4
= (void *) 0 ;
24524 PyObject
* obj0
= 0 ;
24525 PyObject
* obj1
= 0 ;
24526 PyObject
* obj2
= 0 ;
24527 PyObject
* obj3
= 0 ;
24528 char *kwnames
[] = {
24529 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24538 if (arg2
== NULL
) {
24539 PyErr_SetString(PyExc_TypeError
,"null reference");
24542 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24544 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24561 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24564 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24566 return Py_BuildValue((char *)"");
24568 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24571 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24572 wxDataObjectSimple
*result
;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "format", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24583 if (arg1
== NULL
) {
24584 PyErr_SetString(PyExc_TypeError
,"null reference");
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24602 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24605 wxDataFormat
*result
;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24618 result
= (wxDataFormat
*) &_result_ref
;
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24631 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24634 wxDataFormat
*arg2
= 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "format", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24647 if (arg2
== NULL
) {
24648 PyErr_SetString(PyExc_TypeError
,"null reference");
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 Py_INCREF(Py_None
); resultobj
= Py_None
;
24665 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24668 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24670 return Py_BuildValue((char *)"");
24672 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24675 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24676 wxPyDataObjectSimple
*result
;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "format", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24687 if (arg1
== NULL
) {
24688 PyErr_SetString(PyExc_TypeError
,"null reference");
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24706 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24709 PyObject
*arg2
= (PyObject
*) 0 ;
24710 PyObject
*arg3
= (PyObject
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 PyObject
* obj2
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "self",(char *) "_class", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 Py_INCREF(Py_None
); resultobj
= Py_None
;
24737 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24740 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24742 return Py_BuildValue((char *)"");
24744 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxDataObjectComposite
*result
;
24747 char *kwnames
[] = {
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24766 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24769 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24770 int arg3
= (int) False
;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24782 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24784 arg3
= (int) SWIG_AsInt(obj2
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 (arg1
)->Add(arg2
,arg3
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 Py_INCREF(Py_None
); resultobj
= Py_None
;
24801 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24804 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24806 return Py_BuildValue((char *)"");
24808 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24810 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24811 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24812 wxTextDataObject
*result
;
24813 bool temp1
= False
;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "text", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24822 arg1
= wxString_in_helper(obj0
);
24823 if (arg1
== NULL
) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24849 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (size_t)(arg1
)->GetTextLength();
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24875 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (arg1
)->GetText();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24907 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24910 wxString
*arg2
= 0 ;
24911 bool temp2
= False
;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self",(char *) "text", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24922 arg2
= wxString_in_helper(obj1
);
24923 if (arg2
== NULL
) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 (arg1
)->SetText((wxString
const &)*arg2
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 Py_INCREF(Py_None
); resultobj
= Py_None
;
24948 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24951 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24953 return Py_BuildValue((char *)"");
24955 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24958 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24959 wxPyTextDataObject
*result
;
24960 bool temp1
= False
;
24961 PyObject
* obj0
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "text", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24969 arg1
= wxString_in_helper(obj0
);
24970 if (arg1
== NULL
) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24996 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24999 PyObject
*arg2
= (PyObject
*) 0 ;
25000 PyObject
*arg3
= (PyObject
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 PyObject
* obj2
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "self",(char *) "_class", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 Py_INCREF(Py_None
); resultobj
= Py_None
;
25027 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25030 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25032 return Py_BuildValue((char *)"");
25034 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
;
25036 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25037 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25038 wxBitmapDataObject
*result
;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "bitmap", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25049 if (arg1
== NULL
) {
25050 PyErr_SetString(PyExc_TypeError
,"null reference");
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25068 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
;
25070 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25072 PyObject
* obj0
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 wxBitmap
* resultptr
;
25089 resultptr
= new wxBitmap((wxBitmap
&) result
);
25090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25098 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25101 wxBitmap
*arg2
= 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "bitmap", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25114 if (arg2
== NULL
) {
25115 PyErr_SetString(PyExc_TypeError
,"null reference");
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 Py_INCREF(Py_None
); resultobj
= Py_None
;
25132 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25135 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25137 return Py_BuildValue((char *)"");
25139 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25142 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25143 wxPyBitmapDataObject
*result
;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "bitmap", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25154 if (arg1
== NULL
) {
25155 PyErr_SetString(PyExc_TypeError
,"null reference");
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25173 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25176 PyObject
*arg2
= (PyObject
*) 0 ;
25177 PyObject
*arg3
= (PyObject
*) 0 ;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 PyObject
* obj2
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self",(char *) "self",(char *) "_class", NULL
25185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 Py_INCREF(Py_None
); resultobj
= Py_None
;
25204 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25207 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25209 return Py_BuildValue((char *)"");
25211 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxFileDataObject
*result
;
25214 char *kwnames
[] = {
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (wxFileDataObject
*)new wxFileDataObject();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25233 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25236 wxArrayString
*result
;
25237 PyObject
* obj0
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25249 result
= (wxArrayString
*) &_result_ref
;
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= wxArrayString2PyList_helper(*result
);
25264 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25267 wxString
*arg2
= 0 ;
25268 bool temp2
= False
;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj1
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self",(char *) "filename", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25279 arg2
= wxString_in_helper(obj1
);
25280 if (arg2
== NULL
) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->AddFile((wxString
const &)*arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25305 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25308 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25310 return Py_BuildValue((char *)"");
25312 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25315 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25316 wxCustomDataObject
*result
;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "format", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25327 if (arg1
== NULL
) {
25328 PyErr_SetString(PyExc_TypeError
,"null reference");
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25346 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25349 PyObject
*arg2
= (PyObject
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "data", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 wxCustomDataObject_TakeData(arg1
,arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 Py_INCREF(Py_None
); resultobj
= Py_None
;
25374 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25377 PyObject
*arg2
= (PyObject
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self",(char *) "data", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25405 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (size_t)(arg1
)->GetSize();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25431 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25435 PyObject
* obj0
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= result
;
25457 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25460 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25462 return Py_BuildValue((char *)"");
25464 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxURLDataObject
*result
;
25467 char *kwnames
[] = {
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (wxURLDataObject
*)new wxURLDataObject();
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25486 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25490 PyObject
* obj0
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (arg1
)->GetURL();
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25518 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25521 wxString
*arg2
= 0 ;
25522 bool temp2
= False
;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 char *kwnames
[] = {
25526 (char *) "self",(char *) "url", NULL
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25533 arg2
= wxString_in_helper(obj1
);
25534 if (arg2
== NULL
) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 (arg1
)->SetURL((wxString
const &)*arg2
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 Py_INCREF(Py_None
); resultobj
= Py_None
;
25559 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25562 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25564 return Py_BuildValue((char *)"");
25566 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxMetafileDataObject
*result
;
25569 char *kwnames
[] = {
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25588 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25591 wxMetafile
*arg2
= 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "metafile", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25604 if (arg2
== NULL
) {
25605 PyErr_SetString(PyExc_TypeError
,"null reference");
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25626 PyObject
* obj0
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "self", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 wxMetafile
* resultptr
;
25643 resultptr
= new wxMetafile((wxMetafile
&) result
);
25644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25652 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25655 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25657 return Py_BuildValue((char *)"");
25659 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25663 PyObject
* obj0
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "res", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25669 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25687 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25690 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25691 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25692 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25693 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25694 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25695 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25696 wxPyDropSource
*result
;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 PyObject
* obj2
= 0 ;
25700 PyObject
* obj3
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25712 if (arg2
== NULL
) {
25713 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg3
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25727 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25730 if (arg4
== NULL
) {
25731 PyErr_SetString(PyExc_TypeError
,"null reference");
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25749 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25752 PyObject
*arg2
= (PyObject
*) 0 ;
25753 PyObject
*arg3
= (PyObject
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25768 arg4
= (int) SWIG_AsInt(obj3
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25772 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 Py_INCREF(Py_None
); resultobj
= Py_None
;
25784 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25787 PyObject
* obj0
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 Py_INCREF(Py_None
); resultobj
= Py_None
;
25809 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25812 wxDataObject
*arg2
= 0 ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "data", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25825 if (arg2
== NULL
) {
25826 PyErr_SetString(PyExc_TypeError
,"null reference");
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 (arg1
)->SetData(*arg2
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 Py_INCREF(Py_None
); resultobj
= Py_None
;
25843 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25846 wxDataObject
*result
;
25847 PyObject
* obj0
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25869 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25873 wxCursor
*arg3
= 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 PyObject
* obj2
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self",(char *) "res",(char *) "cursor", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25886 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25889 if (arg3
== NULL
) {
25890 PyErr_SetString(PyExc_TypeError
,"null reference");
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 Py_INCREF(Py_None
); resultobj
= Py_None
;
25907 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25910 int arg2
= (int) wxDrag_CopyOnly
;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "flags", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 arg2
= (int) SWIG_AsInt(obj1
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= (int)(arg1
)->DoDragDrop(arg2
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_FromInt((int)result
);
25939 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self",(char *) "effect", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25971 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25974 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25976 return Py_BuildValue((char *)"");
25978 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25981 wxPyDropTarget
*result
;
25982 PyObject
* obj0
= 0 ;
25983 char *kwnames
[] = {
25984 (char *) "dataObject", NULL
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25990 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26006 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26009 PyObject
*arg2
= (PyObject
*) 0 ;
26010 PyObject
*arg3
= (PyObject
*) 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 PyObject
* obj2
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "self",(char *) "_class", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 Py_INCREF(Py_None
); resultobj
= Py_None
;
26037 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 Py_INCREF(Py_None
); resultobj
= Py_None
;
26062 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26065 wxDataObject
*result
;
26066 PyObject
* obj0
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26088 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26091 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self",(char *) "dataObject", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26102 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 (arg1
)->SetDataObject(arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 Py_INCREF(Py_None
); resultobj
= Py_None
;
26117 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
;
26119 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 PyObject
* obj2
= 0 ;
26127 PyObject
* obj3
= 0 ;
26128 char *kwnames
[] = {
26129 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26135 arg2
= (int) SWIG_AsInt(obj1
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26137 arg3
= (int) SWIG_AsInt(obj2
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26139 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= SWIG_FromInt((int)result
);
26155 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 PyObject
* obj2
= 0 ;
26165 PyObject
* obj3
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26173 arg2
= (int) SWIG_AsInt(obj1
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26175 arg3
= (int) SWIG_AsInt(obj2
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26177 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= SWIG_FromInt((int)result
);
26193 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 (arg1
)->base_OnLeave();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 Py_INCREF(Py_None
); resultobj
= Py_None
;
26218 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 PyObject
* obj2
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "x",(char *) "y", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 arg2
= (int) SWIG_AsInt(obj1
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26236 arg3
= (int) SWIG_AsInt(obj2
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26254 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
;
26256 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26258 PyObject
* obj0
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= (bool)(arg1
)->GetData();
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26282 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26285 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26287 return Py_BuildValue((char *)"");
26289 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxPyTextDropTarget
*result
;
26292 char *kwnames
[] = {
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26311 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26314 PyObject
*arg2
= (PyObject
*) 0 ;
26315 PyObject
*arg3
= (PyObject
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "self",(char *) "_class", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 Py_INCREF(Py_None
); resultobj
= Py_None
;
26342 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 PyObject
* obj2
= 0 ;
26352 PyObject
* obj3
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26360 arg2
= (int) SWIG_AsInt(obj1
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26362 arg3
= (int) SWIG_AsInt(obj2
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26364 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_FromInt((int)result
);
26380 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 PyObject
* obj2
= 0 ;
26390 PyObject
* obj3
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 arg2
= (int) SWIG_AsInt(obj1
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26400 arg3
= (int) SWIG_AsInt(obj2
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26402 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_FromInt((int)result
);
26418 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->base_OnLeave();
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 PyObject
* obj2
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "x",(char *) "y", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 arg2
= (int) SWIG_AsInt(obj1
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26461 arg3
= (int) SWIG_AsInt(obj2
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26479 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26486 PyObject
* obj0
= 0 ;
26487 PyObject
* obj1
= 0 ;
26488 PyObject
* obj2
= 0 ;
26489 PyObject
* obj3
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26497 arg2
= (int) SWIG_AsInt(obj1
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26499 arg3
= (int) SWIG_AsInt(obj2
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26501 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_FromInt((int)result
);
26517 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26520 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26522 return Py_BuildValue((char *)"");
26524 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxPyFileDropTarget
*result
;
26527 char *kwnames
[] = {
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26546 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
;
26548 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26549 PyObject
*arg2
= (PyObject
*) 0 ;
26550 PyObject
*arg3
= (PyObject
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 PyObject
* obj2
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self",(char *) "self",(char *) "_class", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 Py_INCREF(Py_None
); resultobj
= Py_None
;
26577 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 PyObject
* obj2
= 0 ;
26587 PyObject
* obj3
= 0 ;
26588 char *kwnames
[] = {
26589 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 arg2
= (int) SWIG_AsInt(obj1
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26597 arg3
= (int) SWIG_AsInt(obj2
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26599 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_FromInt((int)result
);
26615 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 PyObject
* obj2
= 0 ;
26625 PyObject
* obj3
= 0 ;
26626 char *kwnames
[] = {
26627 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26633 arg2
= (int) SWIG_AsInt(obj1
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26635 arg3
= (int) SWIG_AsInt(obj2
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26637 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_FromInt((int)result
);
26653 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 char *kwnames
[] = {
26658 (char *) "self", NULL
26661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 (arg1
)->base_OnLeave();
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 Py_INCREF(Py_None
); resultobj
= Py_None
;
26678 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 PyObject
* obj2
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self",(char *) "x",(char *) "y", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26694 arg2
= (int) SWIG_AsInt(obj1
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26696 arg3
= (int) SWIG_AsInt(obj2
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26714 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 PyObject
* obj2
= 0 ;
26724 PyObject
* obj3
= 0 ;
26725 char *kwnames
[] = {
26726 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26732 arg2
= (int) SWIG_AsInt(obj1
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26734 arg3
= (int) SWIG_AsInt(obj2
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26736 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= SWIG_FromInt((int)result
);
26752 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26755 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26757 return Py_BuildValue((char *)"");
26759 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
;
26761 wxClipboard
*result
;
26762 char *kwnames
[] = {
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (wxClipboard
*)new wxClipboard();
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26781 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26784 PyObject
* obj0
= 0 ;
26785 char *kwnames
[] = {
26786 (char *) "self", NULL
26789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (bool)(arg1
)->Open();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26834 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26837 PyObject
* obj0
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 Py_INCREF(Py_None
); resultobj
= Py_None
;
26859 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26887 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26890 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26892 PyObject
* obj0
= 0 ;
26893 PyObject
* obj1
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self",(char *) "data", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26902 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (bool)(arg1
)->AddData(arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26919 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26922 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "data", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26934 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (bool)(arg1
)->SetData(arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26951 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26954 wxDataFormat
*arg2
= 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "format", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26968 if (arg2
== NULL
) {
26969 PyErr_SetString(PyExc_TypeError
,"null reference");
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26988 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26991 wxDataObject
*arg2
= 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "data", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27005 if (arg2
== NULL
) {
27006 PyErr_SetString(PyExc_TypeError
,"null reference");
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (bool)(arg1
)->GetData(*arg2
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27025 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 Py_INCREF(Py_None
); resultobj
= Py_None
;
27050 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27054 PyObject
* obj0
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= (bool)(arg1
)->Flush();
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27078 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
;
27080 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27081 bool arg2
= (bool) True
;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self",(char *) "primary", NULL
27088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27092 arg2
= (bool) SWIG_AsBool(obj1
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 (arg1
)->UsePrimarySelection(arg2
);
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 Py_INCREF(Py_None
); resultobj
= Py_None
;
27109 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27112 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27114 return Py_BuildValue((char *)"");
27116 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27117 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27122 static PyObject
*_wrap_TheClipboard_get() {
27125 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27130 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27133 wxClipboardLocker
*result
;
27134 PyObject
* obj0
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "clipboard", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27158 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 char *kwnames
[] = {
27163 (char *) "self", NULL
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 Py_INCREF(Py_None
); resultobj
= Py_None
;
27183 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27211 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27214 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27216 return Py_BuildValue((char *)"");
27218 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 int arg1
= (int) 0 ;
27221 int arg2
= (int) 0 ;
27222 int arg3
= (int) 0 ;
27223 int arg4
= (int) 0 ;
27224 wxVideoMode
*result
;
27225 PyObject
* obj0
= 0 ;
27226 PyObject
* obj1
= 0 ;
27227 PyObject
* obj2
= 0 ;
27228 PyObject
* obj3
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27235 arg1
= (int) SWIG_AsInt(obj0
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 arg2
= (int) SWIG_AsInt(obj1
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27243 arg3
= (int) SWIG_AsInt(obj2
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 arg4
= (int) SWIG_AsInt(obj3
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27264 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 Py_INCREF(Py_None
); resultobj
= Py_None
;
27289 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27292 wxVideoMode
*arg2
= 0 ;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self",(char *) "other", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27306 if (arg2
== NULL
) {
27307 PyErr_SetString(PyExc_TypeError
,"null reference");
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27326 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_FromInt((int)result
);
27352 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27356 PyObject
* obj0
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= SWIG_FromInt((int)result
);
27378 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27382 PyObject
* obj0
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "self", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_FromInt((int)result
);
27404 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27408 PyObject
* obj0
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27432 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27435 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27437 PyObject
* obj0
= 0 ;
27438 PyObject
* obj1
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self",(char *) "other", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27464 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27467 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27469 PyObject
* obj0
= 0 ;
27470 PyObject
* obj1
= 0 ;
27471 char *kwnames
[] = {
27472 (char *) "self",(char *) "other", NULL
27475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27496 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
;
27498 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27500 PyObject
* obj0
= 0 ;
27501 PyObject
* obj1
= 0 ;
27502 char *kwnames
[] = {
27503 (char *) "self",(char *) "w", NULL
27506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27509 arg2
= (int) SWIG_AsInt(obj1
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27511 if (arg1
) (arg1
)->w
= arg2
;
27513 Py_INCREF(Py_None
); resultobj
= Py_None
;
27520 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
;
27522 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27524 PyObject
* obj0
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27532 result
= (int) ((arg1
)->w
);
27534 resultobj
= SWIG_FromInt((int)result
);
27541 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 PyObject
* obj1
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self",(char *) "h", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 arg2
= (int) SWIG_AsInt(obj1
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27556 if (arg1
) (arg1
)->h
= arg2
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 result
= (int) ((arg1
)->h
);
27579 resultobj
= SWIG_FromInt((int)result
);
27586 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
;
27588 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self",(char *) "bpp", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 arg2
= (int) SWIG_AsInt(obj1
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27601 if (arg1
) (arg1
)->bpp
= arg2
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27622 result
= (int) ((arg1
)->bpp
);
27624 resultobj
= SWIG_FromInt((int)result
);
27631 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self",(char *) "refresh", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27644 arg2
= (int) SWIG_AsInt(obj1
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27646 if (arg1
) (arg1
)->refresh
= arg2
;
27648 Py_INCREF(Py_None
); resultobj
= Py_None
;
27655 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27667 result
= (int) ((arg1
)->refresh
);
27669 resultobj
= SWIG_FromInt((int)result
);
27676 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27679 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27681 return Py_BuildValue((char *)"");
27683 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27684 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27689 static PyObject
*_wrap_DefaultVideoMode_get() {
27692 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27697 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 size_t arg1
= (size_t) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "index", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27708 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (wxDisplay
*)new wxDisplay(arg1
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27725 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27728 PyObject
* obj0
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "self", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27743 Py_INCREF(Py_None
); resultobj
= Py_None
;
27750 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27751 PyObject
*resultobj
;
27753 char *kwnames
[] = {
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 result
= (size_t)wxDisplay::GetCount();
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27772 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
;
27774 wxPoint
*arg1
= 0 ;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "pt", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27785 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= SWIG_FromInt((int)result
);
27801 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxWindow
*arg1
= (wxWindow
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "window", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (int)wxDisplay::GetFromWindow(arg1
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= SWIG_FromInt((int)result
);
27827 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "self", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27855 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27859 PyObject
* obj0
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "self", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27875 wxRect
* resultptr
;
27876 resultptr
= new wxRect((wxRect
&) result
);
27877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27885 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27889 PyObject
* obj0
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 result
= ((wxDisplay
const *)arg1
)->GetName();
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27917 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
;
27919 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27921 PyObject
* obj0
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27945 static PyObject
*_wrap_Display_GetModes(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_GetModes",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
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= result
;
27983 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
;
27985 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27986 wxVideoMode result
;
27987 PyObject
* obj0
= 0 ;
27988 char *kwnames
[] = {
27989 (char *) "self", NULL
27992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28003 wxVideoMode
* resultptr
;
28004 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28013 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
;
28015 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28016 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28017 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self",(char *) "mode", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28032 if (arg2
== NULL
) {
28033 PyErr_SetString(PyExc_TypeError
,"null reference");
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28053 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28056 PyObject
* obj0
= 0 ;
28057 char *kwnames
[] = {
28058 (char *) "self", NULL
28061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->ResetMode();
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28078 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28081 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28083 return Py_BuildValue((char *)"");
28085 static PyMethodDef SwigMethods
[] = {
28086 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28093 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28100 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28160 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28168 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28184 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28189 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28192 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28195 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28201 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28215 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28221 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28227 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28230 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28243 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28246 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28247 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28250 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28277 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28279 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28281 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28283 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28290 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28296 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28309 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28314 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28317 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28334 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28342 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28388 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28416 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28417 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28419 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28421 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28422 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28424 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28440 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28456 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28470 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28479 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28522 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28525 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28528 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28532 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28624 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28625 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28626 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28627 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28628 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28629 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28630 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28631 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28632 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28633 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28644 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28689 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28723 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28731 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28732 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28737 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28746 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28750 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28753 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28756 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28761 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28764 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28768 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28771 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28775 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28781 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28785 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28789 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28799 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28810 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28818 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28826 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28839 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28843 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28861 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28879 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28881 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28882 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28884 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28885 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28887 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28888 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28890 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28891 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28893 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28894 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28896 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28897 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28899 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28900 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28902 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28903 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28905 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28908 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28909 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28911 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28914 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28915 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28917 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28918 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28920 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28923 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28924 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28926 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28927 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28929 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28930 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28932 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28933 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28935 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28936 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28938 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28939 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28941 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28942 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28944 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28945 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28947 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28948 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28950 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28951 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28953 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28954 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28956 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28957 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28959 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28960 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28962 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28963 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28965 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28966 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28968 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28969 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28971 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28972 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28974 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28975 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28977 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28978 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28980 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28983 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28984 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28986 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28987 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28989 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28990 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28992 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28993 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28995 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28996 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28998 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28999 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29001 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29002 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29004 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29005 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29007 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29008 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29010 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29011 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29013 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29014 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29016 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29017 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29019 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29020 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29022 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29023 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29025 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29026 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29028 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29029 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29031 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29032 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29034 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29035 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29037 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29038 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29040 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29041 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29043 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29044 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29046 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29047 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29049 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29050 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29052 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29053 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29055 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29056 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29058 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29059 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29061 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29062 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29064 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29065 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29067 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29068 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29070 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29071 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29073 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29076 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29077 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29079 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29080 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29082 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29083 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29085 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29086 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29088 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29089 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29091 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29092 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29094 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29095 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29097 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29098 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29100 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29103 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29106 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29109 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29112 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29115 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29118 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29121 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) ((wxSizer
*) x
));
29124 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29127 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29130 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29133 static void *_p_wxEventTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) ((wxEvent
*) x
));
29136 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29139 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29142 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29145 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29148 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29151 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29154 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29157 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29160 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29163 static void *_p_wxControlTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29166 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29169 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29172 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29175 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29178 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29181 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29184 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29187 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29190 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29193 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29196 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29199 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29202 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29205 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29208 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29211 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29214 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29217 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29220 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29223 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29226 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29229 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29232 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29235 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29238 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29241 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29244 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29247 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29250 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29253 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29256 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29259 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29262 static void *_p_wxImageTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) ((wxImage
*) x
));
29265 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29268 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29271 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29274 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29277 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29280 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29283 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29286 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29289 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29292 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29295 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29298 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29301 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29304 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29307 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29310 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29313 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29316 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29319 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29322 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29325 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29328 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29331 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29334 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29337 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29340 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29343 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29346 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29349 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29350 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29352 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29353 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29355 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29356 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29358 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29359 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29361 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29362 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29364 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29365 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29367 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29368 return (void *)((wxWindow
*) ((wxControl
*) x
));
29370 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29371 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29373 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29374 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29376 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29377 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29379 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29380 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29382 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}};
29383 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}};
29384 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29470 static swig_type_info
*swig_types_initial
[] = {
29471 _swigt__p_wxLogChain
,
29472 _swigt__p_wxMutexGuiLocker
,
29473 _swigt__p_wxMetafile
,
29474 _swigt__p_wxFileHistory
,
29476 _swigt__p_wxDateTime__TimeZone
,
29479 _swigt__p_wxConfigBase
,
29480 _swigt__p_wxDisplay
,
29481 _swigt__p_wxFileType
,
29482 _swigt__p_wxLogGui
,
29484 _swigt__p_wxDataFormat
,
29485 _swigt__p_wxTimerEvent
,
29489 _swigt__p_wxClipboard
,
29490 _swigt__p_wxStopWatch
,
29492 _swigt__p_wxClipboardLocker
,
29494 _swigt__p_wxLogStderr
,
29495 _swigt__p_wxLogTextCtrl
,
29496 _swigt__p_wxTextCtrl
,
29497 _swigt__p_wxBusyCursor
,
29498 _swigt__p_wxPyTextDataObject
,
29499 _swigt__p_wxBitmapDataObject
,
29500 _swigt__p_wxTextDataObject
,
29501 _swigt__p_wxDataObject
,
29502 _swigt__p_wxPyBitmapDataObject
,
29503 _swigt__p_wxFileDataObject
,
29504 _swigt__p_wxCustomDataObject
,
29505 _swigt__p_wxURLDataObject
,
29506 _swigt__p_wxMetafileDataObject
,
29508 _swigt__p_wxTimerRunner
,
29509 _swigt__p_wxLogWindow
,
29510 _swigt__p_wxTimeSpan
,
29511 _swigt__p_wxArrayString
,
29512 _swigt__p_wxWindowDisabler
,
29513 _swigt__p_wxToolTip
,
29514 _swigt__p_wxDataObjectComposite
,
29515 _swigt__p_wxFileConfig
,
29516 _swigt__p_wxSystemSettings
,
29517 _swigt__p_wxVideoMode
,
29518 _swigt__p_wxPyDataObjectSimple
,
29519 _swigt__p_wxDataObjectSimple
,
29520 _swigt__p_wxEvtHandler
,
29523 _swigt__p_wxSingleInstanceChecker
,
29524 _swigt__p_wxFileTypeInfo
,
29527 _swigt__p_wxMimeTypesManager
,
29528 _swigt__p_wxPyArtProvider
,
29529 _swigt__p_wxPyTipProvider
,
29530 _swigt__p_wxTipProvider
,
29531 _swigt__p_wxJoystick
,
29532 _swigt__p_wxSystemOptions
,
29534 _swigt__p_wxJoystickEvent
,
29535 _swigt__p_wxCursor
,
29536 _swigt__p_wxObject
,
29537 _swigt__p_wxOutputStream
,
29538 _swigt__p_wxDateTime
,
29539 _swigt__p_wxPyDropSource
,
29540 _swigt__p_wxWindow
,
29541 _swigt__p_wxString
,
29542 _swigt__p_wxPyProcess
,
29543 _swigt__p_wxBitmap
,
29544 _swigt__p_wxConfig
,
29546 _swigt__p_wxBusyInfo
,
29547 _swigt__p_wxPyDropTarget
,
29548 _swigt__p_wxPyTextDropTarget
,
29549 _swigt__p_wxPyFileDropTarget
,
29550 _swigt__p_wxProcessEvent
,
29552 _swigt__p_wxLogNull
,
29553 _swigt__p_wxColour
,
29555 _swigt__p_wxConfigPathChanger
,
29556 _swigt__p_wxPyTimer
,
29557 _swigt__p_wxDateSpan
,
29562 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29564 static swig_const_info swig_const_table
[] = {
29565 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29566 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29567 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29568 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29569 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29579 SWIGEXPORT(void) SWIG_init(void) {
29580 static PyObject
*SWIG_globals
= 0;
29581 static int typeinit
= 0;
29584 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29585 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29586 d
= PyModule_GetDict(m
);
29589 for (i
= 0; swig_types_initial
[i
]; i
++) {
29590 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29594 SWIG_InstallConstants(d
,swig_const_table
);
29596 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29597 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29598 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29599 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29600 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29601 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29602 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29603 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29604 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29624 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29625 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29626 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29627 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29628 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29629 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29630 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29631 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29632 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29633 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29634 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29635 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29636 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29637 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29638 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29639 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29640 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29641 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29642 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29643 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29644 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29645 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29646 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29647 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29648 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29649 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29650 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29651 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29652 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29653 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29654 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29655 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29656 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29657 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29658 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29659 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29660 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29661 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29662 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29663 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29664 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29665 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29666 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29667 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29668 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29669 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29670 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29671 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29672 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29673 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29674 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29675 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29676 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29677 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29678 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29679 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29680 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29681 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29682 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29683 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29684 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29685 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29686 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29687 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29688 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29689 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29690 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29691 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29692 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29693 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29694 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29695 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29696 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29697 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29698 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29699 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29700 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29701 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29702 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29703 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29704 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29705 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29706 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29707 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29708 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29709 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29710 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29711 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29712 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29713 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29714 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29715 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29716 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29717 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29718 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29719 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29720 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29721 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29722 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29723 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29724 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29725 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29726 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29727 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29728 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29729 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29730 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29731 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29732 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29733 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29734 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29735 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29736 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29737 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29738 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29739 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29740 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29741 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29742 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29743 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29744 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29745 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29747 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29749 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29750 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29751 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29752 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29753 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29754 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29755 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29756 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29757 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29758 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29759 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29760 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29761 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29762 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29763 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29764 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29765 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29766 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29767 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29768 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29799 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29803 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29804 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29805 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29806 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29808 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29810 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29811 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29812 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29813 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29814 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29815 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29816 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29817 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29818 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29819 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29820 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29821 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29822 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29823 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29824 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29825 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29826 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29827 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29828 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29829 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29830 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29831 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29832 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29833 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29834 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29835 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29836 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29837 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29838 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29839 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29840 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29841 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29842 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29843 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29844 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29845 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29846 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29847 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29848 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29849 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29850 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29851 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29852 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29853 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29854 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29855 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29856 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29857 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29858 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29859 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29860 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29861 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29862 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29863 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29864 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29865 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29866 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29867 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29868 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29869 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29870 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29871 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29872 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29873 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29874 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29920 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29921 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29922 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29923 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29924 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29925 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29926 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29927 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29928 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29929 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29930 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29931 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29932 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29933 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29934 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29935 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29936 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29937 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29938 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29939 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29940 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29941 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29942 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29943 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29944 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29945 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29946 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29947 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29948 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29949 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29950 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29951 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29952 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29953 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29954 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29955 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29956 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29957 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29958 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29959 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29960 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29961 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29962 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29963 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29964 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29965 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29966 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29967 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29968 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29969 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29970 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29971 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29972 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29973 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29974 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29975 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29976 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29977 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29978 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29979 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29980 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29981 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29982 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29983 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29984 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29985 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29986 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29987 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29988 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29989 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29990 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29991 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29992 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29993 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29994 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29995 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29996 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29997 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29998 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29999 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30000 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30001 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30002 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30003 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30004 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30005 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30006 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30007 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30008 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30009 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30011 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30012 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30013 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30014 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30016 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30017 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);